[gnome-panel] showdesktop: Use named icons rather than (deprecated) stock items.



commit 2520a75cac55234a6c444b223e9418e678c1bdb7
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Dec 28 15:32:34 2013 +0200

    showdesktop: Use named icons rather than (deprecated) stock items.

 applets/wncklet/showdesktop.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c
index 08e4b3d..52534b3 100644
--- a/applets/wncklet/showdesktop.c
+++ b/applets/wncklet/showdesktop.c
@@ -181,9 +181,7 @@ update_icon (ShowDesktopData *sdd)
                        error = NULL;
                }
 
-               gtk_image_set_from_stock (GTK_IMAGE (sdd->image),
-                                         GTK_STOCK_MISSING_IMAGE,
-                                         GTK_ICON_SIZE_SMALL_TOOLBAR);
+               gtk_image_set_from_icon_name (GTK_IMAGE (sdd->image), "image-missing", 
GTK_ICON_SIZE_SMALL_TOOLBAR);
                return;
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]