diff gtk/gtkutils.h @ 15258:cfdd47296dbc

[gaim-migrate @ 18048] Fixes for compiling and running with Gtk 2.0 ! committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 22 Dec 2006 19:15:38 +0000
parents 30932055bb7c
children ca7cc867fa58
line wrap: on
line diff
--- a/gtk/gtkutils.h	Fri Dec 22 08:41:29 2006 +0000
+++ b/gtk/gtkutils.h	Fri Dec 22 19:15:38 2006 +0000
@@ -533,5 +533,20 @@
 gboolean gaim_gtk_tree_view_search_equal_func(GtkTreeModel *model, gint column,
 			const gchar *key, GtkTreeIter *iter, gpointer data);
 
+#if !GTK_CHECK_VERSION(2,2,0)
+/**
+ * This is copied from Gtk to support Gtk 2.0
+ *
+ * Creates a new path with @first_index and @varargs as indices.
+ *
+ * @param first_index    first integer
+ * @param varargs        list of integers terminated by -1
+ *
+ * @return               A newly created GtkTreePath.
+ *
+ */
+GtkTreePath *gtk_tree_path_new_from_indices (gint first_index, ...);
+#endif
+
 #endif /* _GAIM_GTKUTILS_H_ */