Fix GtkApplicationWindow menubar placement

Since the menubar is part of the content, we need to give
it the content_window as parent window, to make things
work again.
https://bugzilla.gnome.org/show_bug.cgi?id=696561
This commit is contained in:
Matthias Clasen
2013-03-27 00:23:19 -04:00
parent bdfd0d4638
commit 93efaa5ebe
3 changed files with 14 additions and 0 deletions

View File

@ -11271,3 +11271,9 @@ ensure_state_flag_backdrop (GtkWidget *widget)
gtk_widget_queue_draw (widget);
}
GdkWindow *
_gtk_window_get_content_window (GtkWindow *window)
{
return window->priv->content_window;
}