diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2012-08-02 10:36:18 -0400 |
---|---|---|
committer | Arun Thondapu <arunkumar.thondapu@in.ibm.com> | 2012-08-06 12:43:12 +0530 |
commit | 2c810dc09ebe584d949d1446e7fe61dd64fa3e80 (patch) | |
tree | f5a8803654756be767c989b7c19e47b11c5f7e0a /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java | |
parent | f7c3702d11c37a529c17c656666e0253dc7c849e (diff) | |
download | eclipse.platform.swt-2c810dc09ebe584d949d1446e7fe61dd64fa3e80.tar.gz eclipse.platform.swt-2c810dc09ebe584d949d1446e7fe61dd64fa3e80.tar.xz eclipse.platform.swt-2c810dc09ebe584d949d1446e7fe61dd64fa3e80.zip |
Bug 385070 Use gtk_widget_has_focus instead of deprecated GTK_WIDGET_HAS_FOCUS
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java index 695e23ebc9..c8cf6b11d7 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java @@ -612,7 +612,7 @@ int /*long*/ focusHandle () { boolean hasFocus () { if (super.hasFocus ()) return true; - if (entryHandle != 0 && OS.GTK_WIDGET_HAS_FOCUS (entryHandle)) return true; + if (entryHandle != 0 && gtk_widget_has_focus (entryHandle)) return true; return false; } |