summaryrefslogtreecommitdiff
path: root/gtk/gtkmenushell.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkmenushell.c')
-rw-r--r--gtk/gtkmenushell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c
index 01dc5ff72e..e0a58ec1a8 100644
--- a/gtk/gtkmenushell.c
+++ b/gtk/gtkmenushell.c
@@ -408,7 +408,7 @@ gtk_menu_shell_init (GtkMenuShell *menu_shell)
menu_shell->priv = gtk_menu_shell_get_instance_private (menu_shell);
menu_shell->priv->take_focus = TRUE;
- gtk_widget_set_has_window (GTK_WIDGET (menu_shell), FALSE);
+ gtk_widget_set_has_surface (GTK_WIDGET (menu_shell), FALSE);
}
static void