Commit eb61677a authored by Manish Singh's avatar Manish Singh
Browse files

see if CC needs -posix (for NeXTStep)

* configure.in: see if CC needs -posix (for NeXTStep)

* app/channels_dialog.c: added clarifying {}'s around if block

* app/gimpbrushlist.c: #if 0'd out some dead code

* plug-ins/script-fu/script-fu-server.c: removed unused variable declaration

-Yosh
parent a0062d08
Sun Sep 6 12:55:45 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: see if CC needs -posix (for NeXTStep)
* app/channels_dialog.c: added clarifying {}'s around if block
* app/gimpbrushlist.c: #if 0'd out some dead code
* plug-ins/script-fu/script-fu-server.c: removed unused variable
declaration
Fri Sep 4 17:48:42 BST 1998 Adam D. Moss <adam@gimp.org>
* plug-ins/psd/psd.c: Added the ability to load
......
......@@ -772,7 +772,7 @@ channel_list_events (GtkWidget *widget,
return TRUE;
}
/* Grumble - we have to handle double clicks ourselves because channels_dialog_flush is broken */
if (channel_widget->type == Auxillary)
if (channel_widget->type == Auxillary) {
if ((event->button.time < (button_click_time + 250)) && (channel_widget->ID == button_last_id)) {
channels_dialog_edit_channel_query (channel_widget);
return TRUE;
......@@ -780,6 +780,7 @@ channel_list_events (GtkWidget *widget,
button_click_time = event->button.time;
button_last_id = channel_widget->ID;
}
}
break;
case GDK_2BUTTON_PRESS:
......
......@@ -208,11 +208,13 @@ get_active_brush ()
}
#if 0
static GSList *
insert_brush_in_list (GSList *list, GimpBrush * brush)
{
return g_slist_insert_sorted (list, brush, brush_compare_func);
}
#endif
static void
create_default_brush ()
......
......@@ -772,7 +772,7 @@ channel_list_events (GtkWidget *widget,
return TRUE;
}
/* Grumble - we have to handle double clicks ourselves because channels_dialog_flush is broken */
if (channel_widget->type == Auxillary)
if (channel_widget->type == Auxillary) {
if ((event->button.time < (button_click_time + 250)) && (channel_widget->ID == button_last_id)) {
channels_dialog_edit_channel_query (channel_widget);
return TRUE;
......@@ -780,6 +780,7 @@ channel_list_events (GtkWidget *widget,
button_click_time = event->button.time;
button_last_id = channel_widget->ID;
}
}
break;
case GDK_2BUTTON_PRESS:
......
......@@ -65,6 +65,14 @@ dnl i18n stuff
ALL_LINGUAS=""
AM_GNU_GETTEXT
dnl NeXTStep cc seems to need this
AC_MSG_CHECKING([whether C compiler needs -posix])
AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;], posix=no, posix=yes)
AC_MSG_RESULT($posix)
if test "$posix" = yes; then
CFLAGS="$CFLAGS -posix"
fi
dnl Check for GTK+
AM_PATH_GTK(1.1.0,,
AC_MSG_ERROR(Test for GTK failed. See the file 'INSTALL' for help.))
......
......@@ -502,7 +502,7 @@ make_socket (guint port)
static void
server_log (gchar *format, ...)
{
va_list args, args2;
va_list args;
char *buf;
va_start (args, format);
......
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