always call gimp_ui_init(), we need funtionality from GTK+, even if called
2007-07-25 Sven Neumann <sven@gimp.org> * plug-ins/print/print.c (run): always call gimp_ui_init(), we need funtionality from GTK+, even if called non-interactively. svn path=/trunk/; revision=22996
This commit is contained in:

committed by
Sven Neumann

parent
b4519a54dd
commit
f1d9937c25
@ -1,3 +1,8 @@
|
||||
2007-07-25 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/print/print.c (run): always call gimp_ui_init(), we need
|
||||
funtionality from GTK+, even if called non-interactively.
|
||||
|
||||
2007-07-25 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* tools/pdbgen/pdb/progress.pdb: added new procedure gimp-progress-end.
|
||||
|
@ -131,8 +131,7 @@ run (const gchar *name,
|
||||
|
||||
if (strcmp (name, PRINT_PROC_NAME) == 0)
|
||||
{
|
||||
if (run_mode == GIMP_RUN_INTERACTIVE)
|
||||
gimp_ui_init (PLUG_IN_BINARY, FALSE);
|
||||
gimp_ui_init (PLUG_IN_BINARY, FALSE);
|
||||
|
||||
if (! print_image (image_ID, drawable_ID,
|
||||
run_mode == GIMP_RUN_INTERACTIVE))
|
||||
|
Reference in New Issue
Block a user