From 0e91a62a3b178bdb7c0be2568bec56161b95af52 Mon Sep 17 00:00:00 2001 From: Paolo Borelli Date: Wed, 13 Feb 2013 21:31:06 +0100 Subject: [PATCH] Fix compiler warnings --- egg-flow-box.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/egg-flow-box.c b/egg-flow-box.c index abcf0dd9..f895ffb0 100644 --- a/egg-flow-box.c +++ b/egg-flow-box.c @@ -2218,6 +2218,7 @@ egg_flow_box_unselect_all_internal (EggFlowBox *box) } } + return dirty; } static void @@ -3232,7 +3233,7 @@ egg_flow_box_get_selected_children (EggFlowBox *box) GSequenceIter *iter; GList *selected = NULL; - g_return_if_fail (box != NULL); + g_return_val_if_fail (box != NULL, NULL); for (iter = g_sequence_get_begin_iter (box->priv->children); !g_sequence_iter_is_end (iter);