[gtk] Use correct child widget when measuring
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Use correct child widget when measuring
- Date: Wed, 30 Sep 2020 17:48:25 +0000 (UTC)
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]