[gtk+/wip/csoriano/pathbar-bin-view-window: 13/35] gtkhidingbox: assume we always have min and nat pointers
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/csoriano/pathbar-bin-view-window: 13/35] gtkhidingbox: assume we always have min and nat pointers
- Date: Fri, 3 Jun 2016 16:41:23 +0000 (UTC)
commit 6c10abd6006b39201ee5169f817a8cb7e6702dbc
Author: Carlos Soriano <csoriano gnome org>
Date: Wed Nov 4 16:23:31 2015 +0100
gtkhidingbox: assume we always have min and nat pointers
gtk/gtkhidingbox.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkhidingbox.c b/gtk/gtkhidingbox.c
index f5edb7d..65de641 100644
--- a/gtk/gtkhidingbox.c
+++ b/gtk/gtkhidingbox.c
@@ -365,10 +365,8 @@ gtk_hiding_box_get_preferred_height (GtkWidget *widget,
n = MAX (n, cn);
}
- if (min)
- *min = m;
- if (nat)
- *nat = n;
+ *min = m;
+ *nat = n;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]