Commit 1d1be9f0 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

use gdisp->gimage->gimp instead of the_gimp.

2002-12-14  Michael Natterer  <mitch@gimp.org>

	* app/gui/plug-in-commands.c (plug_in_repeat_cmd_callback):
	use gdisp->gimage->gimp instead of the_gimp.

	* app/tools/gimpimagemaptool.c: pass update_popup == FALSE to
	gimp_display_shell_set_menu_sensitivity().
parent b9b40c45
2002-12-14 Michael Natterer <mitch@gimp.org>
* app/gui/plug-in-commands.c (plug_in_repeat_cmd_callback):
use gdisp->gimage->gimp instead of the_gimp.
* app/tools/gimpimagemaptool.c: pass update_popup == FALSE to
gimp_display_shell_set_menu_sensitivity().
2002-12-14 Sven Neumann <sven@gimp.org>
 
* app/gui/plug-in-commands.c (plug_in_repeat_cmd_callback): data
......
......@@ -157,7 +157,7 @@ plug_in_repeat_cmd_callback (GtkWidget *widget,
interactive = action ? TRUE : FALSE;
plug_in_repeat (the_gimp,
plug_in_repeat (gdisp->gimage->gimp,
gimp_display_get_ID (gdisp),
gimp_image_get_ID (gdisp->gimage),
gimp_item_get_ID (GIMP_ITEM (drawable)),
......
......@@ -157,7 +157,7 @@ plug_in_repeat_cmd_callback (GtkWidget *widget,
interactive = action ? TRUE : FALSE;
plug_in_repeat (the_gimp,
plug_in_repeat (gdisp->gimage->gimp,
gimp_display_get_ID (gdisp),
gimp_image_get_ID (gdisp->gimage),
gimp_item_get_ID (GIMP_ITEM (drawable)),
......
......@@ -257,7 +257,7 @@ gimp_image_map_tool_initialize (GimpTool *tool,
image_map_tool);
gimp_display_shell_set_menu_sensitivity (GIMP_DISPLAY_SHELL (gdisp->shell),
gdisp->gimage->gimp, TRUE);
gdisp->gimage->gimp, FALSE);
}
static void
......@@ -378,7 +378,7 @@ gimp_image_map_tool_ok_clicked (GtkWidget *widget,
gimp_tool_control_set_preserve (tool->control, FALSE);
gimp_display_shell_set_menu_sensitivity (GIMP_DISPLAY_SHELL (tool->gdisp->shell),
tool->gdisp->gimage->gimp, TRUE);
tool->gdisp->gimage->gimp, FALSE);
tool->gdisp = NULL;
tool->drawable = NULL;
......
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