[sysprof] sysprof: use dzlapplicationwindow
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] sysprof: use dzlapplicationwindow
- Date: Wed, 29 May 2019 22:40:16 +0000 (UTC)
commit 72456bd1c455561a277370e23c1f09aef9753499
Author: Christian Hergert <chergert redhat com>
Date: Mon May 20 17:19:24 2019 -0700
sysprof: use dzlapplicationwindow
src/sysprof/sysprof-window.c | 5 ++---
src/sysprof/sysprof-window.h | 4 ++--
src/sysprof/ui/sysprof-window.ui | 2 +-
3 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/src/sysprof/sysprof-window.c b/src/sysprof/sysprof-window.c
index 9440fde..04a44fb 100644
--- a/src/sysprof/sysprof-window.c
+++ b/src/sysprof/sysprof-window.c
@@ -23,14 +23,13 @@
#include "config.h"
#include <glib/gi18n.h>
-#include <dazzle.h>
#include <sysprof-ui.h>
#include "sysprof-window.h"
struct _SysprofWindow
{
- GtkApplicationWindow parent_instance;
+ DzlApplicationWindow parent_instance;
DzlBindingGroup *bindings;
@@ -38,7 +37,7 @@ struct _SysprofWindow
GtkMenuButton *menu_button;
};
-G_DEFINE_TYPE (SysprofWindow, sysprof_window, GTK_TYPE_APPLICATION_WINDOW)
+G_DEFINE_TYPE (SysprofWindow, sysprof_window, DZL_TYPE_APPLICATION_WINDOW)
/**
* sysprof_window_new:
diff --git a/src/sysprof/sysprof-window.h b/src/sysprof/sysprof-window.h
index 1b88aea..dacfb56 100644
--- a/src/sysprof/sysprof-window.h
+++ b/src/sysprof/sysprof-window.h
@@ -20,7 +20,7 @@
#pragma once
-#include <gtk/gtk.h>
+#include <dazzle.h>
#include "sysprof-application.h"
@@ -28,7 +28,7 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_WINDOW (sysprof_window_get_type())
-G_DECLARE_FINAL_TYPE (SysprofWindow, sysprof_window, SYSPROF, WINDOW, GtkApplicationWindow)
+G_DECLARE_FINAL_TYPE (SysprofWindow, sysprof_window, SYSPROF, WINDOW, DzlApplicationWindow)
GtkWidget *sysprof_window_new (SysprofApplication *application);
void sysprof_window_new_tab (SysprofWindow *self);
diff --git a/src/sysprof/ui/sysprof-window.ui b/src/sysprof/ui/sysprof-window.ui
index a1c8b7b..f6d891c 100644
--- a/src/sysprof/ui/sysprof-window.ui
+++ b/src/sysprof/ui/sysprof-window.ui
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<interface>
- <template class="SysprofWindow" parent="GtkApplicationWindow">
+ <template class="SysprofWindow" parent="DzlApplicationWindow">
<property name="default-height">700</property>
<property name="default-width">1200</property>
<property name="icon-name">org.gnome.Sysprof-symbolic</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]