summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov <akurtako@redhat.com>2012-10-09 11:55:37 +0300
committerAlexander Kurtakov <akurtako@redhat.com>2012-10-09 11:55:37 +0300
commit2e726b86799cd9a32018124f5ce325cba900b957 (patch)
tree2381f4566f11bb3ff4e7d5e8082411be2d66a5ce
parent8cb9404e2de2a7532f9571bd8294bf5cd1d59247 (diff)
downloadeclipse.platform.swt-2e726b86799cd9a32018124f5ce325cba900b957.tar.gz
eclipse.platform.swt-2e726b86799cd9a32018124f5ce325cba900b957.tar.xz
eclipse.platform.swt-2e726b86799cd9a32018124f5ce325cba900b957.zip
Fix for bug#391404 - Remove GdkImage_sizeof.
Method is not used anywhere and just breaks compilation.
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c12
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c1
-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
4 files changed, 0 insertions, 15 deletions
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 c6abfa662a..9cd1bfaf76 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
@@ -669,18 +669,6 @@ JNIEXPORT jint JNICALL OS_NATIVE(GdkGeometry_1sizeof)
}
#endif
-#ifndef NO_GdkImage_1sizeof
-JNIEXPORT jint JNICALL OS_NATIVE(GdkImage_1sizeof)
- (JNIEnv *env, jclass that)
-{
- jint rc = 0;
- OS_NATIVE_ENTER(env, that, GdkImage_1sizeof_FUNC);
- rc = (jint)GdkImage_sizeof();
- OS_NATIVE_EXIT(env, that, GdkImage_1sizeof_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO_GdkRectangle_1sizeof
JNIEXPORT jint JNICALL OS_NATIVE(GdkRectangle_1sizeof)
(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 5ce3d6f20c..e2f989556d 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
@@ -81,7 +81,6 @@ char * OS_nativeFunctionNames[] = {
"GdkEvent_1sizeof",
"GdkGCValues_1sizeof",
"GdkGeometry_1sizeof",
- "GdkImage_1sizeof",
"GdkRectangle_1sizeof",
"GdkVisual_1sizeof",
"GdkWindowAttr_1sizeof",
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 742fb58ce0..e3c1bc81cd 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
@@ -91,7 +91,6 @@ typedef enum {
GdkEvent_1sizeof_FUNC,
GdkGCValues_1sizeof_FUNC,
GdkGeometry_1sizeof_FUNC,
- GdkImage_1sizeof_FUNC,
GdkRectangle_1sizeof_FUNC,
GdkVisual_1sizeof_FUNC,
GdkWindowAttr_1sizeof_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 475ebbe335..475739a0db 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
@@ -637,7 +637,6 @@ public static final native int GdkEventVisibility_sizeof();
public static final native int GdkEventWindowState_sizeof();
public static final native int GdkGCValues_sizeof();
public static final native int GdkGeometry_sizeof();
-public static final native int GdkImage_sizeof();
public static final native int GdkRectangle_sizeof();
public static final native int GdkVisual_sizeof();
public static final native int GdkWindowAttr_sizeof();