pass the gdisp_ID to plug_in_run() again. Broke this with my last

2003-06-20  Michael Natterer  <mitch@gimp.org>

	* app/gui/plug-in-commands.c (plug_in_run_cmd_callback): pass the
	gdisp_ID to plug_in_run() again. Broke this with my last commit...
This commit is contained in:
Michael Natterer 2003-06-20 14:05:17 +00:00 committed by Michael Natterer
parent 335c71c4e5
commit 6684bb8aa8
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-06-20 Michael Natterer <mitch@gimp.org>
* app/gui/plug-in-commands.c (plug_in_run_cmd_callback): pass the
gdisp_ID to plug_in_run() again. Broke this with my last commit...
2003-06-20 Sven Neumann <sven@gimp.org> 2003-06-20 Sven Neumann <sven@gimp.org>
* libgimp/gimp.c (gimp_config): fixed error messages. * libgimp/gimp.c (gimp_config): fixed error messages.

View File

@ -96,6 +96,8 @@ plug_in_run_cmd_callback (GtkWidget *widget,
if (gdisplay) if (gdisplay)
{ {
gdisp_ID = gimp_display_get_ID (gdisplay);
args[1].value.pdb_int = gimp_image_get_ID (gdisplay->gimage); args[1].value.pdb_int = gimp_image_get_ID (gdisplay->gimage);
argc++; argc++;

View File

@ -96,6 +96,8 @@ plug_in_run_cmd_callback (GtkWidget *widget,
if (gdisplay) if (gdisplay)
{ {
gdisp_ID = gimp_display_get_ID (gdisplay);
args[1].value.pdb_int = gimp_image_get_ID (gdisplay->gimage); args[1].value.pdb_int = gimp_image_get_ID (gdisplay->gimage);
argc++; argc++;