[gnome-photos] base-item: Mark it as an abstract type
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] base-item: Mark it as an abstract type
- Date: Mon, 23 Jun 2014 12:07:18 +0000 (UTC)
commit ffe19620e4e880c41b9655596e9e6e9d4e60d020
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Jun 18 17:41:08 2014 +0200
base-item: Mark it as an abstract type
Fixes: https://bugzilla.gnome.org/731865
src/photos-base-item.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index ef0fbac..b636d12 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -106,9 +106,10 @@ static guint signals[LAST_SIGNAL] = { 0 };
static void photos_base_item_filterable_iface_init (PhotosFilterableInterface *iface);
-G_DEFINE_TYPE_WITH_CODE (PhotosBaseItem, photos_base_item, G_TYPE_OBJECT,
- G_ADD_PRIVATE (PhotosBaseItem)
- G_IMPLEMENT_INTERFACE (PHOTOS_TYPE_FILTERABLE,
photos_base_item_filterable_iface_init));
+G_DEFINE_ABSTRACT_TYPE_WITH_CODE (PhotosBaseItem, photos_base_item, G_TYPE_OBJECT,
+ G_ADD_PRIVATE (PhotosBaseItem)
+ G_IMPLEMENT_INTERFACE (PHOTOS_TYPE_FILTERABLE,
+ photos_base_item_filterable_iface_init));
static GThreadPool *create_thumbnail_pool;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]