summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendereraccel.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/gtkcellrendereraccel.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/gtkcellrendereraccel.c')
-rw-r--r--gtk/gtkcellrendereraccel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrendereraccel.c b/gtk/gtkcellrendereraccel.c
index 4a5bf529a3..1703e99760 100644
--- a/gtk/gtkcellrendereraccel.c
+++ b/gtk/gtkcellrendereraccel.c
@@ -451,7 +451,7 @@ gtk_cell_renderer_accel_start_editing (GtkCellRenderer *cell,
if (!is_editable)
return NULL;
- window = gtk_widget_get_window (gtk_widget_get_toplevel (widget));
+ window = gtk_widget_get_surface (gtk_widget_get_toplevel (widget));
if (event)
device = gdk_event_get_device (event);