diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2018-05-29 15:38:56 +1200 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-05-29 18:29:45 +0000 |
commit | fceac14a2c2ac39e4c9909f851505f8d9d40e8bb (patch) | |
tree | 8d8ee21c270dee720e558c150b5dec9f92185a95 /panels | |
parent | 67a94dfee9357e68e4ae47cc8bce81f50bb16561 (diff) | |
download | gnome-control-center-fceac14a2c2ac39e4c9909f851505f8d9d40e8bb.tar.gz |
notifications: Replace ifdefs with #pragma once
Diffstat (limited to 'panels')
-rw-r--r-- | panels/notifications/cc-edit-dialog.h | 5 | ||||
-rw-r--r-- | panels/notifications/cc-notifications-panel.h | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/panels/notifications/cc-edit-dialog.h b/panels/notifications/cc-edit-dialog.h index c0dc27427..d8d040b89 100644 --- a/panels/notifications/cc-edit-dialog.h +++ b/panels/notifications/cc-edit-dialog.h @@ -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_ */ diff --git a/panels/notifications/cc-notifications-panel.h b/panels/notifications/cc-notifications-panel.h index 6d6bcb108..386e3d8fb 100644 --- a/panels/notifications/cc-notifications-panel.h +++ b/panels/notifications/cc-notifications-panel.h @@ -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_ */ |