summaryrefslogtreecommitdiff
path: root/gtk/gtkpaned.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkpaned.c')
-rw-r--r--gtk/gtkpaned.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 8c1da9fbcd..62cd9d8088 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -1497,7 +1497,7 @@ gtk_paned_init (GtkPaned *paned)
GtkPanedPrivate *priv;
GtkGesture *gesture;
- gtk_widget_set_has_window (GTK_WIDGET (paned), FALSE);
+ gtk_widget_set_has_surface (GTK_WIDGET (paned), FALSE);
gtk_widget_set_can_focus (GTK_WIDGET (paned), TRUE);
paned->priv = gtk_paned_get_instance_private (paned);