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



commit 5bb152acb082c9853c0dfbc582981b4bf99854af
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue May 29 10:56:35 2018 +1200

    mouse: Replace ifdefs with #pragma once

 panels/mouse/cc-mouse-panel.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/panels/mouse/cc-mouse-panel.h b/panels/mouse/cc-mouse-panel.h
index e27fca41b..ae83e8eea 100644
--- a/panels/mouse/cc-mouse-panel.h
+++ b/panels/mouse/cc-mouse-panel.h
@@ -18,8 +18,7 @@
  *
  */
 
-#ifndef _CC_MOUSE_PANEL_H
-#define _CC_MOUSE_PANEL_H
+#pragma once
 
 #include <shell/cc-panel.h>
 
@@ -29,5 +28,3 @@ G_BEGIN_DECLS
 G_DECLARE_FINAL_TYPE (CcMousePanel, cc_mouse_panel, CC, MOUSE_PANEL, CcPanel)
 
 G_END_DECLS
-
-#endif /* _CC_MOUSE_PANEL_H */


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