Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 0970f107518eb369c7c30d2e52dc5edc > files > 3

aumix-2.8-18mdv2008.1.src.rpm

--- ./src/gtk.c.tv	2003-09-04 19:18:07.000000000 +0200
+++ ./src/gtk.c	2003-09-04 19:18:41.000000000 +0200
@@ -425,6 +425,7 @@
 /* Get the selected filename and copy it into the global save_filename. */
 {
 	save_filename = g_strdup(gtk_file_selection_get_filename(GTK_FILE_SELECTION(fs)));
+	gtk_widget_destroy(fs);
 	ErrorExitWarn(LoadSettings(), 'w');
 }
 
@@ -432,6 +433,7 @@
 /* Get the selected filename and copy it into the global save_filename. */
 {
 	save_filename = g_strdup(gtk_file_selection_get_filename(GTK_FILE_SELECTION(fs)));
+	gtk_widget_destroy(fs);
 	ErrorExitWarn(SaveSettings(), 'e');
 }