diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java index 163906e608..399aa54052 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java @@ -6100,6 +6100,18 @@ public class GTK extends OS { } } /** + * @param context cast=(GtkStyleContext *) + */ + public static final native long _gtk_style_context_get_parent(long context); + public static final long gtk_style_context_get_parent(long context) { + lock.lock(); + try { + return _gtk_style_context_get_parent(context); + } finally { + lock.unlock(); + } + } + /** * @method flags=dynamic * @param context cast=(GtkStyleContext *) * @param padding cast=(GtkBorder *),flags=no_in |