summaryrefslogtreecommitdiff
path: root/gtk/gtkimmodule.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-29 01:18:43 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:33 +0200
commit9f47be221689646f4de7e9138bfccf89310f2281 (patch)
tree44df4a6698dab0bc573fd457c0fbd4532eed36b7 /gtk/gtkimmodule.c
parent5b9bbf9de2a73e1e092bf094e551fabbbb3723fd (diff)
downloadgtk+-9f47be221689646f4de7e9138bfccf89310f2281.tar.gz
gtk: gdk_drawable_get_screen/visual => gdk_window_get_screen/visual
Diffstat (limited to 'gtk/gtkimmodule.c')
-rw-r--r--gtk/gtkimmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index 70a689d39c..788631d2ee 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -683,7 +683,7 @@ _gtk_im_module_get_default_context_id (GdkWindow *client_window)
*/
if (GDK_IS_DRAWABLE (client_window))
{
- screen = gdk_drawable_get_screen (GDK_DRAWABLE (client_window));
+ screen = gdk_window_get_screen (GDK_DRAWABLE (client_window));
settings = gtk_settings_get_for_screen (screen);
g_object_get (G_OBJECT (settings), "gtk-im-module", &tmp, NULL);
if (tmp)