The event handlers need to return a gboolean. Using void callbacks can lead to unpredictable behaviour.

Fri, 21 Dec 2007 12:17:10 +0000

author
Sadrul Habib Chowdhury <sadrul@pidgin.im>
date
Fri, 21 Dec 2007 12:17:10 +0000
changeset 22031
64dada91f5b0
parent 22028
539b4bbeb019
child 22032
8136dd5eeda3
child 22034
3d770be45403

The event handlers need to return a gboolean. Using void callbacks can lead to unpredictable behaviour.

pidgin/gtkblist.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkblist.c	Fri Dec 21 09:33:45 2007 +0000
+++ b/pidgin/gtkblist.c	Fri Dec 21 12:17:10 2007 +0000
@@ -2970,7 +2970,7 @@
 	return FALSE;
 }
 
-static void pidgin_blist_leave_cb (GtkWidget *w, GdkEventCrossing *e, gpointer n)
+static gboolean pidgin_blist_leave_cb (GtkWidget *w, GdkEventCrossing *e, gpointer n)
 {
 	if (gtkblist->timeout) {
 		g_source_remove(gtkblist->timeout);
@@ -2988,6 +2988,7 @@
 			pidgin_blist_collapse_contact_cb(NULL, gtkblist->mouseover_contact);
 		gtkblist->mouseover_contact = NULL;
 	}
+	return FALSE;
 }
 
 static void

mercurial