[libchamplain] Remove extra code from the minimal-gtk demo



commit 5baba3de821b2ea2e34f1de41c78cfc2165ee185
Author: JiÅ?í Techet <techet gmail com>
Date:   Fri Aug 20 17:05:57 2010 +0200

    Remove extra code from the minimal-gtk demo
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 demos/minimal-gtk.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/demos/minimal-gtk.c b/demos/minimal-gtk.c
index 386a1a6..ea3383a 100644
--- a/demos/minimal-gtk.c
+++ b/demos/minimal-gtk.c
@@ -41,11 +41,6 @@ main (int argc, char *argv[])
   widget = gtk_champlain_embed_new ();
   gtk_widget_set_size_request (widget, 640, 480);
 
-  ChamplainView *view = gtk_champlain_embed_get_view (GTK_CHAMPLAIN_EMBED (widget));
-  g_object_set (G_OBJECT (view), "scroll-mode", CHAMPLAIN_SCROLL_MODE_KINETIC,
-      "zoom-level", 5, NULL);
-  champlain_view_center_on (CHAMPLAIN_VIEW (view), 45.466, -73.75);
-
   /* insert it into the widget you wish */
   gtk_container_add (GTK_CONTAINER (window), widget);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]