Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoly Spektor2012-08-02 19:15:35 +0000
committerSilenio Quarti2012-08-03 14:49:21 +0000
commit34f0c3974a377d1fb41f2905de1ceb16ac6ba1ce (patch)
treedb37e353f83085b5007c25df73f051a6dd691ea2 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
parent3728914b67bd00a8b771027767ab899d29ec9d30 (diff)
downloadeclipse.platform.swt-34f0c3974a377d1fb41f2905de1ceb16ac6ba1ce.tar.gz
eclipse.platform.swt-34f0c3974a377d1fb41f2905de1ceb16ac6ba1ce.tar.xz
eclipse.platform.swt-34f0c3974a377d1fb41f2905de1ceb16ac6ba1ce.zip
Use g_object_ref_sink() method instead of deprecated gtk_object_sink()
Conflicts: bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
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 2a62e480cc..001b4cb64a 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
@@ -2461,7 +2461,7 @@ void setToolTipText (int /*long*/ rootWidget, int /*long*/ tipWidget, String str
tooltipsHandle = OS.gtk_tooltips_new ();
if (tooltipsHandle == 0) error (SWT.ERROR_NO_HANDLES);
OS.g_object_ref (tooltipsHandle);
- OS.gtk_object_sink (tooltipsHandle);
+ g_object_ref_sink (tooltipsHandle);
}
/*

Back to the top