[gnome-todo/wip/sadiq/fixes: 69/69] rows-common: Use the right variable to calculate width
- From: Mohammed Sadiq <pksadiq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo/wip/sadiq/fixes: 69/69] rows-common: Use the right variable to calculate width
- Date: Thu, 6 Jun 2019 04:50:02 +0000 (UTC)
commit a6a46792aa11c3a8bba142702a92242f7d760284
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Thu Jun 6 10:18:37 2019 +0530
rows-common: Use the right variable to calculate width
src/gtd-rows-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gtd-rows-common.c b/src/gtd-rows-common.c
index 04b54b5..b55de3d 100644
--- a/src/gtd-rows-common.c
+++ b/src/gtd-rows-common.c
@@ -61,7 +61,7 @@ gtd_row_measure_with_max (GtkWidget *widget,
*minimum = (MIN (local_minimum_width, MAX_WIDTH) - margins) * scale_factor;
if (natural)
- *natural = (MAX (local_minimum_width, MAX_WIDTH) - margins) * scale_factor;
+ *natural = (MAX (local_natural_width, MAX_WIDTH) - margins) * scale_factor;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]