tPortable GTK stuff (temporarily) fixed so as to not build if GTK+ is not present, or disabled - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 216d8ead3fdadf684a9b96d6e48fc410a3d01e71
(DIR) parent 4eecef7a9ab09475080dec30c4e87ee871153657
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Mon, 30 Apr 2001 02:01:05 +0000
Portable GTK stuff (temporarily) fixed so as to not build if GTK+ is not
present, or disabled
Diffstat:
M src/gtkport.c | 3 +++
M src/gtkport.h | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/gtkport.c b/src/gtkport.c
t@@ -27,6 +27,7 @@
#include <stdarg.h>
#include <glib.h>
+#ifdef GUI_CLIENT
#include "gtkport.h"
/* Internationalization stuff */
t@@ -4428,4 +4429,6 @@ gint GtkMessageBox(GtkWidget *parent,const gchar *Text,
return retval;
}
+#endif /* GUI_CLIENT */
+
#endif /* CYGWIN */
(DIR) diff --git a/src/gtkport.h b/src/gtkport.h
t@@ -5,6 +5,8 @@
#include <config.h>
#endif
+#ifdef GUI_CLIENT
+
#ifdef CYGWIN
/* GTK+ emulation prototypes etc. for Win32 platform */
t@@ -699,5 +701,5 @@ guint SetAccelerator(GtkWidget *labelparent,gchar *Text,
GtkAccelGroup *accel_group);
GtkWidget *gtk_scrolled_text_new(GtkAdjustment *hadj,GtkAdjustment *vadj,
GtkWidget **pack_widg);
-
+#endif /* GUI_CLIENT */
#endif /* __GTKPORT_H__ */