summaryrefslogtreecommitdiff
path: root/gtk/gtkimmulticontext.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2018-03-20 15:14:10 +0100
committerAlexander Larsson <alexl@redhat.com>2018-03-20 15:14:10 +0100
commit3dce0dcca705c4ab6d8c4f5067db93947184b6af (patch)
tree8de99e5b35abc5242accafb84d0526b08c66b9e7 /gtk/gtkimmulticontext.c
parent9a7e721181ce714ab248429dc1258984b9e10748 (diff)
downloadgtk+-3dce0dcca705c4ab6d8c4f5067db93947184b6af.tar.gz
GdkSurface: Rename lots of stuff from window->surface
Mostly these are internal things, but the major public change is that event.window is now event.surface.
Diffstat (limited to 'gtk/gtkimmulticontext.c')
-rw-r--r--gtk/gtkimmulticontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c
index 8c1df632d2..c68ece9e94 100644
--- a/gtk/gtkimmulticontext.c
+++ b/gtk/gtkimmulticontext.c
@@ -363,7 +363,7 @@ gtk_im_multicontext_filter_keypress (GtkIMContext *context,
GdkDisplay *display;
GdkModifierType no_text_input_mask;
- display = gdk_surface_get_display (gdk_event_get_window ((GdkEvent *) event));
+ display = gdk_surface_get_display (gdk_event_get_surface ((GdkEvent *) event));
no_text_input_mask =
gdk_keymap_get_modifier_mask (gdk_display_get_keymap (display),