diff pidgin/gtklog.c @ 29091:48ea900ee72a

This should pretty much finish off the GTK_CHECK_VERSION calls in Pidgin. I still need to check if I should be upping the requirements for pango and any other libs. Refs #10024.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sun, 23 Aug 2009 16:52:25 +0000
parents 6e1967b0f90b
children dcd52d2b1b97
line wrap: on
line diff
--- a/pidgin/gtklog.c	Sun Aug 23 15:33:52 2009 +0000
+++ b/pidgin/gtklog.c	Sun Aug 23 16:52:25 2009 +0000
@@ -252,7 +252,6 @@
 		GtkTreePath *path = gtk_tree_model_get_path(GTK_TREE_MODEL(treestore), iter);
 		gboolean first = !gtk_tree_path_prev(path);
 
-#if GTK_CHECK_VERSION(2,2,0)
 		if (!gtk_tree_store_remove(treestore, iter) && first)
 		{
 			/* iter was the last child at its level */
@@ -263,9 +262,7 @@
 				gtk_tree_store_remove(treestore, iter);
 			}
 		}
-#else
-		gtk_tree_store_remove(treestore, iter);
-#endif
+
 		gtk_tree_path_free(path);
 	}