Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Yan2019-04-18 15:40:42 +0000
committerXi Yan2019-04-18 15:40:42 +0000
commitfd5818d4a10a19cf89c2431ac70f15047ca3453e (patch)
tree5c5de27a80c1da9b4f3cb045823c6823bdb52fe9 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h
parent08546b99776a5367212d4e738d60fcf5d96e49af (diff)
downloadeclipse.platform.swt-fd5818d4a10a19cf89c2431ac70f15047ca3453e.tar.gz
eclipse.platform.swt-fd5818d4a10a19cf89c2431ac70f15047ca3453e.tar.xz
eclipse.platform.swt-fd5818d4a10a19cf89c2431ac70f15047ca3453e.zip
Bug 540903 - [GTK4] Adapt to GtkClipboard changes
1) ifdef gdk_display_get_*_clipboard on GTK4 2) Replace gtk_clipboard_clear with gdk_clipboard_set_content(null) Change-Id: I139b8606f01961c31adc56c08ad35c4abd1fb0bc Signed-off-by: Xi Yan <xixiyan@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h
index 99b1e5f6b5..98f86dd750 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h
@@ -424,6 +424,11 @@
#define NO__1gdk_1surface_1invalidate_1region
#define NO__1gdk_1event_1get_1surface
+// No GdkClipboard on GTK3
+#define NO__1gdk_1clipboard_1set_1content
+#define NO__1gdk_1display_1get_1clipboard
+#define NO__1gdk_1display_1get_1primary_1clipboard
+
// No GtkSnapshot on GTK3
#define NO__1gtk_1snapshot_1append_1cairo
#define NO__1gtk_1widget_1snapshot_1child

Back to the top