[libchamplain/libchamplain-0-4] Add extra license text to test



commit 176177de3c3797ca1add5e1f09bef1049aa95d28
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date:   Tue Jan 5 12:46:47 2010 -0500

    Add extra license text to test

 demos/launcher-gtk.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/demos/launcher-gtk.c b/demos/launcher-gtk.c
index ce4a5be..305bca9 100644
--- a/demos/launcher-gtk.c
+++ b/demos/launcher-gtk.c
@@ -211,8 +211,12 @@ main (int argc,
   widget = gtk_champlain_embed_new ();
   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, "show-scale", TRUE, NULL);
+  g_object_set (G_OBJECT (view),
+      "scroll-mode", CHAMPLAIN_SCROLL_MODE_KINETIC,
+      "zoom-level", 5,
+      "license-text", "Don't eat cereals with orange juice\nIt tastes bad",
+      "show-scale", TRUE,
+      NULL);
   layer = create_marker_layer (view);
   champlain_view_add_layer(view, layer);
   champlain_layer_hide_all_markers (CHAMPLAIN_LAYER (layer));



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