2009-03-19 Alejandro G. Castro <alex@igalia.com>
[hildon] / src / hildon-banner.h
index 9096d47..bdd16a5 100644 (file)
@@ -3,7 +3,7 @@
  *
  * 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
 #ifndef                                         __HILDON_BANNER_H__
 #define                                         __HILDON_BANNER_H__
 
-#include                                        <gtk/gtkwindow.h>
-#include                                        <gtk/gtkprogressbar.h>
-#include                                        <gtk/gtklabel.h>
-#include                                        <gdk/gdkx.h>
+#include                                        <gtk/gtk.h>
 
 G_BEGIN_DECLS 
 
@@ -76,6 +73,7 @@ hildon_banner_show_information_with_markup      (GtkWidget *widget,
                                                  const gchar *icon_name,
                                                  const gchar *markup);
 
+#ifndef HILDON_DISABLE_DEPRECATED
 GtkWidget*
 hildon_banner_show_animation                    (GtkWidget *widget, 
                                                  const gchar *animation_name,
@@ -85,6 +83,7 @@ GtkWidget*
 hildon_banner_show_progress                     (GtkWidget *widget, 
                                                  GtkProgressBar *bar,
                                                  const gchar *text);
+#endif /* HILDON_DISABLE_DEPRECATED */
 
 void      
 hildon_banner_set_text                          (HildonBanner *self,
@@ -98,6 +97,7 @@ void
 hildon_banner_set_fraction                      (HildonBanner *self,
                                                  gdouble fraction);
 
+#ifndef HILDON_DISABLE_DEPRECATED
 void     
 hildon_banner_set_icon                          (HildonBanner *self,
                                                  const gchar *icon_name);
@@ -105,6 +105,7 @@ hildon_banner_set_icon                          (HildonBanner *self,
 void     
 hildon_banner_set_icon_from_file                (HildonBanner *self,
                                                  const gchar *icon_file);
+#endif /* HILDON_DISABLE_DEPRECATED */
 
 void
 hildon_banner_set_timeout                       (HildonBanner *self,