summaryrefslogtreecommitdiff
path: root/gtk/gtkswitch.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2018-03-20 15:21:12 +0100
committerAlexander Larsson <alexl@redhat.com>2018-03-20 15:21:12 +0100
commit63e060a21de336ec49b1de02c74359842d9034c5 (patch)
tree2efb29d70bff6cb5d0a9ca6825ea8aac50566242 /gtk/gtkswitch.c
parent3dce0dcca705c4ab6d8c4f5067db93947184b6af (diff)
downloadgtk+-63e060a21de336ec49b1de02c74359842d9034c5.tar.gz
GtkWidget: Start renaming widget->window
This is an automated change doing these command: git sed -f g gtk_widget_set_has_window gtk_widget_set_has_surface git sed -f g gtk_widget_get_has_window gtk_widget_get_has_surface git sed -f g gtk_widget_set_parent_window gtk_widget_set_parent_surface git sed -f g gtk_widget_get_parent_window gtk_widget_get_parent_surface git sed -f g gtk_widget_set_window gtk_widget_set_surface git sed -f g gtk_widget_get_window gtk_widget_get_surface git sed -f g gtk_widget_register_window gtk_widget_register_surface git sed -f g gtk_widget_unregister_window gtk_widget_unregister_surface git checkout NEWS*
Diffstat (limited to 'gtk/gtkswitch.c')
-rw-r--r--gtk/gtkswitch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c
index d665ef3dfc..7189437d11 100644
--- a/gtk/gtkswitch.c
+++ b/gtk/gtkswitch.c
@@ -623,7 +623,7 @@ gtk_switch_init (GtkSwitch *self)
GtkSwitchPrivate *priv = gtk_switch_get_instance_private (self);
GtkGesture *gesture;
- gtk_widget_set_has_window (GTK_WIDGET (self), FALSE);
+ gtk_widget_set_has_surface (GTK_WIDGET (self), FALSE);
gtk_widget_set_can_focus (GTK_WIDGET (self), TRUE);
gesture = gtk_gesture_multi_press_new (GTK_WIDGET (self));