diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2012-08-07 13:24:13 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-08-08 10:00:24 -0400 |
commit | fc2d2ec1727bbf89af6fa75dcff471c41c95b0be (patch) | |
tree | a953bcf63b5610c486a85b57a9a9ddf7400e3918 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java | |
parent | 1b29b62773b879ebe6e2bfebcaf549fca1fa38b9 (diff) | |
download | eclipse.platform.swt-fc2d2ec1727bbf89af6fa75dcff471c41c95b0be.tar.gz eclipse.platform.swt-fc2d2ec1727bbf89af6fa75dcff471c41c95b0be.tar.xz eclipse.platform.swt-fc2d2ec1727bbf89af6fa75dcff471c41c95b0be.zip |
Omit use of deprecated GTK_WIDGET_SET_FLAG
Conflicts:
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Link.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java index e2386d1aed..fb26b7dc08 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java @@ -170,7 +170,7 @@ void createHandle (int index) { * (http://bugzilla.gnome.org/show_bug.cgi?id=475909) */ if (OS.GTK_VERSION < OS.VERSION (2, 10, 0) || (style & SWT.VERTICAL) != 0) { - OS.GTK_WIDGET_SET_FLAGS (handle, OS.GTK_CAN_FOCUS); + gtk_widget_set_can_focus (handle, true); } OS.gtk_container_add (fixedHandle, handle); } |