[gnome-system-tools/rendering-cleanup: 8/20] e-map: Query adjustment for size, not pixbuf
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-tools/rendering-cleanup: 8/20] e-map: Query adjustment for size, not pixbuf
- Date: Tue, 5 Oct 2010 16:40:52 +0000 (UTC)
commit e8352f36eacb4db7f85fc878bdcd07b09ba0d6e0
Author: Benjamin Otte <otte redhat com>
Date: Mon Oct 4 18:22:46 2010 +0200
e-map: Query adjustment for size, not pixbuf
src/time/e-map/e-map.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/time/e-map/e-map.c b/src/time/e-map/e-map.c
index 52be093..4597b7a 100644
--- a/src/time/e-map/e-map.c
+++ b/src/time/e-map/e-map.c
@@ -38,8 +38,8 @@
/* */
-#define E_MAP_GET_WIDTH(map) gdk_pixbuf_get_width(((EMapPrivate *) E_MAP(map)->priv)->map_render_pixbuf)
-#define E_MAP_GET_HEIGHT(map) gdk_pixbuf_get_height(((EMapPrivate *) E_MAP(map)->priv)->map_render_pixbuf)
+#define E_MAP_GET_WIDTH(map) gtk_adjustment_get_upper((map)->priv->hadj)
+#define E_MAP_GET_HEIGHT(map) gtk_adjustment_get_upper((map)->priv->vadj)
/* Zoom state - keeps track of animation hacks */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]