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



commit 200e440c2e8d6ff0cb0ba9d493edc1411f82b7aa
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Nov 21 20:33:56 2019 +1300

    bluetooth: Replace ifdefs with #pragma once

 panels/bluetooth/cc-bluetooth-panel.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/panels/bluetooth/cc-bluetooth-panel.h b/panels/bluetooth/cc-bluetooth-panel.h
index c4cc468f0..2252cd207 100644
--- a/panels/bluetooth/cc-bluetooth-panel.h
+++ b/panels/bluetooth/cc-bluetooth-panel.h
@@ -22,8 +22,7 @@
  *
  */
 
-#ifndef _CC_BLUETOOTH_PANEL_H
-#define _CC_BLUETOOTH_PANEL_H
+#pragma once
 
 #include <shell/cc-shell.h>
 
@@ -33,6 +32,3 @@ G_BEGIN_DECLS
 G_DECLARE_FINAL_TYPE (CcBluetoothPanel, cc_bluetooth_panel, CC, BLUETOOTH_PANEL, CcPanel)
 
 G_END_DECLS
-
-#endif /* _CC_BLUETOOTH_PANEL_H */
-


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