Commit 8612d50e authored by Manish Singh's avatar Manish Singh
Browse files

compile everything with -D_REENTRANT

* configure.in: compile everything with -D_REENTRANT

* app/menus.c: fix for default accel (wrong X char)

* libgimp/gimpenums.h: make DIVIDE_MODE visible

* plug-ins/gif/gif.c: make it less verbose again

-Yosh
parent ac1e12f8
Tue Jun 23 22:26:09 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: compile everything with -D_REENTRANT
* app/menus.c: fix for default accel (wrong X char)
* libgimp/gimpenums.h: make DIVIDE_MODE visible
* plug-ins/gif/gif.c: make it less verbose again
Wed Jun 24 00:45:01 MEST 1998 Sven Neumann <sven@gimp.org>
* gimprc.in
......
......@@ -299,8 +299,7 @@ EXTRA_DIST = \
CPPFLAGS = \
-DLIBDIR=\""$(gimpplugindir)"\" \
-DDATADIR=\""$(gimpdatadir)"\" \
-DGIMPDIR=\""$(gimpdir)"\" \
$(THREAD_CPPFLAGS)
-DGIMPDIR=\""$(gimpdir)"\"
INCLUDES = \
-I$(top_srcdir) \
......
......@@ -74,7 +74,7 @@ static GtkItemFactoryEntry image_entries[] =
{ "/Edit/Paste", "<control>V", edit_paste_cmd_callback, 0 },
{ "/Edit/Paste Into", NULL, edit_paste_into_cmd_callback, 0 },
{ "/Edit/Clear", "<control>K", edit_clear_cmd_callback, 0 },
{ "/Edit/Fill", "<control>.", edit_fill_cmd_callback, 0 },
{ "/Edit/Fill", "<control>period", edit_fill_cmd_callback, 0 },
{ "/Edit/Stroke", NULL, edit_stroke_cmd_callback, 0 },
{ "/Edit/Undo", "<control>Z", edit_undo_cmd_callback, 0 },
{ "/Edit/Redo", "<control>R", edit_redo_cmd_callback, 0 },
......
......@@ -74,7 +74,7 @@ static GtkItemFactoryEntry image_entries[] =
{ "/Edit/Paste", "<control>V", edit_paste_cmd_callback, 0 },
{ "/Edit/Paste Into", NULL, edit_paste_into_cmd_callback, 0 },
{ "/Edit/Clear", "<control>K", edit_clear_cmd_callback, 0 },
{ "/Edit/Fill", "<control>.", edit_fill_cmd_callback, 0 },
{ "/Edit/Fill", "<control>period", edit_fill_cmd_callback, 0 },
{ "/Edit/Stroke", NULL, edit_stroke_cmd_callback, 0 },
{ "/Edit/Undo", "<control>Z", edit_undo_cmd_callback, 0 },
{ "/Edit/Redo", "<control>R", edit_redo_cmd_callback, 0 },
......
......@@ -74,7 +74,7 @@ static GtkItemFactoryEntry image_entries[] =
{ "/Edit/Paste", "<control>V", edit_paste_cmd_callback, 0 },
{ "/Edit/Paste Into", NULL, edit_paste_into_cmd_callback, 0 },
{ "/Edit/Clear", "<control>K", edit_clear_cmd_callback, 0 },
{ "/Edit/Fill", "<control>.", edit_fill_cmd_callback, 0 },
{ "/Edit/Fill", "<control>period", edit_fill_cmd_callback, 0 },
{ "/Edit/Stroke", NULL, edit_stroke_cmd_callback, 0 },
{ "/Edit/Undo", "<control>Z", edit_undo_cmd_callback, 0 },
{ "/Edit/Redo", "<control>R", edit_redo_cmd_callback, 0 },
......
......@@ -74,7 +74,7 @@ static GtkItemFactoryEntry image_entries[] =
{ "/Edit/Paste", "<control>V", edit_paste_cmd_callback, 0 },
{ "/Edit/Paste Into", NULL, edit_paste_into_cmd_callback, 0 },
{ "/Edit/Clear", "<control>K", edit_clear_cmd_callback, 0 },
{ "/Edit/Fill", "<control>.", edit_fill_cmd_callback, 0 },
{ "/Edit/Fill", "<control>period", edit_fill_cmd_callback, 0 },
{ "/Edit/Stroke", NULL, edit_stroke_cmd_callback, 0 },
{ "/Edit/Undo", "<control>Z", edit_undo_cmd_callback, 0 },
{ "/Edit/Redo", "<control>R", edit_redo_cmd_callback, 0 },
......
......@@ -305,14 +305,13 @@ AC_CHECK_FUNC(difftime, , AC_DEFINE(NO_DIFFTIME))
dnl Threads
AC_ARG_WITH(threads, [ --with-threads=[posix] support threading ])
THREAD_CPPFLAGS= THREAD_LIBS=
THREAD_LIBS=
if test "x$with_threads" = "xposix" || test "x$with_threads" = "xyes"; then
AC_CHECK_LIB(pthread, pthread_attr_init,
AC_DEFINE(USE_PTHREADS)
THREAD_CPPFLAGS="-D_REENTRANT"
CFLAGS="$CFLAGS -D_REENTRANT"
THREAD_LIBS="-lpthread")
fi
AC_SUBST(THREAD_CPPFLAGS)
AC_SUBST(THREAD_LIBS)
CPPFLAGS="$gimp_save_CPPFLAGS"
......
......@@ -52,7 +52,8 @@ typedef enum
HUE_MODE = 11,
SATURATION_MODE = 12,
COLOR_MODE = 13,
VALUE_MODE = 14
VALUE_MODE = 14,
DIVIDE_MODE = 15
} GLayerMode;
typedef enum
......
......@@ -1439,7 +1439,7 @@ static int find_unused_ia_colour (guchar *pixels,
if (ix_used[i] == (gboolean)FALSE)
{
g_message ("GIF: Found unused colour index %d.\n",(int)i);
g_print ("GIF: Found unused colour index %d.\n",(int)i);
return i;
}
......
......@@ -1439,7 +1439,7 @@ static int find_unused_ia_colour (guchar *pixels,
if (ix_used[i] == (gboolean)FALSE)
{
g_message ("GIF: Found unused colour index %d.\n",(int)i);
g_print ("GIF: Found unused colour index %d.\n",(int)i);
return i;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment