notifications: Replace ifdefs with #pragma once
This commit is contained in:
parent
67a94dfee9
commit
fceac14a2c
2 changed files with 2 additions and 8 deletions
|
@ -17,8 +17,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef _CC_EDIT_DIALOG_H_
|
||||
#define _CC_EDIT_DIALOG_H_
|
||||
#pragma once
|
||||
|
||||
#include "cc-notifications-panel.h"
|
||||
|
||||
|
@ -31,5 +30,3 @@ void cc_build_edit_dialog (CcNotificationsPanel *panel,
|
|||
GDBusProxy *perm_store);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _CC_EDIT_DIALOG_H_ */
|
||||
|
|
|
@ -17,8 +17,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef _CC_NOTIFICATIONS_PANEL_H_
|
||||
#define _CC_NOTIFICATIONS_PANEL_H_
|
||||
#pragma once
|
||||
|
||||
#include <gio/gio.h>
|
||||
#include <shell/cc-panel.h>
|
||||
|
@ -30,5 +29,3 @@ G_BEGIN_DECLS
|
|||
G_DECLARE_FINAL_TYPE (CcNotificationsPanel, cc_notifications_panel, CC, NOTIFICATIONS_PANEL, CcPanel)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _CC_EDIT_DIALOG_H_ */
|
||||
|
|
Loading…
Add table
Reference in a new issue