Commit 1a23e150 authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

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
parent 73800758
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
......
......@@ -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:
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment