[gtk+/gtk-2-24] gail: Use non-deprecated gdk_pixmap_get_size()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] gail: Use non-deprecated gdk_pixmap_get_size()
- Date: Thu, 18 Nov 2010 16:53:56 +0000 (UTC)
commit 5101c0d46968ce54ec6ce3f40cb75063e1817c7c
Author: Benjamin Otte <otte redhat com>
Date: Wed Nov 17 06:27:36 2010 +0100
gail: Use non-deprecated gdk_pixmap_get_size()
modules/other/gail/gailimage.c | 2 +-
modules/other/gail/gailpixmap.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/other/gail/gailimage.c b/modules/other/gail/gailimage.c
index 6dd1e02..d6e9da1 100644
--- a/modules/other/gail/gailimage.c
+++ b/modules/other/gail/gailimage.c
@@ -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:
diff --git a/modules/other/gail/gailpixmap.c b/modules/other/gail/gailpixmap.c
index 0e9c926..d5abf65 100644
--- a/modules/other/gail/gailpixmap.c
+++ b/modules/other/gail/gailpixmap.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]