[gtk+/wip/csoriano/pathbar-bin-view-window: 10/35] gtkhidingbox: we can assume we 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: 10/35] gtkhidingbox: we can assume we have min and nat pointers
- Date: Fri, 3 Jun 2016 16:41:08 +0000 (UTC)
commit 4cb19f23dbbedbe853b5705e8b81d2ca9df0247d
Author: Carlos Soriano <csoriano gnome org>
Date: Wed Nov 4 16:08:56 2015 +0100
gtkhidingbox: we can assume we 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 eccafe9..07dbf2d 100644
--- a/gtk/gtkhidingbox.c
+++ b/gtk/gtkhidingbox.c
@@ -341,10 +341,8 @@ gtk_hiding_box_get_preferred_width (GtkWidget *widget,
if (priv->spacing && n_visible_children > 1)
n += priv->spacing * (n_visible_children - 1);
- 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]