aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/dialogs/comp-editor-page.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 11873166ca..b45a52df66 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,4 +1,9 @@
2003-05-22 JP Rosevear <jpr@ximian.com>
+
+ * gui/dialogs/comp-editor-page.c (comp_editor_page_destroy): unref
+ not ref the client
+
+2003-05-22 JP Rosevear <jpr@ximian.com>
Fixes #41329
diff --git a/calendar/gui/dialogs/comp-editor-page.c b/calendar/gui/dialogs/comp-editor-page.c
index 957b1533d5..a0fdcca3a8 100644
--- a/calendar/gui/dialogs/comp-editor-page.c
+++ b/calendar/gui/dialogs/comp-editor-page.c
@@ -166,7 +166,7 @@ comp_editor_page_destroy (GtkObject *object)
page = COMP_EDITOR_PAGE (object);
if (page->client) {
- g_object_ref((page->client));
+ g_object_unref (page->client);
page->client = NULL;
}