[gnome-photos] filterable: Set G_TYPE_OBJECT as the prerequisite type
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] filterable: Set G_TYPE_OBJECT as the prerequisite type
- Date: Thu, 1 Dec 2016 09:51:18 +0000 (UTC)
commit 99c4df0309f204c0da1b497f47acb086218a6a87
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Dec 1 10:48:47 2016 +0100
filterable: Set G_TYPE_OBJECT as the prerequisite type
We really do expect a GObject, and I don't know how to use
G_TYPE_INVALID with G_DECLARE_INTERFACE.
src/photos-filterable.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-filterable.c b/src/photos-filterable.c
index edb5fa3..8f24e98 100644
--- a/src/photos-filterable.c
+++ b/src/photos-filterable.c
@@ -30,7 +30,7 @@
#include "photos-filterable.h"
-G_DEFINE_INTERFACE (PhotosFilterable, photos_filterable, G_TYPE_INVALID);
+G_DEFINE_INTERFACE (PhotosFilterable, photos_filterable, G_TYPE_OBJECT);
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]