[gnome-photos] filterable: Set G_TYPE_OBJECT as the prerequisite type



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]