summaryrefslogtreecommitdiff
path: root/modules
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 /modules
parent5b9bbf9de2a73e1e092bf094e551fabbbb3723fd (diff)
downloadgtk+-9f47be221689646f4de7e9138bfccf89310f2281.tar.gz
gtk: gdk_drawable_get_screen/visual => gdk_window_get_screen/visual
Diffstat (limited to 'modules')
-rw-r--r--modules/input/gtkimcontextxim.c4
-rw-r--r--modules/other/gail/gailwindow.c4
2 files changed, 4 insertions, 4 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;
diff --git a/modules/other/gail/gailwindow.c b/modules/other/gail/gailwindow.c
index 3d9404122a..a99e43036d 100644
--- a/modules/other/gail/gailwindow.c
+++ b/modules/other/gail/gailwindow.c
@@ -828,7 +828,7 @@ filter_func (GdkXEvent *gdkxevent,
if (window)
{
screen_n = gdk_screen_get_number (
- gdk_drawable_get_screen (GDK_DRAWABLE (window)));
+ gdk_window_get_screen (GDK_DRAWABLE (window)));
gail_screens [screen_n].update_stacked_windows = TRUE;
if (!gail_screens [screen_n].update_handler)
@@ -966,7 +966,7 @@ get_window_zorder (GdkWindow *window)
gail_return_val_if_fail (GDK_IS_WINDOW (window), -1);
info = get_screen_info (
- gdk_drawable_get_screen (GDK_DRAWABLE (window)));
+ gdk_window_get_screen (GDK_DRAWABLE (window)));
gail_return_val_if_fail (info->stacked_windows != NULL, -1);