mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
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:
parent
73800758fd
commit
1a23e1502c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user