diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c index 3fba3c2b83..9cf72977ca 100644 --- a/gtk/gtkheaderbar.c +++ b/gtk/gtkheaderbar.c @@ -152,11 +152,11 @@ init_sizing_box (GtkHeaderBar *bar) priv->subtitle_sizing_label = w; } -GtkWidget * -_gtk_header_bar_create_title_box (const char *title, - const char *subtitle, - GtkWidget **ret_title_label, - GtkWidget **ret_subtitle_label) +static GtkWidget * +create_title_box (const char *title, + const char *subtitle, + GtkWidget **ret_title_label, + GtkWidget **ret_subtitle_label) { GtkWidget *label_box; GtkWidget *title_label; @@ -372,10 +372,10 @@ construct_label_box (GtkHeaderBar *bar) g_assert (priv->label_box == NULL); - priv->label_box = _gtk_header_bar_create_title_box (priv->title, - priv->subtitle, - &priv->title_label, - &priv->subtitle_label); + priv->label_box = create_title_box (priv->title, + priv->subtitle, + &priv->title_label, + &priv->subtitle_label); gtk_widget_set_parent (priv->label_box, GTK_WIDGET (bar)); } diff --git a/gtk/gtkheaderbarprivate.h b/gtk/gtkheaderbarprivate.h index bd751663eb..a895db9732 100644 --- a/gtk/gtkheaderbarprivate.h +++ b/gtk/gtkheaderbarprivate.h @@ -20,9 +20,4 @@ #ifndef __GTK_HEADER_BAR_PRIVATE_H__ #define __GTK_HEADER_BAR_PRIVATE_H__ -GtkWidget * _gtk_header_bar_create_title_box (const char *title, - const char *subtitle, - GtkWidget **ret_title_label, - GtkWidget **ret_subtitle_label); - #endif /* __GTK_HEADER_BAR_PRIVATE_H__ */