[gnome-control-center] notifications: Replace ifdefs with #pragma once
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] notifications: Replace ifdefs with #pragma once
- Date: Tue, 29 May 2018 18:49:07 +0000 (UTC)
commit fceac14a2c2ac39e4c9909f851505f8d9d40e8bb
Author: Robert Ancell <robert ancell canonical com>
Date: Tue May 29 15:38:56 2018 +1200
notifications: Replace ifdefs with #pragma once
panels/notifications/cc-edit-dialog.h | 5 +----
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_ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]