[Xfce4-commits] <xfce4-settings:master> Properly destroy dialog on exit.

Nick Schermer noreply at xfce.org
Thu Jan 26 23:02:11 CET 2012


Updating branch refs/heads/master
         to 339aa7dcac4f4041597a5dbf8264fc78e8550923 (commit)
       from c18f2be0773a79f173f95c5bb76b51c1e68c037f (commit)

commit 339aa7dcac4f4041597a5dbf8264fc78e8550923
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Jan 26 19:39:19 2012 +0100

    Properly destroy dialog on exit.

 .../xfce-settings-manager-dialog.c                 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xfce4-settings-manager/xfce-settings-manager-dialog.c b/xfce4-settings-manager/xfce-settings-manager-dialog.c
index ae0e507..f55bceb 100644
--- a/xfce4-settings-manager/xfce-settings-manager-dialog.c
+++ b/xfce4-settings-manager/xfce-settings-manager-dialog.c
@@ -332,6 +332,7 @@ xfce_settings_manager_dialog_response (GtkDialog *widget,
     }
     else
     {
+        gtk_widget_destroy (GTK_WIDGET (widget));
         gtk_main_quit ();
     }
 }
@@ -688,7 +689,6 @@ xfce_settings_manager_dialog_entry_key_press (GtkWidget                 *entry,
             if (!gtk_widget_get_visible (category->box))
                 continue;
 
-
             path = gtk_tree_path_new_first ();
             if (n_visible_items == 1)
             {


More information about the Xfce4-commits mailing list