[libchamplain] Clear the points when the polygon is disposed
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain] Clear the points when the polygon is disposed
- Date: Fri, 31 Jul 2009 23:45:33 +0000 (UTC)
commit 57ab1ac208fc3e3893bdc332c3e7372c91712ff4
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date: Wed Jul 29 22:33:47 2009 +0200
Clear the points when the polygon is disposed
champlain/champlain-polygon.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/champlain/champlain-polygon.c b/champlain/champlain-polygon.c
index 8567c20..218cd10 100644
--- a/champlain/champlain-polygon.c
+++ b/champlain/champlain-polygon.c
@@ -145,6 +145,8 @@ champlain_polygon_dispose (GObject *object)
priv->actor = NULL;
}
+ champlain_polygon_clear_points (CHAMPLAIN_POLYGON (object));
+
G_OBJECT_CLASS (champlain_polygon_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]