Commit cadef51b authored by Matthias Clasen's avatar Matthias Clasen

GtkWindow: Make titlebar widget available privately

This will be used in GtkApplicationWindow in the
following commits.
parent 9a04a27b
......@@ -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
......
......@@ -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__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment