notifications: Replace ifdefs with #pragma once

This commit is contained in:
Robert Ancell 2018-05-29 15:38:56 +12:00 committed by Georges Basile Stavracas Neto
parent 67a94dfee9
commit fceac14a2c
2 changed files with 2 additions and 8 deletions

View file

@ -17,8 +17,7 @@
*
*/
#ifndef _CC_EDIT_DIALOG_H_
#define _CC_EDIT_DIALOG_H_
#pragma once
#include "cc-notifications-panel.h"
@ -31,5 +30,3 @@ void cc_build_edit_dialog (CcNotificationsPanel *panel,
GDBusProxy *perm_store);
G_END_DECLS
#endif /* _CC_EDIT_DIALOG_H_ */

View file

@ -17,8 +17,7 @@
*
*/
#ifndef _CC_NOTIFICATIONS_PANEL_H_
#define _CC_NOTIFICATIONS_PANEL_H_
#pragma once
#include <gio/gio.h>
#include <shell/cc-panel.h>
@ -30,5 +29,3 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (CcNotificationsPanel, cc_notifications_panel, CC, NOTIFICATIONS_PANEL, CcPanel)
G_END_DECLS
#endif /* _CC_EDIT_DIALOG_H_ */