diff options
author | Alexander Larsson <alexl@redhat.com> | 2018-03-20 15:21:12 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2018-03-20 15:21:12 +0100 |
commit | 63e060a21de336ec49b1de02c74359842d9034c5 (patch) | |
tree | 2efb29d70bff6cb5d0a9ca6825ea8aac50566242 /gtk/gtkapplication-x11.c | |
parent | 3dce0dcca705c4ab6d8c4f5067db93947184b6af (diff) | |
download | gtk+-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/gtkapplication-x11.c')
-rw-r--r-- | gtk/gtkapplication-x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkapplication-x11.c b/gtk/gtkapplication-x11.c index ee20c6d3ca..989e9c3380 100644 --- a/gtk/gtkapplication-x11.c +++ b/gtk/gtkapplication-x11.c @@ -42,7 +42,7 @@ gtk_application_impl_x11_handle_window_realize (GtkApplicationImpl *impl, GdkSurface *gdk_surface; gchar *window_path; - gdk_surface = gtk_widget_get_window (GTK_WIDGET (window)); + gdk_surface = gtk_widget_get_surface (GTK_WIDGET (window)); if (!GDK_IS_X11_SURFACE (gdk_surface)) return; @@ -65,7 +65,7 @@ gtk_application_impl_x11_get_window_system_id (GtkApplicationImplDBus *dbus, { GdkSurface *gdk_surface; - gdk_surface = gtk_widget_get_window (GTK_WIDGET (window)); + gdk_surface = gtk_widget_get_surface (GTK_WIDGET (window)); if (GDK_IS_X11_SURFACE (gdk_surface)) return g_variant_new_uint32 (GDK_SURFACE_XID (gdk_surface)); |