Commit 04e36953 authored by Robert Ancell's avatar Robert Ancell

color: Replace ifdefs with #pragma once

parent 770a3b1d
Pipeline #13585 passed with stages
in 10 minutes and 48 seconds
......@@ -19,8 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __CC_COLOR_CALIBRATE_H
#define __CC_COLOR_CALIBRATE_H
#pragma once
#include <glib-object.h>
#include <gtk/gtk.h>
......@@ -53,6 +52,3 @@ gboolean cc_color_calibrate_setup (CcColorCalibrate *calibrate,
CdProfile *cc_color_calibrate_get_profile (CcColorCalibrate *calibrate);
G_END_DECLS
#endif /* __CC_COLOR_CALIBRATE_H */
......@@ -19,8 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef CC_COLOR_CELL_RENDERER_TEXT_H
#define CC_COLOR_CELL_RENDERER_TEXT_H
#pragma once
#include <gtk/gtk.h>
......@@ -31,5 +30,3 @@ GtkCellRenderer *cc_color_cell_renderer_text_new (void);
G_END_DECLS
#endif /* CC_COLOR_CELL_RENDERER_TEXT_H */
......@@ -19,8 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef CC_COLOR_COMMON_H
#define CC_COLOR_COMMON_H
#pragma once
#include <colord.h>
......@@ -31,5 +30,3 @@ gchar *cc_color_device_get_title (CdDevice *device);
G_END_DECLS
#endif /* CC_COLOR_COMMON_H */
......@@ -19,8 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef CC_COLOR_DEVICE_H
#define CC_COLOR_DEVICE_H
#pragma once
#include <gtk/gtk.h>
#include <colord.h>
......@@ -37,6 +36,3 @@ void cc_color_device_set_expanded (CcColorDevice *color_device,
gboolean expanded);
G_END_DECLS
#endif /* CC_COLOR_DEVICE_H */
......@@ -18,9 +18,7 @@
*
*/
#ifndef _CC_COLOR_PANEL_H
#define _CC_COLOR_PANEL_H
#pragma once
#include <shell/cc-panel.h>
......@@ -30,5 +28,3 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (CcColorPanel, cc_color_panel, CC, COLOR_PANEL, CcPanel)
G_END_DECLS
#endif /* _CC_COLOR_PANEL_H */
......@@ -19,8 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef CC_COLOR_PROFILE_H
#define CC_COLOR_PROFILE_H
#pragma once
#include <gtk/gtk.h>
#include <colord.h>
......@@ -42,5 +41,3 @@ const gchar *cc_color_profile_get_sortable (CcColorProfile *color_profile);
G_END_DECLS
#endif /* CC_COLOR_PROFILE_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