Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2012-10-16 21:18:01 +0000
committerSilenio Quarti2012-10-16 21:18:01 +0000
commitd4637824d6ecbdea88635f512329a535dd8fa93a (patch)
treee2758b920869e565022eb67a6cf76de0207c5d39 /bundles/org.eclipse.swt/Eclipse SWT AWT
parente17c0a1e5e4f78ec0d2dc80184acf9420459d2d3 (diff)
downloadeclipse.platform.swt-d4637824d6ecbdea88635f512329a535dd8fa93a.tar.gz
eclipse.platform.swt-d4637824d6ecbdea88635f512329a535dd8fa93a.tar.xz
eclipse.platform.swt-d4637824d6ecbdea88635f512329a535dd8fa93a.zip
remove warnings in check_compilation
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT AWT')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java
index 5577ec928a..23caa3fe27 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java
@@ -187,8 +187,8 @@ public static Frame new_Frame (final Composite parent) {
}
try {
/* Call registerListeners() to make XEmbed focus traversal work */
- Method method = clazz.getMethod("registerListeners", null);
- if (method != null) method.invoke(value, null);
+ Method method = clazz.getMethod("registerListeners", (Class[])null);
+ if (method != null) method.invoke(value, (Object[])null);
} catch (Throwable e) {}
final AWTEventListener awtListener = new AWTEventListener() {
public void eventDispatched(AWTEvent event) {

Back to the top