[libgd] GdHeaderBar: fix warnings



commit d0426de07e392a4a35e0428ee51edc675b046aa6
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Feb 18 16:36:47 2013 +0100

    GdHeaderBar: fix warnings

 libgd/gd-header-bar.c |    2 +-
 libgd/gd-header-bar.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgd/gd-header-bar.c b/libgd/gd-header-bar.c
index 6062f32..07c5390 100644
--- a/libgd/gd-header-bar.c
+++ b/libgd/gd-header-bar.c
@@ -624,7 +624,7 @@ gd_header_bar_set_custom_title (GdHeaderBar *bar,
  * Retrieves the custom title widget of the header. See
  * gd_header_bar_set_custom_title().
  *
- * Return value: the custom title widget of the header, or %NULL if
+ * Return value: (transfer none): the custom title widget of the header, or %NULL if
  *    none has been set explicitely.
  **/
 GtkWidget *
diff --git a/libgd/gd-header-bar.h b/libgd/gd-header-bar.h
index 1496ce4..2ba3729 100644
--- a/libgd/gd-header-bar.h
+++ b/libgd/gd-header-bar.h
@@ -60,7 +60,7 @@ void         gd_header_bar_set_title         (GdHeaderBar *bar,
                                               const char  *title);
 const char * gd_header_bar_get_title         (GdHeaderBar *bar);
 void         gd_header_bar_set_custom_title  (GdHeaderBar *bar,
-                                              GtkWidget   *custom_title);
+                                              GtkWidget   *title_widget);
 GtkWidget *  gd_header_bar_get_custom_title  (GdHeaderBar *bar);
 void         gd_header_bar_pack_start        (GdHeaderBar *bar,
                                               GtkWidget   *child);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]