2007-10-13 [paul] 3.0.2cvs66
[claws.git] / src / gtk / gtkutils.h
index 255ef7a8a485588e836a5d3d687aac29c04fe6cd..4a810e655825d2d6771ee6970eff70491be292c7 100644 (file)
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -13,8 +13,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * 
  */
 
 #ifndef __GTKUTILS_H__
@@ -42,6 +42,8 @@
 
 #ifdef MAEMO
 #include <hildon-widgets/hildon-program.h>
+#include <hildon-widgets/hildon-window.h>
+#include "main.h"
 #include <gtk/gtkmain.h>
 #endif
 
@@ -190,13 +192,9 @@ GtkWidget *label_window_create(const gchar *str);
 void label_window_destroy(GtkWidget *widget);
 
 void gtkut_window_popup                        (GtkWidget      *window);
-#ifdef MAEMO
-HildonWindow *gtkut_window_new         (GtkWindowType   type,
-                                        const gchar    *class);
-#else
 GtkWidget *gtkut_window_new            (GtkWindowType   type,
                                         const gchar    *class);
-#endif
+
 
 void gtkut_widget_get_uposition                (GtkWidget      *widget,
                                         gint           *px,
@@ -247,4 +245,11 @@ gboolean gtkut_tree_model_text_iter_prev(GtkTreeModel *model,
 gboolean gtkut_tree_model_get_iter_last(GtkTreeModel *model,
                                 GtkTreeIter *iter);
 
+gboolean gtkut_tree_iter_comp(GtkTreeModel *model, 
+                                    GtkTreeIter *iter1, 
+                                    GtkTreeIter *iter2);
+
+gint gtkut_list_view_get_selected_row(GtkWidget *list_view);
+gboolean gtkut_list_view_select_row(GtkWidget *list, gint row);
+
 #endif /* __GTKUTILS_H__ */