From 52e705c4dd52818596f9c47f9f894d891f6117b5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 22 Aug 1999 20:08:15 +0000 Subject: [PATCH] Set PSP_DEBUG to zero. Save the settings, too, in gpb.c. --- ChangeLog | 3 ++- plug-ins/common/gpb.c | 5 ++++- plug-ins/common/psp.c | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ed30045a70..a02142f07b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ 1999-08-22 Tor Lillqvist * 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 diff --git a/plug-ins/common/gpb.c b/plug-ins/common/gpb.c index dd6f34bf68..0a86e7c6b5 100644 --- a/plug-ins/common/gpb.c +++ b/plug-ins/common/gpb.c @@ -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; } diff --git a/plug-ins/common/psp.c b/plug-ins/common/psp.c index c7430340f7..0276d4e4ff 100644 --- a/plug-ins/common/psp.c +++ b/plug-ins/common/psp.c @@ -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