2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
[hildon] / src / hildon-helper.h
index 44e1c8f..834e47b 100644 (file)
@@ -8,7 +8,7 @@
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
  * as published by the Free Software Foundation; version 2.1 of
- * the License.
+ * the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -25,9 +25,9 @@
 #ifndef                                         __HILDON_HELPER_H__
 #define                                         __HILDON_HELPER_H__
 
-#include                                        <gtk/gtkwindow.h>
 #include                                        <gdk/gdkkeysyms.h>
-#include                                        <gdk/gdkevents.h>
+#include                                        <gtk/gtk.h>
+
 #include                                        "hildon-defines.h"
 
 G_BEGIN_DECLS
@@ -44,6 +44,7 @@ hildon_helper_set_logical_color                 (GtkWidget *widget,
 gboolean 
 hildon_helper_event_button_is_finger            (GdkEventButton *event);
 
+#ifndef HILDON_DISABLE_DEPRECATED
 void
 hildon_helper_set_insensitive_message           (GtkWidget *widget,
                                                  const gchar *message);
@@ -52,7 +53,13 @@ void
 hildon_helper_set_insensitive_messagef          (GtkWidget *widget,
                                                 const gchar *format,
                                                 ...);
+#endif
+
+void
+hildon_helper_set_thumb_scrollbar               (GtkScrolledWindow *win, 
+                                                 gboolean thumb);
 
 G_END_DECLS
 
-#endif                                          /* HILDON_HELPER_H */
+#endif                                          /* __HILDON_HELPER_H__ */
+