shell: Replace ifdefs with #pragma once
This commit is contained in:
parent
2a8b287d33
commit
d16cddeccf
3 changed files with 3 additions and 13 deletions
|
@ -18,8 +18,7 @@
|
|||
* Author: Georges Basile Stavracas Neto <gbsneto@gnome.org>
|
||||
*/
|
||||
|
||||
#ifndef CC_PANEL_LIST_H
|
||||
#define CC_PANEL_LIST_H
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
|
@ -78,6 +77,3 @@ void cc_panel_list_set_selection_mode (CcPanelList
|
|||
GtkSelectionMode selection_mode);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* CC_PANEL_LIST_H */
|
||||
|
||||
|
|
|
@ -19,8 +19,7 @@
|
|||
* Author: Thomas Wood <thos@gnome.org>
|
||||
*/
|
||||
|
||||
#ifndef _CC_SHELL_H
|
||||
#define _CC_SHELL_H
|
||||
#pragma once
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
|
@ -76,5 +75,3 @@ void cc_shell_embed_widget_in_header (CcShell *shell,
|
|||
GtkPositionType position);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _CC_SHELL_H */
|
||||
|
|
|
@ -18,8 +18,7 @@
|
|||
* Author: Thomas Wood <thos@gnome.org>
|
||||
*/
|
||||
|
||||
#ifndef _CC_WINDOW_H
|
||||
#define _CC_WINDOW_H
|
||||
#pragma once
|
||||
|
||||
#include <glib-object.h>
|
||||
#include "cc-shell.h"
|
||||
|
@ -38,5 +37,3 @@ void cc_window_set_search_item (CcWindow *center,
|
|||
const char *search);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _CC_WINDOW_H */
|
||||
|
|
Loading…
Add table
Reference in a new issue