---
 src/vikmapslayer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/vikmapslayer.c b/src/vikmapslayer.c
index b39c3c3..96a21f5 100644
--- a/src/vikmapslayer.c
+++ b/src/vikmapslayer.c
@@ -628,7 +628,7 @@ gboolean should_start_autodownload(VikMapsLayer *vml, 
VikViewport *vvp)
 {
   const VikCoord *center = vik_viewport_get_center ( vvp );
 
-  if (vik_window_get_pan_move (VIK_GTK_WINDOW_FROM_WIDGET(GTK_WIDGET(vvp))))
+  if (vik_window_get_pan_move 
(VIK_WINDOW(VIK_GTK_WINDOW_FROM_WIDGET(GTK_WIDGET(vvp)))))
     /* D'n'D pan in action: do not download */
     return FALSE;
 
-- 
1.7.1


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to