opnsense-ports/chinese/gcin/files/patch-gcb.cpp
Franco Fichtner 82d861dc60 */*: sync with upstream
Taken from: FreeBSD
2017-03-09 01:59:41 +01:00

21 lines
445 B
C++

--- gcb.cpp.orig 2015-11-22 23:15:12 UTC
+++ gcb.cpp
@@ -1,3 +1,4 @@
+#if USE_GCB
#include <stdlib.h>
#include "os-dep.h"
#include <gtk/gtk.h>
@@ -6,6 +7,7 @@
#include "gcin.h"
#include "gcin-conf.h"
+void free_gcb();
static GtkWidget *mainwin;
static GtkClipboard *pclipboard_clipboard, *pclipboard_primary;
static GtkWidget **buttonArr;
@@ -529,4 +531,4 @@ void free_gcb() {
g_free(buttonStr); buttonStr = NULL;
}
}
-
+#endif