diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-29 01:18:43 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:33 +0200 |
commit | 9f47be221689646f4de7e9138bfccf89310f2281 (patch) | |
tree | 44df4a6698dab0bc573fd457c0fbd4532eed36b7 /modules/input | |
parent | 5b9bbf9de2a73e1e092bf094e551fabbbb3723fd (diff) | |
download | gtk+-9f47be221689646f4de7e9138bfccf89310f2281.tar.gz |
gtk: gdk_drawable_get_screen/visual => gdk_window_get_screen/visual
Diffstat (limited to 'modules/input')
-rw-r--r-- | modules/input/gtkimcontextxim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/input/gtkimcontextxim.c b/modules/input/gtkimcontextxim.c index 0e53bc4ec5..2a3226edaa 100644 --- a/modules/input/gtkimcontextxim.c +++ b/modules/input/gtkimcontextxim.c @@ -495,7 +495,7 @@ get_im (GdkWindow *client_window, { GSList *tmp_list; GtkXIMInfo *info; - GdkScreen *screen = gdk_drawable_get_screen (client_window); + GdkScreen *screen = gdk_window_get_screen (client_window); info = NULL; tmp_list = open_ims; @@ -716,7 +716,7 @@ gtk_im_context_xim_filter_keypress (GtkIMContext *context, KeySym keysym; Status status; gboolean result = FALSE; - GdkWindow *root_window = gdk_screen_get_root_window (gdk_drawable_get_screen (event->window)); + GdkWindow *root_window = gdk_screen_get_root_window (gdk_window_get_screen (event->window)); XKeyPressedEvent xevent; |