search: Replace ifdefs with #pragma once
This commit is contained in:
parent
880ac4a89d
commit
17945caef6
2 changed files with 2 additions and 8 deletions
|
@ -18,8 +18,7 @@
|
||||||
* Author: Cosimo Cecchi <cosimoc@gnome.org>
|
* Author: Cosimo Cecchi <cosimoc@gnome.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _CC_SEARCH_LOCATIONS_DIALOG_H
|
#pragma once
|
||||||
#define _CC_SEARCH_LOCATIONS_DIALOG_H
|
|
||||||
|
|
||||||
#include "cc-search-panel.h"
|
#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);
|
CcSearchLocationsDialog *cc_search_locations_dialog_new (CcSearchPanel *panel);
|
||||||
|
|
||||||
gboolean cc_search_locations_dialog_is_available (void);
|
gboolean cc_search_locations_dialog_is_available (void);
|
||||||
|
|
||||||
#endif /* _CC_SEARCH_LOCATIONS_DIALOG_H */
|
|
||||||
|
|
|
@ -18,8 +18,7 @@
|
||||||
* Author: Cosimo Cecchi <cosimoc@gnome.org>
|
* Author: Cosimo Cecchi <cosimoc@gnome.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _CC_SEARCH_PANEL_H
|
#pragma once
|
||||||
#define _CC_SEARCH_PANEL_H
|
|
||||||
|
|
||||||
#include <shell/cc-panel.h>
|
#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_DECLARE_FINAL_TYPE (CcSearchPanel, cc_search_panel, CC, SEARCH_PANEL, CcPanel)
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* _CC_SEARCH_PANEL_H */
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue