pidgin/plugins/unity.c

branch
soc.2013.gobjectification.plugins
changeset 37123
9c245220151d
parent 37110
4309235d2a46
parent 35610
24b06c5e7760
child 37148
50f361d39a1e
equal deleted inserted replaced
37122:f1bfe17ccfd2 37123:9c245220151d
138 138
139 static int 139 static int
140 alert(PurpleConversation *conv) 140 alert(PurpleConversation *conv)
141 { 141 {
142 gint count; 142 gint count;
143 PidginWindow *purplewin = NULL; 143 PidginConvWindow *purplewin = NULL;
144 if (conv == NULL || PIDGIN_CONVERSATION(conv) == NULL) 144 if (conv == NULL || PIDGIN_CONVERSATION(conv) == NULL)
145 return 0; 145 return 0;
146 146
147 purplewin = PIDGIN_CONVERSATION(conv)->win; 147 purplewin = PIDGIN_CONVERSATION(conv)->win;
148 148
232 gpointer user_data) 232 gpointer user_data)
233 { 233 {
234 gchar **sections = g_strsplit(id, ":", 0); 234 gchar **sections = g_strsplit(id, ":", 0);
235 PurpleConversation *conv = NULL; 235 PurpleConversation *conv = NULL;
236 PurpleAccount *account; 236 PurpleAccount *account;
237 PidginWindow *purplewin = NULL; 237 PidginConvWindow *purplewin = NULL;
238 238
239 char *type = sections[0]; 239 char *type = sections[0];
240 char *cname = sections[1]; 240 char *cname = sections[1];
241 char *aname = sections[2]; 241 char *aname = sections[2];
242 char *protocol = sections[3]; 242 char *protocol = sections[3];

mercurial