Fix some typos on the hildon_banner_show_information_override_dnd
authorAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 20 May 2009 15:52:23 +0000 (17:52 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 20 May 2009 15:56:43 +0000 (17:56 +0200)
* hildon/hildon-banner.[ch]:
(hildon_banner_show_information_override_dnd): remove icon_name from the
method definition as it is ignored.
* examples/hildon-banner-dnd-example.c: updated with the change on
hildon-banner.h API

ChangeLog
examples/hildon-banner-dnd-example.c
hildon/hildon-banner.c
hildon/hildon-banner.h

index e58b307..ac96caf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-05-21  Alejandro Pinheiro  <apinheiro@igalia.com>
 
+       * hildon/hildon-banner.[ch]:
+       (hildon_banner_show_information_override_dnd): remove icon_name from the
+       method definition as it is ignored.
+       * examples/hildon-banner-dnd-example.c: updated with the change on
+       hildon-banner.h API
+
+2009-05-21  Alejandro Pinheiro  <apinheiro@igalia.com>
+
        * hildon/hildon-banner-private.h: new require_override_dnd and
        overrides_dnd variables
        * hildon/hildon-banner.h:
index 290627e..d47059e 100644 (file)
@@ -36,7 +36,7 @@ on_information_clicked                          (GtkWidget *widget)
 {
   GtkWidget* banner = NULL;
 
-  banner = hildon_banner_show_information_override_dnd (widget, NULL,
+  banner = hildon_banner_show_information_override_dnd (widget,
                                                         "Real important information!!");
 
   hildon_banner_set_timeout (HILDON_BANNER (banner), 5000);
index 8889fd8..47f0915 100644 (file)
@@ -38,7 +38,7 @@
  *
  * If the application window has set the _HILDON_DO_NOT_DISTURB flag (using
  * hildon_gtk_window_set_do_not_disturb() for example), the banner will not
- * be showed. If you need to override this flag for important information,
+ * be shown. If you need to override this flag for important information,
  * you can use the method hildon_banner_show_information_override_dnd().
  * Please, take into account that this is only for important information.
  *
@@ -933,8 +933,6 @@ hildon_banner_show_information                  (GtkWidget *widget,
 /**
  * hildon_banner_show_information_override_dnd:
  * @widget: the #GtkWidget that is the owner of the banner
- * @icon_name: since Hildon 2.2 this parameter is not used anymore and
- * any value that you pass will be ignored
  * @text: Text to display
  *
  * Equivalent to hildon_banner_show_information() but it overrides the do not
@@ -950,7 +948,6 @@ hildon_banner_show_information                  (GtkWidget *widget,
  */
 GtkWidget*
 hildon_banner_show_information_override_dnd     (GtkWidget *widget,
-                                                 const gchar *icon_name,
                                                  const gchar *text)
 {
     return hildon_banner_real_show_information (widget, text, TRUE);
index b1e5bf2..ad05c8c 100644 (file)
@@ -70,7 +70,6 @@ hildon_banner_show_informationf                 (GtkWidget *widget,
 
 GtkWidget*
 hildon_banner_show_information_override_dnd     (GtkWidget *widget,
-                                                 const gchar *icon_name,
                                                  const gchar *text);
 
 GtkWidget*