| 54 |
54 |
| 55 /************************************************************************** |
55 /************************************************************************** |
| 56 * Conversation subsystem signal callbacks |
56 * Conversation subsystem signal callbacks |
| 57 **************************************************************************/ |
57 **************************************************************************/ |
| 58 static void |
58 static void |
| 59 conversation_dragging_cb(GaimGtkWindow *source, GaimGtkWindow *destination) { |
59 conversation_dragging_cb(PidginWindow *source, PidginWindow *destination) { |
| 60 gaim_debug_info("gtk-signal-test", "conversation dragging cb\n"); |
60 gaim_debug_info("gtk-signal-test", "conversation dragging cb\n"); |
| 61 } |
61 } |
| 62 |
62 |
| 63 static gboolean |
63 static gboolean |
| 64 displaying_im_msg_cb(GaimAccount *account, const char *who, char **buffer, |
64 displaying_im_msg_cb(GaimAccount *account, const char *who, char **buffer, |
| 107 * Plugin stuff |
107 * Plugin stuff |
| 108 **************************************************************************/ |
108 **************************************************************************/ |
| 109 static gboolean |
109 static gboolean |
| 110 plugin_load(GaimPlugin *plugin) |
110 plugin_load(GaimPlugin *plugin) |
| 111 { |
111 { |
| 112 void *accounts_handle = gaim_gtk_account_get_handle(); |
112 void *accounts_handle = pidgin_account_get_handle(); |
| 113 void *blist_handle = gaim_gtk_blist_get_handle(); |
113 void *blist_handle = pidgin_blist_get_handle(); |
| 114 void *conv_handle = gaim_gtk_conversations_get_handle(); |
114 void *conv_handle = pidgin_conversations_get_handle(); |
| 115 |
115 |
| 116 /* Accounts subsystem signals */ |
116 /* Accounts subsystem signals */ |
| 117 gaim_signal_connect(accounts_handle, "account-modified", |
117 gaim_signal_connect(accounts_handle, "account-modified", |
| 118 plugin, GAIM_CALLBACK(account_modified_cb), NULL); |
118 plugin, GAIM_CALLBACK(account_modified_cb), NULL); |
| 119 |
119 |
| 149 { |
149 { |
| 150 GAIM_PLUGIN_MAGIC, |
150 GAIM_PLUGIN_MAGIC, |
| 151 GAIM_MAJOR_VERSION, |
151 GAIM_MAJOR_VERSION, |
| 152 GAIM_MINOR_VERSION, |
152 GAIM_MINOR_VERSION, |
| 153 GAIM_PLUGIN_STANDARD, /**< type */ |
153 GAIM_PLUGIN_STANDARD, /**< type */ |
| 154 GAIM_GTK_PLUGIN_TYPE, /**< ui_requirement */ |
154 PIDGIN_PLUGIN_TYPE, /**< ui_requirement */ |
| 155 0, /**< flags */ |
155 0, /**< flags */ |
| 156 NULL, /**< dependencies */ |
156 NULL, /**< dependencies */ |
| 157 GAIM_PRIORITY_DEFAULT, /**< priority */ |
157 GAIM_PRIORITY_DEFAULT, /**< priority */ |
| 158 |
158 |
| 159 GTK_SIGNAL_TEST_PLUGIN_ID, /**< id */ |
159 GTK_SIGNAL_TEST_PLUGIN_ID, /**< id */ |