diff gtk/gtkconv.c @ 14228:c18bdf510325

[gaim-migrate @ 16910] Fix autogen.sh to run glib-gettextize Fix CFLAGS when gstreamer is not installed Make things work with gtk < 2.6, in part by borrowing some code from gdk Don't link gntgaim with gstreamer, xss or sm committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 20 Aug 2006 17:49:58 +0000
parents 009db0b357b5
children af0d0e23b937
line wrap: on
line diff
--- a/gtk/gtkconv.c	Sun Aug 20 17:34:21 2006 +0000
+++ b/gtk/gtkconv.c	Sun Aug 20 17:49:58 2006 +0000
@@ -4984,9 +4984,11 @@
 	gtk_label_set_text(GTK_LABEL(gtkchat->count), tmp);
 
 	ls = GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(gtkchat->list)));
-	
+
+#if GTK_CHECK_VERSION(2,6,0)
 	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(ls),  GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID,
 										 GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID); 
+#endif
 
 	l = cbuddies;
 	while (l != NULL) {