Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich2006-08-03 12:44:06 -0400
committerFelipe Heidrich2006-08-03 12:44:06 -0400
commite9ae07fd367d911ee6d4e07d42035b0e3fd629db (patch)
treec6dd4a71673848dfdc9a20904c1c7828dab1d403
parent10c2700b43c51fd802e8f5c309861ff8d04a0fe6 (diff)
downloadeclipse.platform.swt-e9ae07fd367d911ee6d4e07d42035b0e3fd629db.tar.gz
eclipse.platform.swt-e9ae07fd367d911ee6d4e07d42035b0e3fd629db.tar.xz
eclipse.platform.swt-e9ae07fd367d911ee6d4e07d42035b0e3fd629db.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties8
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java19
2 files changed, 26 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties
index 6e4232d1bb..e33ce9374e 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties
@@ -2717,6 +2717,9 @@ OS__gtk_init_check=
OS__gtk_init_check_0=cast=(int *)
OS__gtk_init_check_1=cast=(char ***)
+OS__gtk_label_get_layout=
+OS__gtk_label_get_layout_0=cast=(GtkLabel *)
+
OS__gtk_label_get_mnemonic_keyval=
OS__gtk_label_get_mnemonic_keyval_0=cast=GtkLabel *
@@ -4881,7 +4884,10 @@ OS__pango_layout_get_alignment=
OS__pango_layout_get_alignment_0=cast=PangoLayout*
OS__pango_layout_get_attributes=
-OS__pango_layout_get_attributes_0=cast=PangoLayout *
+OS__pango_layout_get_attributes_0=cast=(PangoLayout *)
+
+OS__pango_layout_get_context=
+OS__pango_layout_get_context_0=cast=(PangoLayout *)
OS__pango_layout_get_indent=
OS__pango_layout_get_indent_0=cast=(PangoLayout*)
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
index 9a51855a7e..1e9af3150a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
@@ -469,6 +469,7 @@ public class OS extends Platform {
public static final byte[] pixbuf = ascii("pixbuf");
public static final byte[] text = ascii("text");
public static final byte[] xalign = ascii("xalign");
+ public static final byte[] ypad = ascii("ypad");
public static final byte[] GTK_PRINT_SETTINGS_OUTPUT_URI = ascii("output-uri");
public static final int GTK_VERSION = VERSION(gtk_major_version(), gtk_minor_version(), gtk_micro_version());
@@ -5130,6 +5131,15 @@ public static final boolean gtk_init_check(int /*long*/[] argc, int /*long*/[] a
lock.unlock();
}
}
+public static final native int /*long*/ _gtk_label_get_layout(int /*long*/ label);
+public static final int /*long*/ gtk_label_get_layout(int /*long*/ label) {
+ lock.lock();
+ try {
+ return _gtk_label_get_layout(label);
+ } finally {
+ lock.unlock();
+ }
+}
public static final native int _gtk_label_get_mnemonic_keyval(int /*long*/ label);
public static final int gtk_label_get_mnemonic_keyval(int /*long*/ label) {
lock.lock();
@@ -9705,6 +9715,15 @@ public static final int pango_layout_get_alignment(int /*long*/ layout) {
lock.unlock();
}
}
+public static final native int /*long*/ _pango_layout_get_context(int /*long*/ layout);
+public static final int /*long*/ pango_layout_get_context(int /*long*/ layout) {
+ lock.lock();
+ try {
+ return _pango_layout_get_context(layout);
+ } finally {
+ lock.unlock();
+ }
+}
public static final native int /*long*/ _pango_layout_get_attributes(int /*long*/ layout);
public static final int /*long*/ pango_layout_get_attributes(int /*long*/ layout) {
lock.lock();

Back to the top