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
This commit is contained in:
Michael Natterer 2008-06-18 07:04:11 +00:00 committed by Michael Natterer
parent 73800758fd
commit 1a23e1502c
3 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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:

View File

@ -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