aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/eggtrayicon.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/eggtrayicon.c')
-rw-r--r--e-util/eggtrayicon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/e-util/eggtrayicon.c b/e-util/eggtrayicon.c
index 6c4a20e96a..0c79810fa9 100644
--- a/e-util/eggtrayicon.c
+++ b/e-util/eggtrayicon.c
@@ -1253,8 +1253,7 @@ gtk_status_icon_init (GtkStatusIcon *status_icon)
gtk_widget_show (status_icon->priv->tray_icon);
status_icon->priv->tooltips = gtk_tooltips_new ();
- g_object_ref (status_icon->priv->tooltips);
- gtk_object_sink (GTK_OBJECT (status_icon->priv->tooltips));
+ g_object_ref_sink (status_icon->priv->tooltips);
#endif
#ifdef GDK_WINDOWING_WIN32