pidgin/gtkwhiteboard.c

branch
soc.2013.gobjectification
changeset 34937
ca1dab25bd7a
parent 34728
8efd73063ecf
child 35500
ae6432ea326f
child 36693
e10df50ee8a9
--- a/pidgin/gtkwhiteboard.c	Sat Sep 07 01:09:58 2013 +0530
+++ b/pidgin/gtkwhiteboard.c	Sat Sep 07 01:13:49 2013 +0530
@@ -323,7 +323,7 @@
 	wb = gtkwb->wb;
 	g_return_val_if_fail(wb != NULL, FALSE);
 
-	purple_whiteboard_destroy(wb);
+	g_object_unref(wb);
 
 	return FALSE;
 }
@@ -360,7 +360,7 @@
 	/* Insert this 'session' in the list.  At this point, it's only a requested
 	 * session.
 	 */
-	wb = purple_whiteboard_create(account, to, DOODLE_STATE_REQUESTING);
+	wb = purple_whiteboard_new(account, to, DOODLE_STATE_REQUESTING);
 }
 #endif
 

mercurial