headerbar: Remove unused private API

Don't remove gtkheaderbarprivate.h, even though it's empty,
since we'll add more to it soon.

https://bugzilla.gnome.org/show_bug.cgi?id=720233
This commit is contained in:
Jasper St. Pierre 2013-12-11 01:28:28 -05:00
parent e582404e90
commit 37baeed66e
2 changed files with 9 additions and 14 deletions

View File

@ -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));
}

View File

@ -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__ */