pidgin/plugins/sendbutton.c

branch
soc.2013.gobjectification
changeset 34655
6a939719ea98
parent 34622
753f46dd000f
child 36758
deee438dc431
equal deleted inserted replaced
34654:adffcd91c9a3 34655:6a939719ea98
115 } 115 }
116 116
117 static gboolean 117 static gboolean
118 plugin_load(PurplePlugin *plugin) 118 plugin_load(PurplePlugin *plugin)
119 { 119 {
120 GList *convs = purple_conversations_get(); 120 GList *convs = purple_conversations_get_all();
121 void *gtk_conv_handle = pidgin_conversations_get_handle(); 121 void *gtk_conv_handle = pidgin_conversations_get_handle();
122 122
123 purple_signal_connect(gtk_conv_handle, "conversation-displayed", plugin, 123 purple_signal_connect(gtk_conv_handle, "conversation-displayed", plugin,
124 PURPLE_CALLBACK(conversation_displayed_cb), NULL); 124 PURPLE_CALLBACK(conversation_displayed_cb), NULL);
125 /* 125 /*
143 } 143 }
144 144
145 static gboolean 145 static gboolean
146 plugin_unload(PurplePlugin *plugin) 146 plugin_unload(PurplePlugin *plugin)
147 { 147 {
148 GList *convs = purple_conversations_get(); 148 GList *convs = purple_conversations_get_all();
149 149
150 while (convs) { 150 while (convs) {
151 PurpleConversation *conv = (PurpleConversation *)convs->data; 151 PurpleConversation *conv = (PurpleConversation *)convs->data;
152 152
153 /* Remove Send button */ 153 /* Remove Send button */

mercurial