[gnome-photos] base-manager: Remove photos_base_manager_new
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] base-manager: Remove photos_base_manager_new
- Date: Mon, 30 Apr 2012 22:51:47 +0000 (UTC)
commit 9814de175f030aad2c3e7b373b6d80056d1b5c7a
Author: Debarshi Ray <debarshir gnome org>
Date: Tue May 1 00:34:45 2012 +0200
base-manager: Remove photos_base_manager_new
It is not supposed to be instantiated directly. Instead, use derived
classes. eg., PhotosCollectionManager.
src/photos-base-manager.c | 7 -------
src/photos-base-manager.h | 2 --
2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/photos-base-manager.c b/src/photos-base-manager.c
index 50174ae..80c7814 100644
--- a/src/photos-base-manager.c
+++ b/src/photos-base-manager.c
@@ -123,13 +123,6 @@ photos_base_manager_class_init (PhotosBaseManagerClass *class)
}
-PhotosBaseManager *
-photos_base_manager_new (void)
-{
- return g_object_new (PHOTOS_TYPE_BASE_MANAGER, NULL);
-}
-
-
void
photos_base_manager_add_item (PhotosBaseManager *self, PhotosBaseItem *item)
{
diff --git a/src/photos-base-manager.h b/src/photos-base-manager.h
index 7c8aaa7..d654768 100644
--- a/src/photos-base-manager.h
+++ b/src/photos-base-manager.h
@@ -69,8 +69,6 @@ struct _PhotosBaseManagerClass
GType photos_base_manager_get_type (void) G_GNUC_CONST;
-PhotosBaseManager *photos_base_manager_new (void);
-
void photos_base_manager_add_item (PhotosBaseManager *self, PhotosBaseItem *item);
void photos_base_manager_clear (PhotosBaseManager *self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]