pidgin/gtkwhiteboard.c

branch
soc.2013.gobjectification.plugins
changeset 36693
e10df50ee8a9
parent 36637
9b0109ae118d
parent 34937
ca1dab25bd7a
child 37102
63a5361c11a1
equal deleted inserted replaced
36692:324db2a53c4c 36693:e10df50ee8a9
321 321
322 g_return_val_if_fail(gtkwb != NULL, FALSE); 322 g_return_val_if_fail(gtkwb != NULL, FALSE);
323 wb = gtkwb->wb; 323 wb = gtkwb->wb;
324 g_return_val_if_fail(wb != NULL, FALSE); 324 g_return_val_if_fail(wb != NULL, FALSE);
325 325
326 purple_whiteboard_destroy(wb); 326 g_object_unref(wb);
327 327
328 return FALSE; 328 return FALSE;
329 } 329 }
330 330
331 /* 331 /*
358 yahoo_doodle_command_send_ready(gc, to); 358 yahoo_doodle_command_send_ready(gc, to);
359 359
360 /* Insert this 'session' in the list. At this point, it's only a requested 360 /* Insert this 'session' in the list. At this point, it's only a requested
361 * session. 361 * session.
362 */ 362 */
363 wb = purple_whiteboard_create(account, to, DOODLE_STATE_REQUESTING); 363 wb = purple_whiteboard_new(account, to, DOODLE_STATE_REQUESTING);
364 } 364 }
365 #endif 365 #endif
366 366
367 static gboolean pidgin_whiteboard_configure_event(GtkWidget *widget, GdkEventConfigure *event, gpointer data) 367 static gboolean pidgin_whiteboard_configure_event(GtkWidget *widget, GdkEventConfigure *event, gpointer data)
368 { 368 {

mercurial