aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-map.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-05 00:22:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:50:02 +0800
commit97739da7ca7873a87d473d07db1ce5cfc297716f (patch)
treef6ac8d97a810ef878310d515824ba0d42cf6e166 /widgets/misc/e-map.c
parentc52b0f748f7a3cfc6f81c30c07295c9e55472e3a (diff)
downloadgsoc2013-evolution-97739da7ca7873a87d473d07db1ce5cfc297716f.tar
gsoc2013-evolution-97739da7ca7873a87d473d07db1ce5cfc297716f.tar.gz
gsoc2013-evolution-97739da7ca7873a87d473d07db1ce5cfc297716f.tar.bz2
gsoc2013-evolution-97739da7ca7873a87d473d07db1ce5cfc297716f.tar.lz
gsoc2013-evolution-97739da7ca7873a87d473d07db1ce5cfc297716f.tar.xz
gsoc2013-evolution-97739da7ca7873a87d473d07db1ce5cfc297716f.tar.zst
gsoc2013-evolution-97739da7ca7873a87d473d07db1ce5cfc297716f.zip
e-map: Query adjustment for size, not pixbuf
Diffstat (limited to 'widgets/misc/e-map.c')
-rw-r--r--widgets/misc/e-map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/e-map.c b/widgets/misc/e-map.c
index 0af34f972c..eb73174f1c 100644
--- a/widgets/misc/e-map.c
+++ b/widgets/misc/e-map.c
@@ -42,8 +42,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 */