diff options
author | Benjamin Otte <otte@redhat.com> | 2010-10-05 00:22:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 01:50:02 +0800 |
commit | 97739da7ca7873a87d473d07db1ce5cfc297716f (patch) | |
tree | f6ac8d97a810ef878310d515824ba0d42cf6e166 /widgets | |
parent | c52b0f748f7a3cfc6f81c30c07295c9e55472e3a (diff) | |
download | gsoc2013-evolution-97739da7ca7873a87d473d07db1ce5cfc297716f.tar.gz gsoc2013-evolution-97739da7ca7873a87d473d07db1ce5cfc297716f.tar.zst gsoc2013-evolution-97739da7ca7873a87d473d07db1ce5cfc297716f.zip |
e-map: Query adjustment for size, not pixbuf
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-map.c | 4 |
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 */ |