diff src/gtksavedstatuses.c @ 11780:8cb75ba77f9d

[gaim-migrate @ 14071] I've been time travelling, I bumped into Gtk 2.0 on my way. Gaim now works with Gtk 2.0 again. Next stop: gtk 1.2 ... erm. what? ... NO! PS. resiak: I won! committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 24 Oct 2005 00:31:41 +0000
parents 8d7c99f20e4c
children 924c6ba240e6
line wrap: on
line diff
--- a/src/gtksavedstatuses.c	Mon Oct 24 00:18:37 2005 +0000
+++ b/src/gtksavedstatuses.c	Mon Oct 24 00:31:41 2005 +0000
@@ -206,6 +206,15 @@
 	gaim_gtk_status_window_hide();
 }
 
+#if !GTK_CHECK_VERSION(2,2,0)
+static void
+get_selected_helper(GtkTreeModel *model, GtkTreePath *path,
+					GtkTreeIter *iter, gpointer user_data)
+{
+	*((gboolean *)user_data) = TRUE;
+}
+#endif
+
 static void
 status_selected_cb(GtkTreeSelection *sel, gpointer user_data)
 {