search: Replace ifdefs with #pragma once

This commit is contained in:
Robert Ancell 2018-05-29 11:50:56 +12:00 committed by Georges Basile Stavracas Neto
parent 880ac4a89d
commit 17945caef6
2 changed files with 2 additions and 8 deletions

View file

@ -18,8 +18,7 @@
* Author: Cosimo Cecchi <cosimoc@gnome.org>
*/
#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 */

View file

@ -18,8 +18,7 @@
* Author: Cosimo Cecchi <cosimoc@gnome.org>
*/
#ifndef _CC_SEARCH_PANEL_H
#define _CC_SEARCH_PANEL_H
#pragma once
#include <shell/cc-panel.h>
@ -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 */