diff options
author | Alexander Kurtakov <akurtako@redhat.com> | 2013-07-12 18:54:29 +0300 |
---|---|---|
committer | Alexander Kurtakov <akurtako@redhat.com> | 2013-07-12 18:54:29 +0300 |
commit | b23ea2e24f758a54ab6758b6481dfb86a9443288 (patch) | |
tree | 8e7f5e690b78aa0ee9f4fb94f7764dfecfa38636 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java | |
parent | 7d865938b30c1ae03ba599023ba96f0087c84faf (diff) | |
download | eclipse.platform.swt-b23ea2e24f758a54ab6758b6481dfb86a9443288.tar.gz eclipse.platform.swt-b23ea2e24f758a54ab6758b6481dfb86a9443288.tar.xz eclipse.platform.swt-b23ea2e24f758a54ab6758b6481dfb86a9443288.zip |
Get rid of gtk_object_sink.
It's obsoleted since Gtk 2.10 and g_object_ref_sink can be safely used
instead.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java index e7aa8a072a..65fe0c4f9b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java @@ -294,7 +294,7 @@ void createHandle (int index) { groupHandle = OS.gtk_radio_button_new (0); if (groupHandle == 0) error (SWT.ERROR_NO_HANDLES); OS.g_object_ref (groupHandle); - g_object_ref_sink (groupHandle); + OS.g_object_ref_sink (groupHandle); handle = OS.gtk_radio_button_new (OS.gtk_radio_button_get_group (groupHandle)); if (handle == 0) error (SWT.ERROR_NO_HANDLES); break; |