[gnome-contacts: 29/35] Fix compiler warnings



commit 0e91a62a3b178bdb7c0be2568bec56161b95af52
Author: Paolo Borelli <pborelli gnome org>
Date:   Wed Feb 13 21:31:06 2013 +0100

    Fix compiler warnings

 egg-flow-box.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/egg-flow-box.c b/egg-flow-box.c
index abcf0dd..f895ffb 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]