diff options
author | Benjamin Otte <otte@redhat.com> | 2010-09-20 12:53:46 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:43 +0200 |
commit | 9826c31a9f22c217f0a1cd4d8334bd22babe1151 (patch) | |
tree | bd79a09c8e4dfe3df737557fff72370ca2cdfeb3 /gdk/gdkdevice.c | |
parent | 0a57863f737c01b12be3d1d988992ead64896887 (diff) | |
download | gtk+-9826c31a9f22c217f0a1cd4d8334bd22babe1151.tar.gz |
gdk: Get rid of gdk_drawable_get_size() usage
Diffstat (limited to 'gdk/gdkdevice.c')
-rw-r--r-- | gdk/gdkdevice.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c index 7a98f6fb0b..4c9421726d 100644 --- a/gdk/gdkdevice.c +++ b/gdk/gdkdevice.c @@ -1255,7 +1255,8 @@ _gdk_device_translate_window_coord (GdkDevice *device, } window_private = (GdkWindowObject *) window; - gdk_drawable_get_size (window, &window_width, &window_height); + window_width = gdk_window_get_width (window); + window_height = gdk_window_get_height (window); x_resolution = axis_info_x->resolution; y_resolution = axis_info_y->resolution; |