[gnome-control-center] privacy: Replace ifdefs with #pragma once
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] privacy: Replace ifdefs with #pragma once
- Date: Mon, 28 May 2018 23:02:10 +0000 (UTC)
commit 389bb1b87cab1dc6ca47b6f08b20b22be7c1608e
Author: Robert Ancell <robert ancell canonical com>
Date: Tue May 29 10:39:51 2018 +1200
privacy: Replace ifdefs with #pragma once
panels/privacy/cc-privacy-panel.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/panels/privacy/cc-privacy-panel.h b/panels/privacy/cc-privacy-panel.h
index fb206ff63..4c50eec00 100644
--- a/panels/privacy/cc-privacy-panel.h
+++ b/panels/privacy/cc-privacy-panel.h
@@ -18,8 +18,7 @@
* Author: Matthias Clasen <mclasen redhat com>
*/
-#ifndef _CC_PRIVACY_PANEL_H
-#define _CC_PRIVACY_PANEL_H
+#pragma once
#include <shell/cc-panel.h>
@@ -29,5 +28,3 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (CcPrivacyPanel, cc_privacy_panel, CC, PRIVACY_PANEL, CcPanel)
G_END_DECLS
-
-#endif /* _CC_PRIVACY_PANEL_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]