[gtk+] GtkHeaderBar: Fix buildable function names



commit 19c5b37d9de6912b98e7c75b3a4bc58d600b0da1
Author: Bastien Nocera <hadess hadess net>
Date:   Fri May 31 12:59:46 2013 +0200

    GtkHeaderBar: Fix buildable function names
    
    It's a GtkHeaderBar, not GtkHeader.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701346

 gtk/gtkheaderbar.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index d08fbc6..63a280b 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -86,11 +86,11 @@ enum {
   CHILD_PROP_POSITION
 };
 
-static void gtk_header_buildable_init (GtkBuildableIface *iface);
+static void gtk_header_bar_buildable_init (GtkBuildableIface *iface);
 
 G_DEFINE_TYPE_WITH_CODE (GtkHeaderBar, gtk_header_bar, GTK_TYPE_CONTAINER,
                          G_IMPLEMENT_INTERFACE (GTK_TYPE_BUILDABLE,
-                                                gtk_header_buildable_init));
+                                                gtk_header_bar_buildable_init));
 
 static void
 boldify_label (GtkWidget *label)
@@ -1357,10 +1357,10 @@ gtk_header_bar_class_init (GtkHeaderBarClass *class)
 }
 
 static void
-gtk_header_buildable_add_child (GtkBuildable *buildable,
-                                GtkBuilder   *builder,
-                                GObject      *child,
-                                const gchar  *type)
+gtk_header_bar_buildable_add_child (GtkBuildable *buildable,
+                                    GtkBuilder   *builder,
+                                    GObject      *child,
+                                    const gchar  *type)
 {
   if (type && strcmp (type, "title") == 0)
     gtk_header_bar_set_custom_title (GTK_HEADER_BAR (buildable), GTK_WIDGET (child));
@@ -1371,9 +1371,9 @@ gtk_header_buildable_add_child (GtkBuildable *buildable,
 }
 
 static void
-gtk_header_buildable_init (GtkBuildableIface *iface)
+gtk_header_bar_buildable_init (GtkBuildableIface *iface)
 {
-  iface->add_child = gtk_header_buildable_add_child;
+  iface->add_child = gtk_header_bar_buildable_add_child;
 }
 
 /**


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