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



commit 8436a4fe29e2b47af3ad5357437b8abcf2d0cd4f
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue May 29 10:57:19 2018 +1200

    region: Replace ifdefs with #pragma once

 panels/region/cc-region-panel.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/panels/region/cc-region-panel.h b/panels/region/cc-region-panel.h
index b1f73a7da..c0c8dacde 100644
--- a/panels/region/cc-region-panel.h
+++ b/panels/region/cc-region-panel.h
@@ -18,9 +18,7 @@
  *
  */
 
-
-#ifndef _CC_REGION_PANEL_H
-#define _CC_REGION_PANEL_H
+#pragma once
 
 #include <shell/cc-panel.h>
 
@@ -30,5 +28,3 @@ G_BEGIN_DECLS
 G_DECLARE_FINAL_TYPE (CcRegionPanel, cc_region_panel, CC, REGION_PANEL, CcPanel)
 
 G_END_DECLS
-
-#endif /* _CC_REGION_PANEL_H */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]