sysprof: use dzlapplicationwindow

This commit is contained in:
Christian Hergert
2019-05-20 17:19:24 -07:00
parent 2527bd1beb
commit 72456bd1c4
3 changed files with 5 additions and 6 deletions

View File

@ -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:

View File

@ -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);

View File

@ -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>