[frogr] Removed unused function
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Removed unused function
- Date: Tue, 18 Jan 2011 22:06:10 +0000 (UTC)
commit 89c88035cdf2f53e085a3d1558fce77248ccf95d
Author: Mario Sanchez Prada <msanchez igalia com>
Date: Tue Jan 18 22:50:15 2011 +0100
Removed unused function
src/frogr-main-view-model.c | 14 --------------
src/frogr-main-view-model.h | 1 -
2 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/src/frogr-main-view-model.c b/src/frogr-main-view-model.c
index 7d5b5df..08d9be2 100644
--- a/src/frogr-main-view-model.c
+++ b/src/frogr-main-view-model.c
@@ -166,21 +166,7 @@ frogr_main_view_model_remove_picture (FrogrMainViewModel *self,
priv->pictures_list = g_slist_remove (priv->pictures_list, picture);
priv->n_pictures--;
g_object_unref (picture);
-}
-
-void
-frogr_main_view_model_remove_all_pictures (FrogrMainViewModel *self)
-{
- g_return_if_fail(FROGR_IS_MAIN_VIEW_MODEL (self));
- FrogrMainViewModelPrivate *priv =
- FROGR_MAIN_VIEW_MODEL_GET_PRIVATE (self);
-
- g_slist_foreach (priv->pictures_list, (GFunc)g_object_unref, NULL);
- g_slist_free (priv->pictures_list);
-
- priv->pictures_list = NULL;
- priv->n_pictures = 0;
}
guint
diff --git a/src/frogr-main-view-model.h b/src/frogr-main-view-model.h
index 0a34040..2e77693 100644
--- a/src/frogr-main-view-model.h
+++ b/src/frogr-main-view-model.h
@@ -61,7 +61,6 @@ void frogr_main_view_model_add_picture (FrogrMainViewModel *self,
FrogrPicture *fset);
void frogr_main_view_model_remove_picture (FrogrMainViewModel *self,
FrogrPicture *fset);
-void frogr_main_view_model_remove_all_pictures (FrogrMainViewModel *self);
guint frogr_main_view_model_n_pictures (FrogrMainViewModel *self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]