Commit 5174ae13 authored by Robert Ancell's avatar Robert Ancell Committed by Georges Basile Stavracas Neto

keyboard: Replace ifdefs with #pragma once

parent 57975633
Pipeline #13480 passed with stages
in 15 minutes and 54 seconds
......@@ -17,8 +17,7 @@
*
*/
#ifndef __CC_KEYBOARD_ITEM_H
#define __CC_KEYBOARD_ITEM_H
#pragma once
#include <glib-object.h>
#include <gtk/gtk.h>
......@@ -95,5 +94,3 @@ const gchar * cc_keyboard_item_get_gsettings_path (CcKeyboardItem *self);
GSettings * cc_keyboard_item_get_settings (CcKeyboardItem *self);
G_END_DECLS
#endif /* __CC_KEYBOARD_ITEM_H */
......@@ -20,8 +20,7 @@
*
*/
#ifndef CC_KEYBOARD_MANAGER_H
#define CC_KEYBOARD_MANAGER_H
#pragma once
#include <glib-object.h>
......@@ -56,5 +55,3 @@ void cc_keyboard_manager_reset_shortcut (CcKeyboardMana
G_END_DECLS
#endif /* CC_KEYBOARD_MANAGER_H */
......@@ -19,8 +19,7 @@
* 02110-1301, USA.
*/
#ifndef __CC_KEYBOARD_OPTION_H__
#define __CC_KEYBOARD_OPTION_H__
#pragma once
#include <gtk/gtk.h>
......@@ -45,5 +44,3 @@ void cc_keyboard_option_set_selection (CcKeyboardOption *self,
void cc_keyboard_option_clear_all (void);
G_END_DECLS
#endif /* __CC_KEYBOARD_OPTION_H__ */
......@@ -19,8 +19,7 @@
*/
#ifndef _CC_KEYBOARD_PANEL_H
#define _CC_KEYBOARD_PANEL_H
#pragma once
#include <shell/cc-panel.h>
#include <gtk/gtk.h>
......@@ -33,5 +32,3 @@ G_DECLARE_FINAL_TYPE (CcKeyboardPanel, cc_keyboard_panel, CC, KEYBOARD_PANEL, Cc
CcKeyboardItem* cc_keyboard_panel_create_custom_item (CcKeyboardPanel *self);
G_END_DECLS
#endif /* _CC_KEYBOARD_PANEL_H */
......@@ -18,8 +18,7 @@
* Authors: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
*/
#ifndef CC_KEYBOARD_SHORTCUT_EDITOR_H
#define CC_KEYBOARD_SHORTCUT_EDITOR_H
#pragma once
#include <gtk/gtk.h>
......@@ -51,5 +50,3 @@ void cc_keyboard_shortcut_editor_set_mode (CcKeyboardShor
G_END_DECLS
#endif /* CC_KEYBOARD_SHORTCUT_EDITOR_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment