only call gimp_ui_init() when being run in interactively. Should fix bug
2004-02-15 Sven Neumann <sven@gimp.org> * plug-ins/common/gif.c: only call gimp_ui_init() when being run in interactively. Should fix bug #134423.
This commit is contained in:

committed by
Sven Neumann

parent
0fa17c880c
commit
8ebce54f6b
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-15 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* plug-ins/common/gif.c: only call gimp_ui_init() when being run
|
||||||
|
in interactively. Should fix bug #134423.
|
||||||
|
|
||||||
2004-02-15 Michael Natterer <mitch@gimp.org>
|
2004-02-15 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/core/gimpdata.c (gimp_data_init): using
|
* app/core/gimpdata.c (gimp_data_init): using
|
||||||
|
@ -435,8 +435,6 @@ run (const gchar *name,
|
|||||||
|
|
||||||
if (strcmp (name, "file_gif_save") == 0)
|
if (strcmp (name, "file_gif_save") == 0)
|
||||||
{
|
{
|
||||||
gimp_ui_init ("gif", FALSE);
|
|
||||||
|
|
||||||
image_ID = orig_image_ID = param[1].data.d_int32;
|
image_ID = orig_image_ID = param[1].data.d_int32;
|
||||||
drawable_ID = param[2].data.d_int32;
|
drawable_ID = param[2].data.d_int32;
|
||||||
|
|
||||||
@ -445,6 +443,7 @@ run (const gchar *name,
|
|||||||
{
|
{
|
||||||
case GIMP_RUN_INTERACTIVE:
|
case GIMP_RUN_INTERACTIVE:
|
||||||
case GIMP_RUN_WITH_LAST_VALS:
|
case GIMP_RUN_WITH_LAST_VALS:
|
||||||
|
gimp_ui_init ("gif", FALSE);
|
||||||
export = gimp_export_image (&image_ID, &drawable_ID, "GIF",
|
export = gimp_export_image (&image_ID, &drawable_ID, "GIF",
|
||||||
(GIMP_EXPORT_CAN_HANDLE_INDEXED |
|
(GIMP_EXPORT_CAN_HANDLE_INDEXED |
|
||||||
GIMP_EXPORT_CAN_HANDLE_GRAY |
|
GIMP_EXPORT_CAN_HANDLE_GRAY |
|
||||||
|
Reference in New Issue
Block a user