diff options
author | Arun Thondapu <arunkumar.thondapu@in.ibm.com> | 2012-09-11 19:16:12 +0530 |
---|---|---|
committer | Arun Thondapu <arunkumar.thondapu@in.ibm.com> | 2012-09-11 20:32:23 +0530 |
commit | e146916783f37aa41636cc83669e5f610cf7343a (patch) | |
tree | 60d6fd4261724b8c74de1f48b6f5d0a29793bcbe /bundles/org.eclipse.swt/Eclipse SWT Mozilla | |
parent | 1ff5dc76daca83722cbc3a22652379df0452b7e8 (diff) | |
download | eclipse.platform.swt-e146916783f37aa41636cc83669e5f610cf7343a.tar.gz eclipse.platform.swt-e146916783f37aa41636cc83669e5f610cf7343a.tar.xz eclipse.platform.swt-e146916783f37aa41636cc83669e5f610cf7343a.zip |
Bug 388265 fix formatting and remove redundant else check in Widget
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Mozilla')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java index 761768d0bf..07a2a65866 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java @@ -178,9 +178,9 @@ int /*long*/ getHandle () { * causing the child of the GtkFixed handle to be resized to 1. * The workaround is to embed Mozilla into a GtkHBox handle. */ - if (OS.GTK_VERSION >= OS.VERSION(3, 0, 0)){ - embedHandle = OS.gtk_box_new(OS.GTK_ORIENTATION_HORIZONTAL, 0); - OS.gtk_box_set_homogeneous(embedHandle, false); + if (OS.GTK_VERSION >= OS.VERSION (3, 0, 0)) { + embedHandle = OS.gtk_box_new (OS.GTK_ORIENTATION_HORIZONTAL, 0); + OS.gtk_box_set_homogeneous (embedHandle, false); } else { embedHandle = OS.gtk_hbox_new (false, 0); } |