/pidgin/main: 3c507e0e9ed5: Fix an annoying type warning.

Elliott Sales de Andrade qulogic at pidgin.im
Tue Jul 24 04:03:56 EDT 2012


Changeset: 3c507e0e9ed553e375b3e071f5da5a2d323f91a4
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-07-24 01:07 -0400
Branch:	 cpw.qulogic.gtk3-required
URL: http://hg.pidgin.im/pidgin/main/rev/3c507e0e9ed5

Description:

Fix an annoying type warning.

diffstat:

 pidgin/gtkblist.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (15 lines):

diff --git a/pidgin/gtkblist.c b/pidgin/gtkblist.c
--- a/pidgin/gtkblist.c
+++ b/pidgin/gtkblist.c
@@ -5065,7 +5065,11 @@
 	widget = gtk_window_get_focus(GTK_WINDOW(gtkblist->window));
 
 	if (GTK_IS_IMHTML(widget) || GTK_IS_ENTRY(widget)) {
+#if GTK_CHECK_VERSION(3,0,0)
 		if (gtk_bindings_activate(G_OBJECT(widget), event->keyval, event->state))
+#else
+		if (gtk_bindings_activate(GTK_OBJECT(widget), event->keyval, event->state))
+#endif
 			return TRUE;
 	}
 	return FALSE;



More information about the Commits mailing list