gail: Use non-deprecated gdk_pixmap_get_size()
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user