summaryrefslogtreecommitdiff
path: root/demos/url-marker.c
diff options
context:
space:
mode:
authorJiří Techet <techet@gmail.com>2010-01-30 20:42:43 +0100
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>2010-02-16 15:41:22 -0500
commit10f977db44dab93e2a89f32d5081fddb21a08b23 (patch)
tree6944993e636e8b7c61a3985d4336bbd59e4f4afa /demos/url-marker.c
parentba7b3c6758443a52965f42e917143f72f89918e8 (diff)
downloadlibchamplain-10f977db44dab93e2a89f32d5081fddb21a08b23.tar.gz
Fix view destruction upon shutdown.
View (and indirectly map sources) were not destroyed because gtk_champlain_embed * didn't chain dispose Also the view has to be destroyed manually when inserted into stage obtained from clutter_stage_get_default() - it appears that it isn't destroyed upon application shutdown. Signed-off-by: Jiří Techet <techet@gmail.com>
Diffstat (limited to 'demos/url-marker.c')
-rw-r--r--demos/url-marker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/url-marker.c b/demos/url-marker.c
index 2b13f2b..530a185 100644
--- a/demos/url-marker.c
+++ b/demos/url-marker.c
@@ -270,5 +270,6 @@ main (int argc, char *argv[])
g_object_unref (session);
+ clutter_actor_destroy (view);
return 0;
}