Mercurial > pidgin
comparison libpurple/plugins/pluginpref_example.c @ 16710:d638845509fd
Add padding to structs as necessary to silence compiler warnings
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Mon, 30 Apr 2007 17:53:27 +0000 |
| parents | f8eb3e7c4fbd |
| children | 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
| 16709:97b359b04999 | 16710:d638845509fd |
|---|---|
| 108 } | 108 } |
| 109 | 109 |
| 110 static PurplePluginUiInfo prefs_info = { | 110 static PurplePluginUiInfo prefs_info = { |
| 111 get_plugin_pref_frame, | 111 get_plugin_pref_frame, |
| 112 0, /* page_num (Reserved) */ | 112 0, /* page_num (Reserved) */ |
| 113 NULL /* frame (Reserved) */ | 113 NULL, /* frame (Reserved) */ |
| 114 /* Padding */ | |
| 115 NULL, | |
| 116 NULL, | |
| 117 NULL, | |
| 118 NULL | |
| 114 }; | 119 }; |
| 115 | 120 |
| 116 static PurplePluginInfo info = | 121 static PurplePluginInfo info = |
| 117 { | 122 { |
| 118 PURPLE_PLUGIN_MAGIC, | 123 PURPLE_PLUGIN_MAGIC, |
| 139 NULL, /**< destroy */ | 144 NULL, /**< destroy */ |
| 140 | 145 |
| 141 NULL, /**< ui_info */ | 146 NULL, /**< ui_info */ |
| 142 NULL, /**< extra_info */ | 147 NULL, /**< extra_info */ |
| 143 &prefs_info, /**< prefs_info */ | 148 &prefs_info, /**< prefs_info */ |
| 149 NULL, /**< actions */ | |
| 150 /* padding */ | |
| 151 NULL, | |
| 152 NULL, | |
| 153 NULL, | |
| 144 NULL | 154 NULL |
| 145 }; | 155 }; |
| 146 | 156 |
| 147 static void | 157 static void |
| 148 init_plugin(PurplePlugin *plugin) | 158 init_plugin(PurplePlugin *plugin) |
