diff options
author | Silenio Quarti | 2012-10-16 21:18:01 +0000 |
---|---|---|
committer | Silenio Quarti | 2012-10-16 21:18:01 +0000 |
commit | d4637824d6ecbdea88635f512329a535dd8fa93a (patch) | |
tree | e2758b920869e565022eb67a6cf76de0207c5d39 /bundles/org.eclipse.swt/Eclipse SWT AWT | |
parent | e17c0a1e5e4f78ec0d2dc80184acf9420459d2d3 (diff) | |
download | eclipse.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.java | 4 |
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) { |