[sysprof/wip/gtk4-port: 29/131] app: dedazzle




commit f2aca5a81241965226a3bfc497cc61c66de71e35
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 28 13:20:59 2021 -0700

    app: dedazzle
    
    We will have to find alternate means to load style sheets in the future,
    but we can rely on AdwApplication for that.

 src/sysprof/sysprof-application.c | 4 ++--
 src/sysprof/sysprof-application.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/sysprof/sysprof-application.c b/src/sysprof/sysprof-application.c
index e7d3a80f..157d4d3f 100644
--- a/src/sysprof/sysprof-application.c
+++ b/src/sysprof/sysprof-application.c
@@ -27,10 +27,10 @@
 
 struct _SysprofApplication
 {
-  DzlApplication parent_instance;
+  GtkApplication parent_instance;
 };
 
-G_DEFINE_TYPE (SysprofApplication, sysprof_application, DZL_TYPE_APPLICATION)
+G_DEFINE_TYPE (SysprofApplication, sysprof_application, GTK_TYPE_APPLICATION)
 
 struct {
   const gchar *action_name;
diff --git a/src/sysprof/sysprof-application.h b/src/sysprof/sysprof-application.h
index d41c1325..dfcef56a 100644
--- a/src/sysprof/sysprof-application.h
+++ b/src/sysprof/sysprof-application.h
@@ -18,13 +18,13 @@
 
 #pragma once
 
-#include <dazzle.h>
+#include <gtk/gtk.h>
 
 G_BEGIN_DECLS
 
 #define SYSPROF_TYPE_APPLICATION (sysprof_application_get_type())
 
-G_DECLARE_FINAL_TYPE (SysprofApplication, sysprof_application, SYSPROF, APPLICATION, DzlApplication)
+G_DECLARE_FINAL_TYPE (SysprofApplication, sysprof_application, SYSPROF, APPLICATION, GtkApplication)
 
 SysprofApplication *sysprof_application_new (void);
 


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