rewrote so gcc-3.0 doesn't complain.
2001-10-29 Sven Neumann <sven@gimp.org> * app/base/temp-buf.c (temp_buf_to_gray): rewrote so gcc-3.0 doesn't complain. * app/widgets/gimpfontselection-dialog.c: use g_ascii_strcasecmp(). * libgimp/gimpintl.h * libgimp/stdplugins-intl.h * plug-ins/script-fu/script-fu-intl.h: don't call gtk_set_locale() since gtk_init() does it for us now. Don't set LC_NUMERIC to "C". INIT_I18N_UI() is the same as INIT_I18N_UI() now. * app/devices.c * app/gimprc.c * app/core/gimpbrushgenerated.c * app/core/gimpgradient.c * app/gui/color-notebook.c * app/gui/gradients-commands.c * plug-ins/gfig/gfig.c * plug-ins/gflare/gflare.c * plug-ins/gimpressionist/presets.c * plug-ins/ifscompose/ifscompose_storage.c: use g_ascii_formatd() and g_ascii_strtod() to serialize and deserialize floats. These functions are locale-independent. There are probably more places that need to be fixed in this fashion. * plug-ins/script-fu/script-fu-console.c * plug-ins/script-fu/script-fu-scripts.c * plug-ins/script-fu/script-fu-server.c * plug-ins/script-fu/script-fu.c: s/INIT_I18N_UI/INIT_I18N/ * tools/gimp-remote.c * app/widgets/gimpwidgets-utils.c * app/core/gimpimage-contiguous-region.c * app/paint-funcs/paint-funcs-indexeda.c * app/paint-funcs/paint-funcs.c * app/tools/gimppathtool.c * app/tools/path_tool.c * modules/colorsel_triangle.c * plug-ins/common/mpeg.c * plug-ins/imagemap/imap_csim_parse.c: cleanups
This commit is contained in:
committed by
Sven Neumann
parent
05e15eb1cc
commit
de5af18f87
@ -21,7 +21,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
@ -77,7 +76,7 @@ gimp_message_box (gchar *message,
|
||||
|
||||
if (g_list_length (message_boxes) > MESSAGE_BOX_MAXIMUM)
|
||||
{
|
||||
fprintf (stderr, "%s: %s\n", prog_name, message);
|
||||
g_printerr ("%s: %s\n", prog_name, message);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -115,7 +114,7 @@ gimp_message_box (gchar *message,
|
||||
|
||||
if (g_list_length (message_boxes) == MESSAGE_BOX_MAXIMUM)
|
||||
{
|
||||
fprintf (stderr, "%s: %s\n", prog_name, message);
|
||||
g_printerr ("%s: %s\n", prog_name, message);
|
||||
message = _("WARNING:\n"
|
||||
"Too many open message dialogs.\n"
|
||||
"Messages are redirected to stderr.");
|
||||
|
||||
Reference in New Issue
Block a user