[frogr] Move call to g_object_ref() to its right place
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Move call to g_object_ref() to its right place
- Date: Sun, 11 Nov 2012 00:07:07 +0000 (UTC)
commit 626a51714be5be5b083be39546134a74a35d2a9c
Author: Mario Sanchez Prada <msanchez2 gnome org>
Date: Thu Nov 8 13:25:05 2012 +0100
Move call to g_object_ref() to its right place
src/frogr-main-view-model.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/frogr-main-view-model.c b/src/frogr-main-view-model.c
index d115cfd..4f6996b 100644
--- a/src/frogr-main-view-model.c
+++ b/src/frogr-main-view-model.c
@@ -437,9 +437,7 @@ frogr_main_view_model_add_local_photoset (FrogrMainViewModel *self,
/* When adding one by one we prepend always to keep the order */
priv = FROGR_MAIN_VIEW_MODEL_GET_PRIVATE (self);
- priv->local_sets = g_slist_prepend (priv->local_sets, set);
-
- g_object_ref (set);
+ priv->local_sets = g_slist_prepend (priv->local_sets, g_object_ref (set));
}
GSList *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]