mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
gail: Use non-deprecated gdk_pixmap_get_size()
This commit is contained in:
parent
b70f365c22
commit
5101c0d469
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user