Commit b80a584f authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

only close the dialog on GTK_RESPONSE_CLOSE.

2005-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/procedure-browser.c (run): only close the dialog
	on GTK_RESPONSE_CLOSE.
parent 29608a93
2005-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/procedure-browser.c (run): only close the dialog
on GTK_RESPONSE_CLOSE.
2005-08-18 Michael Natterer <mitch@gimp.org>
* plug-ins/common/animoptimize.c
......
......@@ -125,14 +125,14 @@ run (const gchar *name,
dialog = gimp_proc_browser_dialog_new ();
gtk_dialog_add_button (GTK_DIALOG (dialog),
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
gtk_dialog_run (GTK_DIALOG (dialog));
while (gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_CLOSE);
gtk_widget_destroy (dialog);
}
break;
case GIMP_RUN_WITH_LAST_VALS:
case GIMP_RUN_NONINTERACTIVE:
g_warning ("dbbrowser allows only interactive invocation");
g_warning (PLUG_IN_PROC " allows only interactive invocation");
values[0].data.d_status = GIMP_PDB_CALLING_ERROR;
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment