From 67ddac6de08fb4b6b20bc90305a50dc446ba04c8 Mon Sep 17 00:00:00 2001 From: Igor Date: Wed, 1 Mar 2017 19:46:48 +0300 Subject: [PATCH] Fix IconView widget being unable to decrease its size (Bug #13402) --- exo/exo-icon-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exo/exo-icon-view.c b/exo/exo-icon-view.c index 6579d62..dbfb6a2 100644 --- a/exo/exo-icon-view.c +++ b/exo/exo-icon-view.c @@ -1665,7 +1665,7 @@ exo_icon_view_get_preferred_width (GtkWidget *widget, GList *lp; /* well, this is easy */ - *minimal_width = *natural_width = priv->width; + *natural_width = priv->width; /* handle the child widgets */ for (lp = priv->children; lp != NULL; lp = lp->next) @@ -1687,7 +1687,7 @@ exo_icon_view_get_preferred_height (GtkWidget *widget, GList *lp; /* well, this is easy */ - *natural_height = *minimal_height = priv->height; + *natural_height = priv->height; /* handle the child widgets */ for (lp = priv->children; lp != NULL; lp = lp->next) -- 2.12.0