libpurple/protocols/mxit/mxit.c

branch
soc.2013.gobjectification.plugins
changeset 36642
b8ba53daa445
parent 36638
5f6dcd83e8c1
child 36653
4084c34c051d
equal deleted inserted replaced
36641:9207558f0ad3 36642:b8ba53daa445
826 * @param error Query error (if any) 826 * @param error Query error (if any)
827 */ 827 */
828 static PurplePluginInfo * 828 static PurplePluginInfo *
829 plugin_query( GError **error ) 829 plugin_query( GError **error )
830 { 830 {
831 const gchar * const authors[] = MXIT_PLUGIN_AUTHORS;
832
831 return purple_plugin_info_new( 833 return purple_plugin_info_new(
832 "id", MXIT_PLUGIN_ID, /* plugin id (must be unique) */ 834 "id", MXIT_PLUGIN_ID, /* plugin id (must be unique) */
833 "name", MXIT_PLUGIN_NAME, /* plugin name (this will be displayed in the UI) */ 835 "name", MXIT_PLUGIN_NAME, /* plugin name (this will be displayed in the UI) */
834 "version", DISPLAY_VERSION, /* version of the plugin */ 836 "version", DISPLAY_VERSION, /* version of the plugin */
835 "category", MXIT_PLUGIN_CATEGORY, /* category of the plugin */ 837 "category", MXIT_PLUGIN_CATEGORY, /* category of the plugin */
836 "summary", MXIT_PLUGIN_SUMMARY, /* short summary of the plugin */ 838 "summary", MXIT_PLUGIN_SUMMARY, /* short summary of the plugin */
837 "description", MXIT_PLUGIN_DESC, /* description of the plugin (can be long) */ 839 "description", MXIT_PLUGIN_DESC, /* description of the plugin (can be long) */
838 "author", MXIT_PLUGIN_AUTHOR, /* plugin author name and email address */ 840 "authors", authors, /* plugin authors' name and email addresses */
839 "website", MXIT_PLUGIN_WWW, /* plugin website (to find new versions and reporting of bugs) */ 841 "website", MXIT_PLUGIN_WWW, /* plugin website (to find new versions and reporting of bugs) */
840 "abi-version", PURPLE_ABI_VERSION, /* ABI version required by the plugin */ 842 "abi-version", PURPLE_ABI_VERSION, /* ABI version required by the plugin */
841 "flags", GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL | 843 "flags", GPLUGIN_PLUGIN_INFO_FLAGS_INTERNAL |
842 GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY, 844 GPLUGIN_PLUGIN_INFO_FLAGS_LOAD_ON_QUERY,
843 NULL 845 NULL

mercurial