diff -Npur gtk-old/gtk/gtkstatusicon.c gtk-new/gtk/gtkstatusicon.c
--- gtk-old/gtk/gtkstatusicon.c	2010-05-07 11:57:35.000000000 +0800
+++ gtk-new/gtk/gtkstatusicon.c	2010-05-07 11:56:38.000000000 +0800
@@ -2301,7 +2301,6 @@ gtk_status_icon_set_visible (GtkStatusIc
       else if (GTK_WIDGET_REALIZED (priv->tray_icon)) 
         {
 	  gtk_widget_hide (priv->tray_icon);
-	  gtk_widget_unrealize (priv->tray_icon);
         }
 #endif
 #ifdef GDK_WINDOWING_WIN32
