[gnome-builder] libide: make service require GObject instead of IdeObject



commit aa9225b0fba7494d6e3e416c06df2ba7a60aeaab
Author: Christian Hergert <christian hergert me>
Date:   Tue Sep 22 00:39:33 2015 -0700

    libide: make service require GObject instead of IdeObject
    
    We require the necessary property during class init, so no real need to
    enforce IdeObject for the service.

 libide/ide-service.c |    2 +-
 libide/ide-service.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libide/ide-service.c b/libide/ide-service.c
index 6504bdc..cfab1fb 100644
--- a/libide/ide-service.c
+++ b/libide/ide-service.c
@@ -21,7 +21,7 @@
 #include "ide-context.h"
 #include "ide-service.h"
 
-G_DEFINE_INTERFACE (IdeService, ide_service, IDE_TYPE_OBJECT)
+G_DEFINE_INTERFACE (IdeService, ide_service, G_TYPE_OBJECT)
 
 enum {
   LOADED,
diff --git a/libide/ide-service.h b/libide/ide-service.h
index 952e4cf..1756b16 100644
--- a/libide/ide-service.h
+++ b/libide/ide-service.h
@@ -25,7 +25,7 @@ G_BEGIN_DECLS
 
 #define IDE_TYPE_SERVICE (ide_service_get_type())
 
-G_DECLARE_INTERFACE (IdeService, ide_service, IDE, SERVICE, IdeObject)
+G_DECLARE_INTERFACE (IdeService, ide_service, IDE, SERVICE, GObject)
 
 struct _IdeServiceInterface
 {


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