mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
sysprof: use dzlapplicationwindow
This commit is contained in:
@ -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:
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user