diff options
author | Larry Ewing <lewing@ximian.com> | 2001-09-20 13:19:37 +0800 |
---|---|---|
committer | Larry Ewing <lewing@src.gnome.org> | 2001-09-20 13:19:37 +0800 |
commit | a2f730650072155ab39cbe591b935b19bc85cca7 (patch) | |
tree | f1abcdc9ddd876abbba1b77cbc1e660f9ab2a4a8 /calendar/gui/dialogs | |
parent | cfad07e359064567d8723407aa0163489e21673d (diff) | |
download | gsoc2013-evolution-a2f730650072155ab39cbe591b935b19bc85cca7.tar gsoc2013-evolution-a2f730650072155ab39cbe591b935b19bc85cca7.tar.gz gsoc2013-evolution-a2f730650072155ab39cbe591b935b19bc85cca7.tar.bz2 gsoc2013-evolution-a2f730650072155ab39cbe591b935b19bc85cca7.tar.lz gsoc2013-evolution-a2f730650072155ab39cbe591b935b19bc85cca7.tar.xz gsoc2013-evolution-a2f730650072155ab39cbe591b935b19bc85cca7.tar.zst gsoc2013-evolution-a2f730650072155ab39cbe591b935b19bc85cca7.zip |
make sure to release the ref on priv->comp.
2001-09-20 Larry Ewing <lewing@ximian.com>
* gui/dialogs/recurrence-page.c (recurrence_page_destroy): make
sure to release the ref on priv->comp.
* gui/dialogs/comp-editor.c (real_edit_comp): make sure to release
the ref on priv->comp.
svn path=/trunk/; revision=13008
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 5 | ||||
-rw-r--r-- | calendar/gui/dialogs/recurrence-page.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index ca2b7cfe4f..1b114d9ecf 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -253,6 +253,11 @@ comp_editor_destroy (GtkObject *object) priv->window = NULL; } + if (priv->comp) { + gtk_object_unref (priv->comp); + priv->comp = NULL; + } + gtk_signal_disconnect_by_data (GTK_OBJECT (priv->client), editor); g_free (priv); diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index ff9485d8ff..7a1982da17 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -304,6 +304,11 @@ recurrence_page_destroy (GtkObject *object) priv->xml = NULL; } + if (priv->comp) { + gtk_object_unref (GTK_OBJECT (priv->comp)); + priv->comp = NULL; + } + g_free (priv); rpage->priv = NULL; |