[gtk+] icon-browser: Make non-symbolic icons visible again



commit d2d8fb0528ab6acca88afd3668b47092ad0d6bca
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 25 23:58:09 2017 -0400

    icon-browser: Make non-symbolic icons visible again
    
    The commit that added the scalable size to the details dialog
    inadvertedly caused all icons to be hidden. No need to do that.

 demos/icon-browser/iconbrowserwin.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/demos/icon-browser/iconbrowserwin.c b/demos/icon-browser/iconbrowserwin.c
index d23470b..bd0e0d4 100644
--- a/demos/icon-browser/iconbrowserwin.c
+++ b/demos/icon-browser/iconbrowserwin.c
@@ -138,14 +138,12 @@ item_activated (GtkIconView *icon_view, GtkTreePath *path, IconBrowserWindow *wi
     {
       gtk_widget_show (win->image6);
       gtk_widget_show (win->label6);
-      gtk_widget_show (gtk_widget_get_parent (win->image6));
       set_image (win->image6, name, 64);
     }
   else
     {
       gtk_widget_hide (win->image6);
       gtk_widget_hide (win->label6);
-      gtk_widget_hide (gtk_widget_get_parent (win->image6));
     }
   if (description && description[0])
     {


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