[emerillon] Remove Placemarks Layer on plugin deactivation
- From: Åukasz JernaÅ <ljernas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [emerillon] Remove Placemarks Layer on plugin deactivation
- Date: Tue, 3 Apr 2012 15:43:23 +0000 (UTC)
commit 4a122b688c83ccd9d81833a042477f6615715a1a
Author: Jordi Castells <jordi kstells gmail com>
Date: Tue Mar 20 09:50:20 2012 +0100
Remove Placemarks Layer on plugin deactivation
plugins/placemarks/placemarks.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/placemarks/placemarks.c b/plugins/placemarks/placemarks.c
index 33a63c9..a49c042 100644
--- a/plugins/placemarks/placemarks.c
+++ b/plugins/placemarks/placemarks.c
@@ -624,5 +624,7 @@ impl_deactivate (PeasActivatable *plugin)
gtk_ui_manager_remove_action_group (manager,
priv->action_group);
+ champlain_view_remove_layer(priv->map_view, CHAMPLAIN_LAYER(priv->markers_layer));
+
g_object_unref (priv->model);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]