aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-07-13 01:48:47 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-07-13 01:48:47 +0800
commitbcbec07734a057f9aae139d37f6e30eee2b13de4 (patch)
tree3e946b1cb316eb7c7c65aac2ae2a743940721795 /shell
parente76cfada5e0e8308ca46c1a916c03f3a69094663 (diff)
downloadgsoc2013-evolution-bcbec07734a057f9aae139d37f6e30eee2b13de4.tar
gsoc2013-evolution-bcbec07734a057f9aae139d37f6e30eee2b13de4.tar.gz
gsoc2013-evolution-bcbec07734a057f9aae139d37f6e30eee2b13de4.tar.bz2
gsoc2013-evolution-bcbec07734a057f9aae139d37f6e30eee2b13de4.tar.lz
gsoc2013-evolution-bcbec07734a057f9aae139d37f6e30eee2b13de4.tar.xz
gsoc2013-evolution-bcbec07734a057f9aae139d37f6e30eee2b13de4.tar.zst
gsoc2013-evolution-bcbec07734a057f9aae139d37f6e30eee2b13de4.zip
(clicked): Ref the parent_window and then unref after you are done using
(clicked): Ref the parent_window and then unref after you are done using it. [#27673] svn path=/trunk/; revision=17441
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/evolution-folder-selector-button.c2
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),