[gnome-control-center] privacy: Replace ifdefs with #pragma once



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]