comparison pidgin/plugins/pidgininc.c @ 25120:eebd46227f50

s/pidgindialogs_about/pidgin_dialogs_about/ to fix compiling also add some missing padding from the PluginInfo struct to silence a warning.
author Etan Reisner <pidgin@unreliablesource.net>
date Wed, 18 Feb 2009 03:39:47 +0000
parents 3cc856ca2338
children b93f3d152de6
comparison
equal deleted inserted replaced
25119:62de664662b1 25120:eebd46227f50
4 #include "account.h" 4 #include "account.h"
5 #include "connection.h" 5 #include "connection.h"
6 #include "conversation.h" 6 #include "conversation.h"
7 #include "version.h" 7 #include "version.h"
8 8
9 /* include UI for pidgindialogs_about() */ 9 /* include UI for pidgin_dialogs_about() */
10 #include "gtkplugin.h" 10 #include "gtkplugin.h"
11 #include "gtkdialogs.h" 11 #include "gtkdialogs.h"
12 12
13 #define PURPLEINC_PLUGIN_ID "core-purpleinc" 13 #define PURPLEINC_PLUGIN_ID "core-purpleinc"
14 14
15 static void 15 static void
16 echo_hi(PurpleConnection *gc) 16 echo_hi(PurpleConnection *gc)
17 { 17 {
18 /* this doesn't do much, just lets you know who we are :) */ 18 /* this doesn't do much, just lets you know who we are :) */
19 pidgindialogs_about(); 19 pidgin_dialogs_about();
20 } 20 }
21 21
22 static gboolean 22 static gboolean
23 reverse(PurpleAccount *account, char **who, char **message, 23 reverse(PurpleAccount *account, char **who, char **message,
24 PurpleConversation *conv, int *flags) 24 PurpleConversation *conv, int *flags)
106 NULL, /**< destroy */ 106 NULL, /**< destroy */
107 107
108 NULL, /**< ui_info */ 108 NULL, /**< ui_info */
109 NULL, /**< extra_info */ 109 NULL, /**< extra_info */
110 NULL, /**< prefs_info */ 110 NULL, /**< prefs_info */
111 NULL /**< actions */ 111 NULL, /**< actions */
112
113 /* padding */
114 NULL,
115 NULL,
116 NULL,
117 NULL
112 }; 118 };
113 119
114 static void 120 static void
115 init_plugin(PurplePlugin *plugin) 121 init_plugin(PurplePlugin *plugin)
116 { 122 {