aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtoolkit
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtoolkit')
-rw-r--r--x11-toolkits/gtoolkit/files/patch-GTKMain.h13
-rw-r--r--x11-toolkits/gtoolkit/files/patch-GToolKit.m18
2 files changed, 29 insertions, 2 deletions
diff --git a/x11-toolkits/gtoolkit/files/patch-GTKMain.h b/x11-toolkits/gtoolkit/files/patch-GTKMain.h
new file mode 100644
index 000000000000..56c2e067eac4
--- /dev/null
+++ b/x11-toolkits/gtoolkit/files/patch-GTKMain.h
@@ -0,0 +1,13 @@
+--- GTKMain.h.orig 2002-02-21 16:43:49.000000000 +0100
++++ GTKMain.h 2011-04-15 20:17:34.000000000 +0200
+@@ -31,8 +31,8 @@
+ - (void) mainQuit;
+ - (gint) mainIteration;
+ - (gint) mainIterationDo:(gboolean) blocking;
+-- (gint) true;
+-- (gint) false;
++- (gint) val_true;
++- (gint) val_false;
+ - (void) grabAdd:(GTKWidget *) widget;
+ - (GTKWidget*) grabGetCurrent;
+ - (void) grabRemove:(GTKWidget *) widget;
diff --git a/x11-toolkits/gtoolkit/files/patch-GToolKit.m b/x11-toolkits/gtoolkit/files/patch-GToolKit.m
index 1f202e7111af..e6b424035831 100644
--- a/x11-toolkits/gtoolkit/files/patch-GToolKit.m
+++ b/x11-toolkits/gtoolkit/files/patch-GToolKit.m
@@ -1,5 +1,5 @@
---- GToolKit.m.orig Thu Feb 21 16:43:52 2002
-+++ GToolKit.m Wed Dec 25 11:12:44 2002
+--- GToolKit.m.orig 2002-02-21 16:43:52.000000000 +0100
++++ GToolKit.m 2011-04-15 20:17:16.000000000 +0200
@@ -2550,6 +2550,17 @@
#include <GToolKit/GTKWidget.h>
#include <GToolKit/GTKAccelGroup.h>
@@ -35,6 +35,20 @@
static void item_forward_signal (gpointer data, guint action, GtkWidget *widget)
+@@ -3134,11 +3135,11 @@
+ {
+ return gtk_main_iteration_do( blocking);
+ }
+-- (gint) true
++- (gint) val_true
+ {
+ return gtk_true();
+ }
+-- (gint) false
++- (gint) val_false
+ {
+ return gtk_false();
+ }
@@ -6376,6 +6377,10 @@
#include <GToolKit/GTKWidget.h>
#include <GToolKit/GTKAccelGroup.h>