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/Table.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/Table.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java index bedf924054..5b27e9ad3b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java @@ -1867,7 +1867,7 @@ int /*long*/ gtk_button_press_event (int /*long*/ widget, int /*long*/ event) { * it finishes processing a button press. The fix is to give * focus to the widget before it starts processing the event. */ - if (!OS.GTK_WIDGET_HAS_FOCUS (handle)) { + if (!gtk_widget_has_focus (handle)) { OS.gtk_widget_grab_focus (handle); } return result; |