Commit ba7b3c6758443a52965f42e917143f72f89918e8

Use cached source when switching map sources.

Signed-off-by: Jiří Techet <techet@gmail.com>
demos/launcher-gtk.c
(1 / 1)
  
8484 gtk_tree_model_get (model, &iter, COL_ID, &id, -1);
8585
8686 ChamplainMapSourceFactory *factory = champlain_map_source_factory_dup_default ();
87 source = champlain_map_source_factory_create (factory, id);
87 source = champlain_map_source_factory_create_cached_source (factory, id);
8888
8989 g_object_set (G_OBJECT (view), "map-source", source, NULL);
9090 g_object_unref (factory);

Comments

Add a new comment:

Login or create an account to post a comment

Add your comment