gail: Use non-deprecated gdk_pixmap_get_size()

This commit is contained in:
Benjamin Otte 2010-11-17 06:27:36 +01:00
parent b70f365c22
commit 5101c0d469
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ gail_image_get_image_size (AtkImage *image,
{
GdkPixmap *pixmap;
gtk_image_get_pixmap(gtk_image, &pixmap, NULL);
gdk_drawable_get_size (pixmap, width, height);
gdk_pixmap_get_size (pixmap, width, height);
break;
}
case GTK_IMAGE_PIXBUF:

View File

@ -129,7 +129,7 @@ gail_pixmap_get_image_size (AtkImage *obj,
pixmap = GTK_PIXMAP (widget);
if (pixmap->pixmap)
gdk_drawable_get_size (pixmap->pixmap, width, height);
gdk_pixmap_get_size (pixmap->pixmap, width, height);
}
static gboolean