use gtk_window_present() instead of reimplementing its functionality.

2003-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CML_explorer.c (CML_save_to_file_callback): use
	gtk_window_present() instead of reimplementing its functionality.
This commit is contained in:
Sven Neumann 2003-06-06 10:56:08 +00:00 committed by Sven Neumann
parent f50e083734
commit 4ff89cbdc5
2 changed files with 9 additions and 6 deletions

View File

@ -1,7 +1,12 @@
2003-06-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/CML_explorer.c (CML_save_to_file_callback): use
gtk_window_present() instead of reimplementing its functionality.
2003-06-06 Maurits <lpeek.mrijk@consunet.nl>
* plug-ins/script-fu/scripts/old-photo.scm: fix for #114496 (Script-Fu:
Old Photo can't be completely undone)
* plug-ins/script-fu/scripts/old-photo.scm: fix for #114496
(Script-Fu: Old Photo can't be completely undone)
* plug-ins/common/CML_explorer.c: fix for #83947 (CML explorer:
multiple instantiations of Load Parameters dialog)

View File

@ -2104,14 +2104,12 @@ CML_save_to_file_callback (GtkWidget *widget,
gimp_help_connect (filesel, gimp_standard_help_func,
"filters/cml_explorer.html");
}
if (strlen (VALS.last_file_name) > 0)
gtk_file_selection_set_filename (GTK_FILE_SELECTION (filesel),
VALS.last_file_name);
if (GTK_WIDGET_VISIBLE (filesel))
gdk_window_raise (filesel->window);
else
gtk_widget_show (filesel);
gtk_window_present (GTK_WINDOW (filesel));
}
static void