summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
diff options
context:
space:
mode:
authorAlexander Kurtakov <akurtako@redhat.com>2013-07-12 18:54:29 +0300
committerAlexander Kurtakov <akurtako@redhat.com>2013-07-12 18:54:29 +0300
commitb23ea2e24f758a54ab6758b6481dfb86a9443288 (patch)
tree8e7f5e690b78aa0ee9f4fb94f7764dfecfa38636 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
parent7d865938b30c1ae03ba599023ba96f0087c84faf (diff)
downloadeclipse.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/Shell.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
index 2f00f6fe87..cbccf62181 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
@@ -2579,7 +2579,7 @@ void setToolTipText (long /*int*/ rootWidget, long /*int*/ tipWidget, String str
tooltipsHandle = OS.gtk_tooltips_new ();
if (tooltipsHandle == 0) error (SWT.ERROR_NO_HANDLES);
OS.g_object_ref (tooltipsHandle);
- g_object_ref_sink (tooltipsHandle);
+ OS.g_object_ref_sink (tooltipsHandle);
}
/*