[nautilus-actions] BaseAssistant: destroy the assistant when quitting
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] BaseAssistant: destroy the assistant when quitting
- Date: Thu, 22 Dec 2011 00:07:24 +0000 (UTC)
commit 65eafe6072ef2ef0b5d095b7a23e56ea5a33a377
Author: Pierre Wieser <pwieser trychlos org>
Date: Thu Dec 22 00:37:49 2011 +0100
BaseAssistant: destroy the assistant when quitting
ChangeLog | 2 ++
src/nact/base-assistant.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 67937e5..90a29ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2011-12-22 Pierre Wieser <pwieser trychlos org>
+ * src/nact/base-assistant.c (do_run): Destroy the assistant when quitting.
+
* src/core/na-export-format.c:
* src/core/na-export-format.h
(na_export_format_get_exporter): Renamed as na_export_format_get_provider().
diff --git a/src/nact/base-assistant.c b/src/nact/base-assistant.c
index 01d8b1a..541769d 100644
--- a/src/nact/base-assistant.c
+++ b/src/nact/base-assistant.c
@@ -345,6 +345,7 @@ do_run( BaseWindow *window, GtkWindow *toplevel )
( void * ) window, G_OBJECT_TYPE_NAME( window ),
( void * ) toplevel, G_OBJECT_TYPE_NAME( toplevel ));
gtk_main();
+ gtk_widget_destroy( GTK_WIDGET( toplevel ));
code = BASE_EXIT_CODE_OK;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]