213d5a0
--- gshutdown-0.2/src/gui.c	2011-04-07 10:28:47.586163596 +0100
213d5a0
+++ gshutdown-0.2/src/gui.c	2011-04-07 10:29:06.927394636 +0100
213d5a0
@@ -154,15 +154,11 @@
213d5a0
     gint delay;
213d5a0
     gchar *path;
213d5a0
     GdkPixbuf *pixbuf;
213d5a0
-    GtkWidget *widget = NULL;
213d5a0
 
213d5a0
     if(values.show_notifications == FALSE)
213d5a0
         return;
213d5a0
 
213d5a0
-    if(gui_systray_icon_is_showed())
213d5a0
-        widget = GTK_WIDGET(tray_icon);
213d5a0
-
213d5a0
-    notify = notify_notification_new("GShutdown", message, NULL, GTK_WIDGET(widget));
213d5a0
+    notify = notify_notification_new("GShutdown", message, NULL);
213d5a0
 
213d5a0
     if(show_icon == NOTIFICATION_ICON_TIME) {
213d5a0
         path = data_path("clock.png");