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



commit e9a7502afb821f99cb09b848ec2556193b0d2c3c
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Mar 23 09:02:56 2017 +0100

    search-context: 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-search-context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-search-context.c b/src/photos-search-context.c
index 812e054..7f253ae 100644
--- a/src/photos-search-context.c
+++ b/src/photos-search-context.c
@@ -35,7 +35,7 @@
 #include "photos-source-manager.h"
 
 
-G_DEFINE_INTERFACE (PhotosSearchContext, photos_search_context, G_TYPE_INVALID);
+G_DEFINE_INTERFACE (PhotosSearchContext, photos_search_context, G_TYPE_OBJECT);
 
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]