aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-select-file.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-12-12 03:37:30 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-12-12 03:37:30 +0800
commit84cc28032ce8c3fe28901c48b7e52212ab48ada3 (patch)
tree7dbfebb6b08e3a875572ca5b2dadc067fc84394b /composer/e-msg-composer-select-file.c
parent8a954d04483a7b7343070bf8ba5bc58e15938877 (diff)
downloadgsoc2013-evolution-84cc28032ce8c3fe28901c48b7e52212ab48ada3.tar.gz
gsoc2013-evolution-84cc28032ce8c3fe28901c48b7e52212ab48ada3.tar.zst
gsoc2013-evolution-84cc28032ce8c3fe28901c48b7e52212ab48ada3.zip
If the widget is non-NULL, then gtk_widget_destroy that bad boy...
2001-12-11 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-select-file.c (file_selection_info_destroy_notify): If the widget is non-NULL, then gtk_widget_destroy that bad boy... svn path=/trunk/; revision=14984
Diffstat (limited to 'composer/e-msg-composer-select-file.c')
-rw-r--r--composer/e-msg-composer-select-file.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c
index d193a7afed..82733f9e5b 100644
--- a/composer/e-msg-composer-select-file.c
+++ b/composer/e-msg-composer-select-file.c
@@ -187,9 +187,8 @@ file_selection_info_destroy_notify (void *data)
info = (FileSelectionInfo *) data;
- if (info->widget != NULL) {
- gtk_object_unref (GTK_OBJECT (info->widget));
- }
+ if (info->widget != NULL)
+ gtk_widget_destroy (GTK_OBJECT (info->widget));
if (info->selected_files) {
for (i = 0; i < info->selected_files->len; i++)