[gtk+] list-box: fix typo in natural size computation



commit 808705327db9957026ea7ca9500cd960cfbab231
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Jul 13 15:45:21 2014 +0200

    list-box: fix typo in natural size computation

 gtk/gtklistbox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index b9d6355..2958a3a 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -3028,7 +3028,7 @@ gtk_list_box_row_get_preferred_width (GtkWidget *widget,
                                       &child_min, &child_natural);
 
   *minimum_width_out = full_border.left + child_min + full_border.right;
-  *natural_width_out = full_border.left + child_natural + full_border.bottom;
+  *natural_width_out = full_border.left + child_natural + full_border.right;
 }
 
 static void


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