diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 6 | ||||
-rw-r--r-- | shell/evolution-folder-selector-button.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index cc4bd28555..c515d7f3b8 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2002-07-12 Ettore Perazzoli <ettore@ximian.com> + + * evolution-folder-selector-button.c (clicked): Ref the + parent_window and then unref after you are done using it. + [#27673] + 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (eshellinclude_HEADERS): Install some headers diff --git a/shell/evolution-folder-selector-button.c b/shell/evolution-folder-selector-button.c index 56cc1ca13b..cf1d4b802f 100644 --- a/shell/evolution-folder-selector-button.c +++ b/shell/evolution-folder-selector-button.c @@ -134,6 +134,7 @@ clicked (GtkButton *button) GTK_TYPE_WINDOW); gtk_widget_set_sensitive (GTK_WIDGET (parent_window), FALSE); + gtk_object_ref (GTK_OBJECT (parent_window)); folder_selector_button = EVOLUTION_FOLDER_SELECTOR_BUTTON (button); priv = folder_selector_button->priv; @@ -149,6 +150,7 @@ clicked (GtkButton *button) &return_folder); gtk_widget_set_sensitive (GTK_WIDGET (parent_window), TRUE); + gtk_object_unref (GTK_OBJECT (parent_window)); if (!return_folder) { gtk_signal_emit (GTK_OBJECT (folder_selector_button), |