diff options
author | Eric Williams | 2019-03-01 20:39:42 +0000 |
---|---|---|
committer | Eric Williams | 2019-03-11 20:18:25 +0000 |
commit | 64ae338b9c279c9bbcc158165aa451193a503c0a (patch) | |
tree | b9d69d1d746eaac4c049dc92974b94ece2854912 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c | |
parent | 1dd8b6850f4caf6a689de54a9065a448fc455e46 (diff) | |
download | eclipse.platform.swt-64ae338b9c279c9bbcc158165aa451193a503c0a.tar.gz eclipse.platform.swt-64ae338b9c279c9bbcc158165aa451193a503c0a.tar.xz eclipse.platform.swt-64ae338b9c279c9bbcc158165aa451193a503c0a.zip |
Bug 540674: [GTK4] Adapt to new drawing model changes
This patch furthers the work on the drawing model changes in GTK4.
1) Remove instances of GdkEventExpose as this has been gone in GTK3
already.
2) Replace GDK drawing API with purely Cairo sourced drawing contexts
provided by draw/snapshot handlers or other such callbacks. This include
methods like Canvas.scroll().
3) Fixes the snapshot handling in SWT-GTK4 and propagates all snapshots
down the hierarchy to ensure things like Canvases drawing properly.
Change-Id: If96d1e0d33c97aeb5eed7bb6e5f478ee1785f30a
Signed-off-by: Eric Williams <ericwill@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c index 8d7c0091d0..2beb0cef97 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c @@ -28,7 +28,6 @@ char * GDK_nativeFunctionNames[] = { "GdkEventAny_1sizeof", "GdkEventButton_1sizeof", "GdkEventCrossing_1sizeof", - "GdkEventExpose_1sizeof", "GdkEventFocus_1sizeof", "GdkEventKey_1sizeof", "GdkEventMotion_1sizeof", @@ -211,10 +210,8 @@ char * GDK_nativeFunctionNames[] = { "_1gdk_1unicode_1to_1keyval", "_1gdk_1utf8_1to_1string_1target", "_1gdk_1visual_1get_1depth", - "_1gdk_1window_1begin_1draw_1frame", "_1gdk_1window_1create_1similar_1surface", "_1gdk_1window_1destroy", - "_1gdk_1window_1end_1draw_1frame", "_1gdk_1window_1focus", "_1gdk_1window_1get_1children", "_1gdk_1window_1get_1device_1position", @@ -1131,6 +1128,7 @@ char * GTK_nativeFunctionNames[] = { "_1gtk_1widget_1get_1margin_1start", "_1gtk_1widget_1get_1margin_1top", "_1gtk_1widget_1get_1name", + "_1gtk_1widget_1get_1next_1sibling", "_1gtk_1widget_1get_1opacity", "_1gtk_1widget_1get_1pango_1context", "_1gtk_1widget_1get_1parent", @@ -1822,11 +1820,6 @@ char * OS_nativeFunctionNames[] = { "memmove__Lorg_eclipse_swt_internal_gtk_GdkEventCrossing_2JJ", #endif #ifndef JNI64 - "memmove__Lorg_eclipse_swt_internal_gtk_GdkEventExpose_2II", -#else - "memmove__Lorg_eclipse_swt_internal_gtk_GdkEventExpose_2JJ", -#endif -#ifndef JNI64 "memmove__Lorg_eclipse_swt_internal_gtk_GdkEventFocus_2II", #else "memmove__Lorg_eclipse_swt_internal_gtk_GdkEventFocus_2JJ", |