Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2004-11-05 16:32:16 +0000
committerSilenio Quarti2004-11-05 16:32:16 +0000
commitd4ae5e0d336ed1fdebf316bc3cb16a706e336773 (patch)
tree504185c7d4faa6795e32206656fb53c9868f101c /bundles
parentd32130e099bbea405485e68ea744aab9478f396c (diff)
downloadeclipse.platform.swt-d4ae5e0d336ed1fdebf316bc3cb16a706e336773.tar.gz
eclipse.platform.swt-d4ae5e0d336ed1fdebf316bc3cb16a706e336773.tar.xz
eclipse.platform.swt-d4ae5e0d336ed1fdebf316bc3cb16a706e336773.zip
*** empty log message ***
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c10
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java1
5 files changed, 18 insertions, 2 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 6b04a4dafe..be0de955b2 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
@@ -1825,6 +1825,9 @@ OS_gtk_box_set_child_packing_3=
OS_gtk_box_set_child_packing_4=
OS_gtk_box_set_child_packing_5=
+OS_gtk_button_clicked=
+OS_gtk_button_clicked_0=cast=(GtkButton *)
+
OS_gtk_button_new=
OS_gtk_button_set_relief=
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
index 90f19bef43..a416b55118 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
@@ -4758,6 +4758,16 @@ JNIEXPORT void JNICALL OS_NATIVE(gtk_1box_1set_1child_1packing)
}
#endif
+#ifndef NO_gtk_1button_1clicked
+JNIEXPORT void JNICALL OS_NATIVE(gtk_1button_1clicked)
+ (JNIEnv *env, jclass that, jint arg0)
+{
+ OS_NATIVE_ENTER(env, that, gtk_1button_1clicked_FUNC);
+ gtk_button_clicked((GtkButton *)arg0);
+ OS_NATIVE_EXIT(env, that, gtk_1button_1clicked_FUNC);
+}
+#endif
+
#ifndef NO_gtk_1button_1new
JNIEXPORT jint JNICALL OS_NATIVE(gtk_1button_1new)
(JNIEnv *env, jclass that)
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 c07a1ef708..5c7c6ab7ab 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
@@ -18,8 +18,8 @@
#ifdef NATIVE_STATS
-int OS_nativeFunctionCount = 937;
-int OS_nativeFunctionCallCount[937];
+int OS_nativeFunctionCount = 938;
+int OS_nativeFunctionCallCount[938];
char * OS_nativeFunctionNames[] = {
"Call__III",
"Call__IIII",
@@ -382,6 +382,7 @@ char * OS_nativeFunctionNames[] = {
"gtk_1arrow_1set",
"gtk_1bin_1get_1child",
"gtk_1box_1set_1child_1packing",
+ "gtk_1button_1clicked",
"gtk_1button_1new",
"gtk_1button_1set_1relief",
"gtk_1cell_1renderer_1get_1size",
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 c53f3eacd3..c3c552c1db 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
@@ -386,6 +386,7 @@ typedef enum {
gtk_1arrow_1set_FUNC,
gtk_1bin_1get_1child_FUNC,
gtk_1box_1set_1child_1packing_FUNC,
+ gtk_1button_1clicked_FUNC,
gtk_1button_1new_FUNC,
gtk_1button_1set_1relief_FUNC,
gtk_1cell_1renderer_1get_1size_FUNC,
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 e5a2e603d0..318ee7bbb3 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
@@ -802,6 +802,7 @@ public static final synchronized native int /*long*/ gtk_arrow_new(int arrow_typ
public static final synchronized native void gtk_arrow_set(int /*long*/ arrow, int arrow_type, int shadow_type);
public static final synchronized native int /*long*/ gtk_bin_get_child(int /*long*/ bin);
public static final synchronized native void gtk_box_set_child_packing(int /*long*/ box, int /*long*/ child, boolean expand, boolean fill, int padding, int pack_type);
+public static final synchronized native void gtk_button_clicked(int /*long*/ button);
public static final synchronized native int /*long*/ gtk_button_new();
public static final synchronized native void gtk_button_set_relief(int /*long*/ button, int newstyle);
public static final synchronized native void gtk_cell_renderer_get_size(int /*long*/ cell, int /*long*/ widget, GdkRectangle area, int[] x_offset, int[] y_offset, int[] width, int[] height);

Back to the top