[frogr] Don't remove all groups/sets attached to pictures when setting a new list of groups/sets
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Don't remove all groups/sets attached to pictures when setting a new list of groups/sets
- Date: Sun, 11 Nov 2012 00:06:27 +0000 (UTC)
commit 1b50cfe4f5716b1e7d0178983f7a867e8a520c9c
Author: Mario Sanchez Prada <msanchez2 gnome org>
Date: Thu Nov 8 13:25:05 2012 +0100
Don't remove all groups/sets attached to pictures when setting a new list of groups/sets
src/frogr-main-view-model.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/frogr-main-view-model.c b/src/frogr-main-view-model.c
index 04a344f..65bccda 100644
--- a/src/frogr-main-view-model.c
+++ b/src/frogr-main-view-model.c
@@ -458,13 +458,6 @@ frogr_main_view_model_set_photosets (FrogrMainViewModel *self,
priv = FROGR_MAIN_VIEW_MODEL_GET_PRIVATE (self);
- /* Remove all photosets attached to every picture */
- for (item = priv->pictures_list; item; item = g_slist_next (item))
- {
- picture = FROGR_PICTURE (item->data);
- frogr_picture_remove_photosets (picture);
- }
-
/* Remove all the photosets */
frogr_main_view_model_remove_all_photosets (self);
@@ -554,13 +547,6 @@ frogr_main_view_model_set_groups (FrogrMainViewModel *self,
priv = FROGR_MAIN_VIEW_MODEL_GET_PRIVATE (self);
- /* Remove all the groups attached to every picture */
- for (item = priv->pictures_list; item; item = g_slist_next (item))
- {
- picture = FROGR_PICTURE (item->data);
- frogr_picture_remove_groups (picture);
- }
-
/* Remove all groups */
frogr_main_view_model_remove_all_groups (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]