[libhandy] title-bar: Fix a typo in measure()
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy] title-bar: Fix a typo in measure()
- Date: Thu, 30 Jul 2020 11:45:51 +0000 (UTC)
commit deff669b46fbba8138034b38babc611f35caa71c
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Jul 30 15:43:37 2020 +0500
title-bar: Fix a typo in measure()
Fixes https://gitlab.gnome.org/GNOME/libhandy/-/issues/316
Signed-off-by: Alexander Mikhaylenko <alexm gnome org>
src/hdy-title-bar.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/hdy-title-bar.c b/src/hdy-title-bar.c
index ece90f4b..fd5371a3 100644
--- a/src/hdy-title-bar.c
+++ b/src/hdy-title-bar.c
@@ -214,9 +214,9 @@ hdy_title_bar_measure (GtkWidget *widget,
}
if (minimum)
- *natural = MAX (parent_min, css_min);
+ *minimum = MAX (parent_min, css_min);
- if (minimum)
+ if (natural)
*natural = MAX (parent_nat, css_min);
if (minimum_baseline)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]