diff options
author | Michael Natterer <mitch@imendio.com> | 2008-06-18 07:04:11 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-06-18 07:04:11 +0000 |
commit | 1a23e1502c1f895b38be12e863b0b4aa5afbebe0 (patch) | |
tree | 622c3372da08647f0b06d3d622998f8576edf6bf /modules/other | |
parent | 73800758fd3914e182da139e58364d36d9bf7ed4 (diff) | |
download | gtk+-1a23e1502c1f895b38be12e863b0b4aa5afbebe0.tar.gz |
gailimage.c (gail_image_get_image_size)
2008-06-18 Michael Natterer <mitch@imendio.com>
* gailimage.c (gail_image_get_image_size)
* gailpixmap.c (gail_pixmap_get_image_size):
s/gdk_window_get_size/gdk_drawable_get_size/
svn path=/trunk/; revision=20445
Diffstat (limited to 'modules/other')
-rw-r--r-- | modules/other/gail/ChangeLog | 6 | ||||
-rw-r--r-- | modules/other/gail/gailimage.c | 2 | ||||
-rw-r--r-- | modules/other/gail/gailpixmap.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/modules/other/gail/ChangeLog b/modules/other/gail/ChangeLog index 0c064d8380..6e7c4117ec 100644 --- a/modules/other/gail/ChangeLog +++ b/modules/other/gail/ChangeLog @@ -1,3 +1,9 @@ +2008-06-18 Michael Natterer <mitch@imendio.com> + + * gailimage.c (gail_image_get_image_size) + * gailpixmap.c (gail_pixmap_get_image_size): + s/gdk_window_get_size/gdk_drawable_get_size/ + 2008-06-17 Michael Natterer <mitch@imendio.com> * gail.c diff --git a/modules/other/gail/gailimage.c b/modules/other/gail/gailimage.c index bb9b40ce38..08c79a6082 100644 --- a/modules/other/gail/gailimage.c +++ b/modules/other/gail/gailimage.c @@ -209,7 +209,7 @@ gail_image_get_image_size (AtkImage *image, { GdkPixmap *pixmap; gtk_image_get_pixmap(gtk_image, &pixmap, NULL); - gdk_window_get_size (pixmap, width, height); + gdk_drawable_get_size (pixmap, width, height); break; } case GTK_IMAGE_PIXBUF: diff --git a/modules/other/gail/gailpixmap.c b/modules/other/gail/gailpixmap.c index 108933fb32..f92fdd0b54 100644 --- a/modules/other/gail/gailpixmap.c +++ b/modules/other/gail/gailpixmap.c @@ -126,7 +126,7 @@ gail_pixmap_get_image_size (AtkImage *obj, pixmap = GTK_PIXMAP (widget); if (pixmap->pixmap) - gdk_window_get_size (pixmap->pixmap, width, height); + gdk_drawable_get_size (pixmap->pixmap, width, height); } static gboolean |