use the GIMP_CHECK_SIZE_SM define, not the enum value

2004-09-27  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/fileops.pdb (file_load_thumbnail_invoker): use
	the GIMP_CHECK_SIZE_SM define, not the enum value
	GIMP_CHECK_SIZE_SMALL_CHECKS which is 0 (eeek!).

	* app/pdb/fileops_cmds.c: regenerated.

	* app/widgets/gimphelp.c (gimp_help_get_locales): minor cleanup.
This commit is contained in:
Sven Neumann 2004-09-26 23:26:25 +00:00 committed by Sven Neumann
parent 692863b31c
commit 75a59c682d
4 changed files with 18 additions and 8 deletions

View File

@ -1,3 +1,13 @@
2004-09-27 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/fileops.pdb (file_load_thumbnail_invoker): use
the GIMP_CHECK_SIZE_SM define, not the enum value
GIMP_CHECK_SIZE_SMALL_CHECKS which is 0 (eeek!).
* app/pdb/fileops_cmds.c: regenerated.
* app/widgets/gimphelp.c (gimp_help_get_locales): minor cleanup.
2004-09-26 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdataeditor.[ch]: added "data" property.

View File

@ -38,12 +38,12 @@
#include <glib-object.h>
#include "libgimpbase/gimpbase.h"
#include "libgimpthumb/gimpthumb.h"
#include "pdb-types.h"
#include "procedural_db.h"
#include "base/temp-buf.h"
#include "config/gimpbaseconfig.h"
#include "config/gimpconfig-path.h"
#include "core/gimp.h"
@ -301,7 +301,7 @@ file_load_thumbnail_invoker (Gimp *gimp,
gdk_pixbuf_composite_color (pixbuf, tmp,
0, 0, width, height, 0, 0, 1.0, 1.0,
GDK_INTERP_NEAREST, 255,
0, 0, GIMP_CHECK_SIZE_SMALL_CHECKS,
0, 0, GIMP_CHECK_SIZE_SM,
0x66666666, 0x99999999);
g_object_unref (pixbuf);

View File

@ -338,7 +338,7 @@ gimp_help_call (Gimp *gimp,
static gchar *
gimp_help_get_locales (GimpGuiConfig *config)
{
const gchar *lang;
const gchar *language;
gchar *locale;
if (config->help_locales && strlen (config->help_locales))
@ -349,11 +349,11 @@ gimp_help_get_locales (GimpGuiConfig *config)
/* Simulate the behaviour of GNU gettext() and look
* at LANGUAGE if the locale is not the "C" locale.
*/
lang = g_getenv ("LANGUAGE");
if (lang && (locale == NULL || strcmp (locale, "C")))
language = g_getenv ("LANGUAGE");
if (language && (locale == NULL || strcmp (locale, "C")))
{
g_free (locale);
return g_strdup (lang);
locale = language;
}
return g_strdup (locale);

View File

@ -248,7 +248,7 @@ HELP
gdk_pixbuf_composite_color (pixbuf, tmp,
0, 0, width, height, 0, 0, 1.0, 1.0,
GDK_INTERP_NEAREST, 255,
0, 0, GIMP_CHECK_SIZE_SMALL_CHECKS,
0, 0, GIMP_CHECK_SIZE_SM,
0x66666666, 0x99999999);
g_object_unref (pixbuf);
@ -532,7 +532,7 @@ CODE
}
@headers = qw(<sys/types.h> <unistd.h> <gdk-pixbuf/gdk-pixbuf.h>
"libgimpthumb/gimpthumb.h" "base/temp-buf.h"
"libgimpbase/gimpbase.h" "libgimpthumb/gimpthumb.h"
"core/gimp.h" "core/gimpimagefile.h"
"plug-in/plug-in.h" "plug-in/plug-ins.h"
"plug-in/plug-in-proc-def.h"