[gtk+] Revert "GtkGrid: Add a few NULL checks"
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Revert "GtkGrid: Add a few NULL checks"
- Date: Sat, 18 Jul 2015 00:26:37 +0000 (UTC)
commit 7fd307f8815477e85fbe1c689c21d75b3db45ea5
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 17 20:18:34 2015 -0400
Revert "GtkGrid: Add a few NULL checks"
This reverts commit e215db6da21fc7c54f49b247afabc06a18d60513.
We are actually requiring non-NULL out arguments here now.
gtk/gtkgrid.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c
index b12af75..1b821b2 100644
--- a/gtk/gtkgrid.c
+++ b/gtk/gtkgrid.c
@@ -1127,11 +1127,8 @@ gtk_grid_request_sum (GtkGridRequest *request,
nat -= linedata->spacing;
}
- if (minimum)
- *minimum = min;
-
- if (natural)
- *natural = nat;
+ *minimum = min;
+ *natural = nat;
}
/* Computes minimum and natural fields of lines.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]