2010-10-02 [colin] 3.7.6cvs48
[claws.git] / src / plugins / trayicon / trayicon.c
index 8b815953dc1f0a66f208239b54431a712a729d2f..0a827fcaa7b7f0542e0fbba501ad0c5746d2e8fd 100644 (file)
@@ -64,7 +64,6 @@ static GdkPixbuf *unreadmarkedmail_pixbuf[2] = {NULL, NULL};
 static GdkPixbuf *nomail_pixbuf[2] = {NULL, NULL};
 
 static GtkStatusIcon *trayicon;
-static GtkWidget *image = NULL;
 static GtkWidget *focused_widget = NULL;
 
 static GtkWidget *traymenu_popup;
@@ -339,8 +338,7 @@ static gboolean trayicon_update_theme(gpointer source, gpointer data)
        stock_pixbuf_gdk(GTK_WIDGET(mainwin->window), STOCK_PIXMAP_TRAY_UNREADMARKEDMAIL_OFFLINE, &unreadmarkedmail_pixbuf[1]);
        stock_pixbuf_gdk(GTK_WIDGET(mainwin->window), STOCK_PIXMAP_TRAY_NEWMARKEDMAIL_OFFLINE, &newmarkedmail_pixbuf[1]);
 
-       if (image != NULL)
-               update(NULL);
+       update(NULL);
 
        return FALSE;
 }