[gnome-builder/wip/chergert/razzledazzle] app: inherit from DzlApplication



commit 5348bae2dc2465ad5d22c5b9946ff6649a144e18
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 5 03:02:21 2017 -0700

    app: inherit from DzlApplication
    
    We want to eventually move more of IdeApplication into DzlApplication, but
    this just gets things started so that we load resources from libdazzle
    appropriately.

 libide/application/ide-application-private.h |    2 +-
 libide/application/ide-application.c         |    2 +-
 libide/application/ide-application.h         |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libide/application/ide-application-private.h b/libide/application/ide-application-private.h
index eafb0d8..f77ea9b 100644
--- a/libide/application/ide-application-private.h
+++ b/libide/application/ide-application-private.h
@@ -34,7 +34,7 @@ G_BEGIN_DECLS
 
 struct _IdeApplication
 {
-  GtkApplication       parent_instance;
+  DzlApplication       parent_instance;
 
   IdeApplicationMode   mode;
 
diff --git a/libide/application/ide-application.c b/libide/application/ide-application.c
index d4cb49c..1e8cde3 100644
--- a/libide/application/ide-application.c
+++ b/libide/application/ide-application.c
@@ -48,7 +48,7 @@
 #include "workbench/ide-workbench.h"
 #include "workers/ide-worker.h"
 
-G_DEFINE_TYPE (IdeApplication, ide_application, GTK_TYPE_APPLICATION)
+G_DEFINE_TYPE (IdeApplication, ide_application, DZL_TYPE_APPLICATION)
 
 static GThread *main_thread;
 
diff --git a/libide/application/ide-application.h b/libide/application/ide-application.h
index b310657..1172927 100644
--- a/libide/application/ide-application.h
+++ b/libide/application/ide-application.h
@@ -30,7 +30,7 @@ G_BEGIN_DECLS
 #define IDE_APPLICATION_DEFAULT (IDE_APPLICATION (g_application_get_default()))
 #define IDE_IS_MAIN_THREAD()    (g_thread_self() == ide_application_get_main_thread())
 
-G_DECLARE_FINAL_TYPE (IdeApplication, ide_application, IDE, APPLICATION, GtkApplication)
+G_DECLARE_FINAL_TYPE (IdeApplication, ide_application, IDE, APPLICATION, DzlApplication)
 
 typedef enum
 {


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