[sysprof/wip/gtk4-port: 23/125] app: dedazzle




commit d12d6032471805a37952ab4e738c8406e2f3683b
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]