From 6684bb8aa8d244c4932765e69910c28530fe007f Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 20 Jun 2003 14:05:17 +0000 Subject: [PATCH] pass the gdisp_ID to plug_in_run() again. Broke this with my last 2003-06-20 Michael Natterer * 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... --- ChangeLog | 5 +++++ app/actions/plug-in-commands.c | 2 ++ app/gui/plug-in-commands.c | 2 ++ 3 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index a25e15ae0c..eabcf52cf2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-06-20 Michael Natterer + + * 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 * libgimp/gimp.c (gimp_config): fixed error messages. diff --git a/app/actions/plug-in-commands.c b/app/actions/plug-in-commands.c index b4c496f85d..3460b56ea0 100644 --- a/app/actions/plug-in-commands.c +++ b/app/actions/plug-in-commands.c @@ -96,6 +96,8 @@ plug_in_run_cmd_callback (GtkWidget *widget, if (gdisplay) { + gdisp_ID = gimp_display_get_ID (gdisplay); + args[1].value.pdb_int = gimp_image_get_ID (gdisplay->gimage); argc++; diff --git a/app/gui/plug-in-commands.c b/app/gui/plug-in-commands.c index b4c496f85d..3460b56ea0 100644 --- a/app/gui/plug-in-commands.c +++ b/app/gui/plug-in-commands.c @@ -96,6 +96,8 @@ plug_in_run_cmd_callback (GtkWidget *widget, if (gdisplay) { + gdisp_ID = gimp_display_get_ID (gdisplay); + args[1].value.pdb_int = gimp_image_get_ID (gdisplay->gimage); argc++;