2009-04-01 Alberto Garcia <agarcia@igalia.com>
[hildon] / src / hildon-helper.h
index 5efa986..879d55f 100644 (file)
@@ -3,12 +3,12 @@
  *
  * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
  *
- * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+ * Contact: Rodrigo Novo <rodrigo.novo@nokia.com>
  *
  * 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,6 +53,7 @@ void
 hildon_helper_set_insensitive_messagef          (GtkWidget *widget,
                                                 const gchar *format,
                                                 ...);
+#endif
 
 void
 hildon_helper_set_thumb_scrollbar               (GtkScrolledWindow *win, 
@@ -59,4 +61,5 @@ hildon_helper_set_thumb_scrollbar               (GtkScrolledWindow *win,
 
 G_END_DECLS
 
-#endif                                          /* HILDON_HELPER_H */
+#endif                                          /* __HILDON_HELPER_H__ */
+