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>
|
* Author: Georges Basile Stavracas Neto <gbsneto@gnome.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CC_PANEL_LIST_H
|
#pragma once
|
||||||
#define CC_PANEL_LIST_H
|
|
||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
||||||
|
@ -78,6 +77,3 @@ void cc_panel_list_set_selection_mode (CcPanelList
|
||||||
GtkSelectionMode selection_mode);
|
GtkSelectionMode selection_mode);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* CC_PANEL_LIST_H */
|
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,7 @@
|
||||||
* Author: Thomas Wood <thos@gnome.org>
|
* Author: Thomas Wood <thos@gnome.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _CC_SHELL_H
|
#pragma once
|
||||||
#define _CC_SHELL_H
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
|
@ -76,5 +75,3 @@ void cc_shell_embed_widget_in_header (CcShell *shell,
|
||||||
GtkPositionType position);
|
GtkPositionType position);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* _CC_SHELL_H */
|
|
||||||
|
|
|
@ -18,8 +18,7 @@
|
||||||
* Author: Thomas Wood <thos@gnome.org>
|
* Author: Thomas Wood <thos@gnome.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _CC_WINDOW_H
|
#pragma once
|
||||||
#define _CC_WINDOW_H
|
|
||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
#include "cc-shell.h"
|
#include "cc-shell.h"
|
||||||
|
@ -38,5 +37,3 @@ void cc_window_set_search_item (CcWindow *center,
|
||||||
const char *search);
|
const char *search);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* _CC_WINDOW_H */
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue