GtkWindow: Make titlebar widget available privately

This will be used in GtkApplicationWindow in the
following commits.
This commit is contained in:
Matthias Clasen 2013-11-16 01:39:41 -05:00
parent 9a04a27ba6
commit cadef51b3d
2 changed files with 8 additions and 0 deletions

View File

@ -3579,6 +3579,12 @@ gtk_window_set_titlebar (GtkWindow *window,
gtk_widget_queue_resize (widget);
}
GtkWidget *
_gtk_window_get_titlebar (GtkWindow *window)
{
return window->priv->title_box;
}
/**
* gtk_window_set_decorated:
* @window: a #GtkWindow

View File

@ -87,6 +87,8 @@ void _gtk_window_schedule_mnemonics_visible (GtkWindow *window);
void _gtk_window_notify_keys_changed (GtkWindow *window);
GtkWidget *_gtk_window_get_titlebar (GtkWindow *window);
G_END_DECLS
#endif /* __GTK_WINDOW_PRIVATE_H__ */