From 17945caef6f5d28c4f16609ba046031e2e1bdc64 Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Tue, 29 May 2018 11:50:56 +1200 Subject: [PATCH] search: Replace ifdefs with #pragma once --- panels/search/cc-search-locations-dialog.h | 5 +---- panels/search/cc-search-panel.h | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/panels/search/cc-search-locations-dialog.h b/panels/search/cc-search-locations-dialog.h index 26424d1d5..912f2f082 100644 --- a/panels/search/cc-search-locations-dialog.h +++ b/panels/search/cc-search-locations-dialog.h @@ -18,8 +18,7 @@ * Author: Cosimo Cecchi */ -#ifndef _CC_SEARCH_LOCATIONS_DIALOG_H -#define _CC_SEARCH_LOCATIONS_DIALOG_H +#pragma once #include "cc-search-panel.h" @@ -29,5 +28,3 @@ G_DECLARE_FINAL_TYPE (CcSearchLocationsDialog, cc_search_locations_dialog, CC, S CcSearchLocationsDialog *cc_search_locations_dialog_new (CcSearchPanel *panel); gboolean cc_search_locations_dialog_is_available (void); - -#endif /* _CC_SEARCH_LOCATIONS_DIALOG_H */ diff --git a/panels/search/cc-search-panel.h b/panels/search/cc-search-panel.h index 39de4695c..34d75a509 100644 --- a/panels/search/cc-search-panel.h +++ b/panels/search/cc-search-panel.h @@ -18,8 +18,7 @@ * Author: Cosimo Cecchi */ -#ifndef _CC_SEARCH_PANEL_H -#define _CC_SEARCH_PANEL_H +#pragma once #include @@ -29,5 +28,3 @@ G_BEGIN_DECLS G_DECLARE_FINAL_TYPE (CcSearchPanel, cc_search_panel, CC, SEARCH_PANEL, CcPanel) G_END_DECLS - -#endif /* _CC_SEARCH_PANEL_H */