gnome-control-center/panels/notifications/cc-app-notifications-dialog.h
Automeris naranja 4a986072ce app-notifications-dialog: Port to AdwDialog
Also, remove the ESC shortcut, since AdwDialogs
already close with ESC by default.
2024-03-27 13:51:08 +01:00

35 lines
1.5 KiB
C

/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/*
* Copyright (C) 2012 Giovanni Campagna <scampa.giovanni@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
*/
#pragma once
#include <adwaita.h>
G_BEGIN_DECLS
#define CC_TYPE_APP_NOTIFICATIONS_DIALOG (cc_app_notifications_dialog_get_type ())
G_DECLARE_FINAL_TYPE (CcAppNotificationsDialog, cc_app_notifications_dialog, CC, APP_NOTIFICATIONS_DIALOG, AdwDialog)
CcAppNotificationsDialog *cc_app_notifications_dialog_new (const gchar *app_id,
const gchar *title,
GSettings *settings,
GSettings *master_settings,
GDBusProxy *perm_store);
G_END_DECLS