Index: eggstatusicon.c
===================================================================
RCS file: /cvs/gnome/epiphany/lib/egg/eggstatusicon.c,v
retrieving revision 1.3.10.2
diff -p -u -u -p -r1.3.10.2 eggstatusicon.c
--- eggstatusicon.c	21 Oct 2004 19:27:17 -0000	1.3.10.2
+++ eggstatusicon.c	13 Feb 2005 21:54:43 -0000
@@ -250,6 +250,8 @@ egg_status_icon_init (EggStatusIcon *sta
   status_icon->priv->size       = G_MAXINT;
 
   status_icon->priv->tray_icon = GTK_WIDGET (egg_tray_icon_new (NULL));
+  g_object_ref (status_icon->priv->tray_icon);
+  gtk_object_sink (GTK_OBJECT (status_icon->priv->tray_icon));
 
   gtk_widget_add_events (GTK_WIDGET (status_icon->priv->tray_icon),
 			 GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
@@ -290,6 +292,7 @@ egg_status_icon_finalize (GObject *objec
   status_icon->priv->tooltips = NULL;
 
   gtk_widget_destroy (status_icon->priv->tray_icon);
+  g_object_unref (status_icon->priv->tray_icon);
 
   g_free (status_icon->priv);
 
