Set PSP_DEBUG to zero.

Save the settings, too, in gpb.c.
This commit is contained in:
Tor Lillqvist 1999-08-22 20:08:15 +00:00
parent 7a56ef950d
commit 52e705c4dd
3 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,8 @@
1999-08-22 Tor Lillqvist <tml@iki.fi>
* plug-ins/common/psp.c: Use g_message, not gimp_message.
g_message calls gimp_message eventually.
g_message calls gimp_message eventually. Disable the debugging
messages.
* plug-ins/common/gpb.c: New plug-in for saving Adrian's gpb files
(pixmap brushes) from an RGBA image. Probably just of temporary

View File

@ -360,7 +360,10 @@ run (char *name,
}
if (save_image (param[3].data.d_string, param[1].data.d_int32, param[2].data.d_int32))
status = STATUS_SUCCESS;
{
gimp_set_data ("file_gpb_save", &info, sizeof (info));
status = STATUS_SUCCESS;
}
else
status = STATUS_EXECUTION_ERROR;
}

View File

@ -27,7 +27,7 @@
*/
/* set to the level of debugging output you want, 0 for none */
#define PSP_DEBUG 3
#define PSP_DEBUG 0
/* the max number of layers that this plugin should try to load */
#define MAX_LAYERS 64