mirror of https://github.com/GNOME/gimp.git
data is not a Gimp pointer if this function is called from an image
2002-12-14 Sven Neumann <sven@gimp.org> * app/gui/plug-in-commands.c (plug_in_repeat_cmd_callback): data is not a Gimp pointer if this function is called from an image menubar. Use the_gimp instead of crashing.
This commit is contained in:
parent
78fb9db8cc
commit
b9b40c4516
|
@ -1,3 +1,9 @@
|
|||
2002-12-14 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/gui/plug-in-commands.c (plug_in_repeat_cmd_callback): data
|
||||
is not a Gimp pointer if this function is called from an image
|
||||
menubar. Use the_gimp instead of crashing.
|
||||
|
||||
2002-12-14 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/tools/gimpimagemaptool.c: made it compile after Mitch's
|
||||
|
@ -11,7 +17,7 @@
|
|||
* app/config/gimpdisplayconfig.[ch]: renamed "menu_bar_per_display"
|
||||
to "show_menubar". Removed GIMP_PARAM_RESTART flag.
|
||||
|
||||
* app/display/gimpdisplayshell.[ch]: chaged shell->item_factory to
|
||||
* app/display/gimpdisplayshell.[ch]: changed shell->item_factory to
|
||||
shell->menubar_factory plus shell->popup_factory and always create
|
||||
both of them. Added "gboolean update_popup" to
|
||||
gimp_display_shell_set_menu_sensitivity() and call it recursively
|
||||
|
|
|
@ -157,7 +157,7 @@ plug_in_repeat_cmd_callback (GtkWidget *widget,
|
|||
|
||||
interactive = action ? TRUE : FALSE;
|
||||
|
||||
plug_in_repeat (GIMP (data),
|
||||
plug_in_repeat (the_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 (GIMP (data),
|
||||
plug_in_repeat (the_gimp,
|
||||
gimp_display_get_ID (gdisp),
|
||||
gimp_image_get_ID (gdisp->gimage),
|
||||
gimp_item_get_ID (GIMP_ITEM (drawable)),
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
Makefile
|
||||
Makefile.in
|
||||
deprecated
|
||||
libgimp.args
|
||||
libgimp.hierarchy
|
||||
libgimp.signals
|
||||
|
|
Loading…
Reference in New Issue