changeset 18206:66bcb7ff60d8

editing-started & editing-canceled signals are in gtk 2.6 and above only
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 20 Jun 2007 17:42:32 +0000
parents 4cc042912ac2
children d3dfcfb5755c
files pidgin/gtkblist.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Wed Jun 20 01:28:57 2007 +0000
+++ b/pidgin/gtkblist.c	Wed Jun 20 17:42:32 2007 +0000
@@ -4463,8 +4463,10 @@
 #endif
 										"markup", NAME_COLUMN,
 										NULL);
+#if GTK_CHECK_VERSION(2,6,0)
 	g_signal_connect(G_OBJECT(rend), "editing-started", G_CALLBACK(gtk_blist_renderer_editing_started_cb), NULL);
 	g_signal_connect(G_OBJECT(rend), "editing-canceled", G_CALLBACK(gtk_blist_renderer_editing_cancelled_cb), list);
+#endif
 	g_signal_connect(G_OBJECT(rend), "edited", G_CALLBACK(gtk_blist_renderer_edited_cb), list);
 	g_object_set(rend, "ypad", 0, "yalign", 0.5, NULL);
 #if GTK_CHECK_VERSION(2,6,0)