summaryrefslogtreecommitdiff
path: root/chinese/gcin/files/patch-gcb.cpp
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2019-04-24 14:20:30 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2019-04-24 14:20:30 +0000
commit7e775e74d6131768741faec953756efec695aa66 (patch)
treea3bdda7fd18041f112d8e0c6a08fbd7b00b2db1d /chinese/gcin/files/patch-gcb.cpp
parentUpdate to the 20180421 snapshot of GCC 9.0.1. (diff)
Update to 2.8.9.
Notes
Notes: svn path=/head/; revision=499846
Diffstat (limited to 'chinese/gcin/files/patch-gcb.cpp')
-rw-r--r--chinese/gcin/files/patch-gcb.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/chinese/gcin/files/patch-gcb.cpp b/chinese/gcin/files/patch-gcb.cpp
index 97336e1f66c6..bee76f248048 100644
--- a/chinese/gcin/files/patch-gcb.cpp
+++ b/chinese/gcin/files/patch-gcb.cpp
@@ -1,4 +1,4 @@
---- gcb.cpp.orig 2015-11-22 23:15:12 UTC
+--- gcb.cpp.orig 2019-03-06 00:33:25 UTC
+++ gcb.cpp
@@ -1,3 +1,4 @@
+#if USE_GCB
@@ -13,9 +13,12 @@
static GtkWidget *mainwin;
static GtkClipboard *pclipboard_clipboard, *pclipboard_primary;
static GtkWidget **buttonArr;
-@@ -529,4 +531,4 @@ void free_gcb() {
- g_free(buttonStr); buttonStr = NULL;
+@@ -256,7 +258,7 @@ static void get_mouse_button( GtkWidget *widget,GdkEve
+
}
}
-
+#endif
+ static void hist_get_mouse_button( GtkWidget *widget,GdkEventButton *event, gpointer data)
+ {
+ int i;