[Xfce4-commits] [xfce/exo] 01/02: Fix IconView widget being unable to decrease its size (Bug #13402)

noreply at xfce.org noreply at xfce.org
Thu Mar 2 03:51:35 CET 2017


This is an automated email from the git hooks/post-receive script.

bluesabre pushed a commit to branch master
in repository xfce/exo.

commit 928a41aedd1b64fea3c1adb7991ccb6c2c9f5870
Author: Igor <f2404 at yandex.ru>
Date:   Wed Mar 1 19:46:48 2017 +0300

    Fix IconView widget being unable to decrease its size (Bug #13402)
    
    Signed-off-by: Sean Davis <smd.seandavis at gmail.com>
---
 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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list