[gnome-photos] item-manager: Add the missing return statement in the add_item method



commit 222bfc2aae4cffab6e19e737853468982d6bcc25
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri May 4 00:33:09 2012 +0200

    item-manager: Add the missing return statement in the add_item method

 src/photos-item-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-item-manager.c b/src/photos-item-manager.c
index 2a1398d..f5816f4 100644
--- a/src/photos-item-manager.c
+++ b/src/photos-item-manager.c
@@ -133,6 +133,8 @@ photos_item_manager_add_item (PhotosItemManager *self, TrackerSparqlCursor *curs
   photos_item_model_item_added (PHOTOS_ITEM_MODEL (self->priv->model), item);
 
   /* TODO: add to collection_manager */
+
+  return item;
 }
 
 



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