changeset 18208:669dc8404b56

Fix a compile warning with gtk < 2.6
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 20 Jun 2007 17:58:50 +0000
parents d3dfcfb5755c
children d3cd11e13557
files pidgin/gtkblist.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Wed Jun 20 17:52:56 2007 +0000
+++ b/pidgin/gtkblist.c	Wed Jun 20 17:58:50 2007 +0000
@@ -311,6 +311,7 @@
 	gtk_blist_join_chat(chat);
 }
 
+#if GTK_CHECK_VERSION(2,6,0)
 static void gtk_blist_renderer_editing_cancelled_cb(GtkCellRenderer *renderer, PurpleBuddyList *list)
 {
 	editing_blist = FALSE;
@@ -355,6 +356,7 @@
 	}
 	editing_blist = TRUE;
 }
+#endif
 
 static void gtk_blist_renderer_edited_cb(GtkCellRendererText *text_rend, char *arg1,
 					 char *arg2, PurpleBuddyList *list)