[Xfce4-commits] <xfce4-indicator-plugin:master> Fixed a randomly missing icon in sound indicator

Andrzej noreply at xfce.org
Tue Jan 21 21:54:01 CET 2014


Updating branch refs/heads/master
         to 723a2dbf8253ee3bc84c599c587839167bd9b011 (commit)
       from 2c252c25a26459531a37abe0a953a7efa31673b5 (commit)

commit 723a2dbf8253ee3bc84c599c587839167bd9b011
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Tue Jan 21 20:51:27 2014 +0000

    Fixed a randomly missing icon in sound indicator
    
    Sound indicator sometimes adds an image with a GTK_IMAGE_EMPTY
    storage type and updates it later.

 panel-plugin/indicator-button-box.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/panel-plugin/indicator-button-box.c b/panel-plugin/indicator-button-box.c
index f3abb6a..041b083 100644
--- a/panel-plugin/indicator-button-box.c
+++ b/panel-plugin/indicator-button-box.c
@@ -289,12 +289,6 @@ indicator_button_box_set_image (IndicatorButtonBox  *box,
       g_object_unref (G_OBJECT (box->icon));
     }
 
-  if(gtk_image_get_storage_type(image) == GTK_IMAGE_EMPTY)
-    {
-      box->icon = NULL;
-      return;
-    }
-
   box->icon = GTK_WIDGET (image);
   g_object_ref (G_OBJECT (box->icon));
   g_signal_connect(G_OBJECT(box->icon), "notify::pixbuf",


More information about the Xfce4-commits mailing list