Mercurial > pidgin.yaz
changeset 21912:6765b2b65d30
The event handlers need to return a gboolean. Using void callbacks can lead to unpredictable behaviour.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 21 Dec 2007 12:17:10 +0000 |
parents | 6648cfa72842 |
children | 2a591a5b3322 b3240d483fd9 |
files | pidgin/gtkblist.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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