Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-10-08 19:28:22 +0000
committerAlexander Kurtakov2012-10-08 19:29:41 +0000
commit9500727710c9626dc536a0475cdc8a8842b13b33 (patch)
tree982c756b42976a081a3ff63eaf1f05bbe57e2fbe /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
parent2a6e0c9b702b0b502452265cc844e28c66b4245c (diff)
downloadeclipse.platform.swt-9500727710c9626dc536a0475cdc8a8842b13b33.tar.gz
eclipse.platform.swt-9500727710c9626dc536a0475cdc8a8842b13b33.tar.xz
eclipse.platform.swt-9500727710c9626dc536a0475cdc8a8842b13b33.zip
Use gtk_selection_data_get* functions instead of GtkSelectionData struct
Fix for bug 391370. Struct members should not be accessed directly and using the members will allow to remove the memmove/sizeof bindings for GtkSelectionData which fail to compile on GTK 3.x. New implementation is used for GTK 2.14+ when the functions were introduced.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
index b6a58dfadd..1074782028 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
@@ -986,6 +986,11 @@ typedef enum {
_1gtk_1scrolled_1window_1set_1policy_FUNC,
_1gtk_1scrolled_1window_1set_1shadow_1type_FUNC,
_1gtk_1selection_1data_1free_FUNC,
+ _1gtk_1selection_1data_1get_1data_FUNC,
+ _1gtk_1selection_1data_1get_1data_1type_FUNC,
+ _1gtk_1selection_1data_1get_1format_FUNC,
+ _1gtk_1selection_1data_1get_1length_FUNC,
+ _1gtk_1selection_1data_1get_1target_FUNC,
_1gtk_1selection_1data_1set_FUNC,
_1gtk_1separator_1menu_1item_1new_FUNC,
_1gtk_1separator_1new_FUNC,

Back to the top