tPortable GTK stuff (temporarily) fixed so as to not build if GTK+ is not prese… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 216d8ead3fdadf684a9b96d6e48fc410a3d01e71 | |
parent 4eecef7a9ab09475080dec30c4e87ee871153657 | |
Author: Ben Webb <[email protected]> | |
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(-) | |
--- | |
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 */ | |
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__ */ |