[gnome-control-center] info: Replace ifdefs with #pragma once
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: Replace ifdefs with #pragma once
- Date: Mon, 9 Sep 2019 21:56:15 +0000 (UTC)
commit b307e0a7d9d7348c36d5a53f62dfef0fce03a238
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Aug 12 10:15:55 2019 +1200
info: Replace ifdefs with #pragma once
panels/info/cc-info-default-apps-panel.h | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/panels/info/cc-info-default-apps-panel.h b/panels/info/cc-info-default-apps-panel.h
index 031d25881..d98368c7b 100644
--- a/panels/info/cc-info-default-apps-panel.h
+++ b/panels/info/cc-info-default-apps-panel.h
@@ -17,8 +17,7 @@
*
*/
-#ifndef CC_INFO_DEFAULT_APPS_PANEL_H
-#define CC_INFO_DEFAULT_APPS_PANEL_H
+#pragma once
#include <shell/cc-panel.h>
@@ -29,7 +28,4 @@ G_DECLARE_FINAL_TYPE (CcInfoDefaultAppsPanel, cc_info_default_apps_panel, CC, IN
GtkWidget *cc_info_default_apps_panel_new (void);
-
G_END_DECLS
-
-#endif /* CC_INFO_DEFAULT_APPS_PANEL_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]