[gtk] Use correct child widget when measuring



commit 5b89253fd974e3aeea71acc1a39d71099afcff02
Author: Benjamin Otte <otte benjamin googlemail com>
Date:   Wed Sep 30 17:48:24 2020 +0000

    Use correct child widget when measuring
    
    Fixes a copy/paste error.
    
    Fixed #3220

 gtk/gtkcolumnview.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkcolumnview.c b/gtk/gtkcolumnview.c
index dcba1c9620..0f1ca8fd42 100644
--- a/gtk/gtkcolumnview.c
+++ b/gtk/gtkcolumnview.c
@@ -227,7 +227,7 @@ gtk_column_view_measure (GtkWidget      *widget,
     {
       int header_min, header_nat, list_min, list_nat;
 
-      gtk_widget_measure (GTK_WIDGET (self->listview),
+      gtk_widget_measure (GTK_WIDGET (self->header),
                           orientation, for_size,
                           &header_min, &header_nat,
                           NULL, NULL);


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