Updating branch refs/heads/master
         to 8715d4422bb8e24474cf036b9cd89ae403901764 (commit)
       from c6420777a9f4e9b7a1d8d4c4e7c2a36eb331aa1d (commit)

commit 8715d4422bb8e24474cf036b9cd89ae403901764
Author: Enrico Tröger <enr...@xfce.org>
Date:   Sat Jul 31 15:13:18 2010 +0200

    Don't try to destroy the mount progress dialog if it was closed before the 
mount finished

 src/backendgvfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/backendgvfs.c b/src/backendgvfs.c
index 29e85f3..50b7398 100644
--- a/src/backendgvfs.c
+++ b/src/backendgvfs.c
@@ -551,7 +551,7 @@ static void mount_ready_cb(GFile *location, GAsyncResult 
*res, MountInfo *mi)
        if (error != NULL)
                g_error_free(error);
 
-       if (mi->dialog != NULL)
+       if (mi->dialog != NULL && GTK_IS_WIDGET(mi->dialog))
                gtk_widget_destroy(mi->dialog);
 
        g_free(uri);
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to