[gimp] app: run dispose explicitely on the paint_options before unrefing them
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: run dispose explicitely on the paint_options before unrefing them
- Date: Sat, 26 Jun 2010 21:28:57 +0000 (UTC)
commit d596695afcd6213d205fb4c4042d02a27f1910d1
Author: Michael Natterer <mitch gimp org>
Date: Sat Jun 26 23:22:53 2010 +0200
app: run dispose explicitely on the paint_options before unrefing them
app/core/gimppaintinfo.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimppaintinfo.c b/app/core/gimppaintinfo.c
index 757a1f3..20b3ad3 100644
--- a/app/core/gimppaintinfo.c
+++ b/app/core/gimppaintinfo.c
@@ -66,6 +66,7 @@ gimp_paint_info_dispose (GObject *object)
if (paint_info->paint_options)
{
+ g_object_run_dispose (G_OBJECT (paint_info->paint_options));
g_object_unref (paint_info->paint_options);
paint_info->paint_options = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]