diff --git a/app/tools/gimp-tool-options-manager.h b/app/tools/gimp-tool-options-manager.h
index ea6f6ff107..67016d1261 100644
--- a/app/tools/gimp-tool-options-manager.h
+++ b/app/tools/gimp-tool-options-manager.h
@@ -18,12 +18,8 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TOOL_OPTIONS_MANAGER_H__
-#define __GIMP_TOOL_OPTIONS_MANAGER_H__
+#pragma once
void gimp_tool_options_manager_init (Gimp *gimp);
void gimp_tool_options_manager_exit (Gimp *gimp);
-
-
-#endif /* __GIMP_TOOL_OPTIONS_MANAGER_H__ */
diff --git a/app/tools/gimp-tools.h b/app/tools/gimp-tools.h
index 5be61c3e12..332d393d9b 100644
--- a/app/tools/gimp-tools.h
+++ b/app/tools/gimp-tools.h
@@ -15,8 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TOOLS_H__
-#define __GIMP_TOOLS_H__
+#pragma once
void gimp_tools_init (Gimp *gimp);
@@ -40,6 +39,3 @@ gboolean gimp_tools_deserialize (Gimp *gimp,
void gimp_tools_reset (Gimp *gimp,
GimpContainer *container,
gboolean user_toolrc);
-
-
-#endif /* __GIMP_TOOLS_H__ */
diff --git a/app/tools/gimpairbrushtool.h b/app/tools/gimpairbrushtool.h
index a23321bbff..76af3cc0f0 100644
--- a/app/tools/gimpairbrushtool.h
+++ b/app/tools/gimpairbrushtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_AIRBRUSH_TOOL_H__
-#define __GIMP_AIRBRUSH_TOOL_H__
-
+#pragma once
#include "gimppaintbrushtool.h"
@@ -48,6 +46,3 @@ void gimp_airbrush_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_airbrush_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_AIRBRUSH_TOOL_H__ */
diff --git a/app/tools/gimpaligntool.h b/app/tools/gimpaligntool.h
index eb189f07a5..ee97ea51c2 100644
--- a/app/tools/gimpaligntool.h
+++ b/app/tools/gimpaligntool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_ALIGN_TOOL_H__
-#define __GIMP_ALIGN_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
@@ -74,6 +72,3 @@ void gimp_align_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_align_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_ALIGN_TOOL_H__ */
diff --git a/app/tools/gimpbrightnesscontrasttool.h b/app/tools/gimpbrightnesscontrasttool.h
index 64ce278463..7b34657b18 100644
--- a/app/tools/gimpbrightnesscontrasttool.h
+++ b/app/tools/gimpbrightnesscontrasttool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_BRIGHTNESS_CONTRAST_TOOL_H__
-#define __GIMP_BRIGHTNESS_CONTRAST_TOOL_H__
-
+#pragma once
#include "gimpfiltertool.h"
@@ -56,6 +54,3 @@ void gimp_brightness_contrast_tool_register (GimpToolRegisterCallback callba
gpointer data);
GType gimp_brightness_contrast_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_BRIGHTNESS_CONTRAST_TOOL_H__ */
diff --git a/app/tools/gimpbrushtool.h b/app/tools/gimpbrushtool.h
index 6ddddd7d02..eb0e599b75 100644
--- a/app/tools/gimpbrushtool.h
+++ b/app/tools/gimpbrushtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_BRUSH_TOOL_H__
-#define __GIMP_BRUSH_TOOL_H__
-
+#pragma once
#include "gimppainttool.h"
@@ -58,6 +56,3 @@ GimpCanvasItem * gimp_brush_tool_create_outline (GimpBrushTool *brush_tool,
GimpDisplay *display,
gdouble x,
gdouble y);
-
-
-#endif /* __GIMP_BRUSH_TOOL_H__ */
diff --git a/app/tools/gimpbycolorselecttool.h b/app/tools/gimpbycolorselecttool.h
index 92768ff8d3..7a2256a78e 100644
--- a/app/tools/gimpbycolorselecttool.h
+++ b/app/tools/gimpbycolorselecttool.h
@@ -17,9 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_BY_COLOR_SELECT_TOOL_H__
-#define __GIMP_BY_COLOR_SELECT_TOOL_H__
-
+#pragma once
#include "gimpregionselecttool.h"
@@ -50,6 +48,3 @@ void gimp_by_color_select_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_by_color_select_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_BY_COLOR_SELECT_TOOL_H__ */
diff --git a/app/tools/gimpcageoptions.h b/app/tools/gimpcageoptions.h
index b4e2fcd32a..92f394e1f5 100644
--- a/app/tools/gimpcageoptions.h
+++ b/app/tools/gimpcageoptions.h
@@ -17,9 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_CAGE_OPTIONS_H__
-#define __GIMP_CAGE_OPTIONS_H__
-
+#pragma once
#include "core/gimptooloptions.h"
@@ -52,6 +50,3 @@ struct _GimpCageOptionsClass
GType gimp_cage_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_cage_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_CAGE_OPTIONS_H__ */
diff --git a/app/tools/gimpcagetool.h b/app/tools/gimpcagetool.h
index 91daec0765..952f49a57a 100644
--- a/app/tools/gimpcagetool.h
+++ b/app/tools/gimpcagetool.h
@@ -17,9 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_CAGE_TOOL_H__
-#define __GIMP_CAGE_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
@@ -80,6 +78,3 @@ void gimp_cage_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_cage_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_CAGE_TOOL_H__ */
diff --git a/app/tools/gimpcloneoptions-gui.h b/app/tools/gimpcloneoptions-gui.h
index 09a178db9f..464c1b4ba0 100644
--- a/app/tools/gimpcloneoptions-gui.h
+++ b/app/tools/gimpcloneoptions-gui.h
@@ -15,11 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_CLONE_OPTIONS_GUI_H__
-#define __GIMP_CLONE_OPTIONS_GUI_H__
+#pragma once
GtkWidget * gimp_clone_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_CLONE_OPTIONS_GUI_H__ */
diff --git a/app/tools/gimpclonetool.h b/app/tools/gimpclonetool.h
index 9d74d5a48b..844ec5398e 100644
--- a/app/tools/gimpclonetool.h
+++ b/app/tools/gimpclonetool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_CLONE_TOOL_H__
-#define __GIMP_CLONE_TOOL_H__
-
+#pragma once
#include "gimpsourcetool.h"
@@ -48,6 +46,3 @@ void gimp_clone_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_clone_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_CLONE_TOOL_H__ */
diff --git a/app/tools/gimpcoloroptions.h b/app/tools/gimpcoloroptions.h
index 1d6943801d..e9a9eaa3c7 100644
--- a/app/tools/gimpcoloroptions.h
+++ b/app/tools/gimpcoloroptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_COLOR_OPTIONS_H__
-#define __GIMP_COLOR_OPTIONS_H__
-
+#pragma once
#include "core/gimptooloptions.h"
@@ -50,6 +48,3 @@ struct _GimpColorOptionsClass
GType gimp_color_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_color_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_COLOR_OPTIONS_H__ */
diff --git a/app/tools/gimpconvolvetool.h b/app/tools/gimpconvolvetool.h
index 1abf6ff5fb..91d82a9d42 100644
--- a/app/tools/gimpconvolvetool.h
+++ b/app/tools/gimpconvolvetool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_CONVOLVE_TOOL_H__
-#define __GIMP_CONVOLVE_TOOL_H__
-
+#pragma once
#include "gimpbrushtool.h"
@@ -52,6 +50,3 @@ void gimp_convolve_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_convolve_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_CONVOLVE_TOOL_H__ */
diff --git a/app/tools/gimpcropoptions.h b/app/tools/gimpcropoptions.h
index e123dca789..814620cd39 100644
--- a/app/tools/gimpcropoptions.h
+++ b/app/tools/gimpcropoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_CROP_OPTIONS_H__
-#define __GIMP_CROP_OPTIONS_H__
-
+#pragma once
#include "core/gimptooloptions.h"
@@ -56,6 +54,3 @@ struct _GimpCropOptions
GType gimp_crop_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_crop_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_CROP_OPTIONS_H__ */
diff --git a/app/tools/gimpcurvestool.h b/app/tools/gimpcurvestool.h
index 8d3ba8b577..c5ff2733d4 100644
--- a/app/tools/gimpcurvestool.h
+++ b/app/tools/gimpcurvestool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_CURVES_TOOL_H__
-#define __GIMP_CURVES_TOOL_H__
-
+#pragma once
#include "gimpfiltertool.h"
@@ -64,6 +62,3 @@ void gimp_curves_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_curves_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_CURVES_TOOL_H__ */
diff --git a/app/tools/gimpdodgeburntool.h b/app/tools/gimpdodgeburntool.h
index 68687eaf4c..5ee968fe27 100644
--- a/app/tools/gimpdodgeburntool.h
+++ b/app/tools/gimpdodgeburntool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_DODGE_BURN_TOOL_H__
-#define __GIMP_DODGE_BURN_TOOL_H__
-
+#pragma once
#include "gimpbrushtool.h"
@@ -51,6 +49,3 @@ void gimp_dodge_burn_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_dodge_burn_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_DODGEBURN_TOOL_H__ */
diff --git a/app/tools/gimpdrawtool.h b/app/tools/gimpdrawtool.h
index 489fb74ff7..612d846b1a 100644
--- a/app/tools/gimpdrawtool.h
+++ b/app/tools/gimpdrawtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_DRAW_TOOL_H__
-#define __GIMP_DRAW_TOOL_H__
-
+#pragma once
#include "gimptool.h"
@@ -207,6 +205,3 @@ gboolean gimp_draw_tool_on_handle (GimpDrawTool *draw_too
gint width,
gint height,
GimpHandleAnchor anchor);
-
-
-#endif /* __GIMP_DRAW_TOOL_H__ */
diff --git a/app/tools/gimpeditselectiontool.h b/app/tools/gimpeditselectiontool.h
index 4561b37942..5f6d81421d 100644
--- a/app/tools/gimpeditselectiontool.h
+++ b/app/tools/gimpeditselectiontool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_EDIT_SELECTION_TOOL_H__
-#define __GIMP_EDIT_SELECTION_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
@@ -45,6 +43,3 @@ gboolean gimp_edit_selection_tool_translate (GimpTool *tool,
GimpTransformType translate_type,
GimpDisplay *display,
GtkWidget **type_box);
-
-
-#endif /* __GIMP_EDIT_SELECTION_TOOL_H__ */
diff --git a/app/tools/gimpellipseselecttool.h b/app/tools/gimpellipseselecttool.h
index b3018c8026..7b371e662e 100644
--- a/app/tools/gimpellipseselecttool.h
+++ b/app/tools/gimpellipseselecttool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_ELLIPSE_SELECT_TOOL_H__
-#define __GIMP_ELLIPSE_SELECT_TOOL_H__
-
+#pragma once
#include "gimprectangleselecttool.h"
@@ -48,6 +46,3 @@ void gimp_ellipse_select_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_ellipse_select_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_ELLIPSE_SELECT_TOOL_H__ */
diff --git a/app/tools/gimperasertool.h b/app/tools/gimperasertool.h
index 706d43c1fa..0a628bdf6f 100644
--- a/app/tools/gimperasertool.h
+++ b/app/tools/gimperasertool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_ERASER_TOOL_H__
-#define __GIMP_ERASER_TOOL_H__
-
+#pragma once
#include "gimpbrushtool.h"
@@ -50,6 +48,3 @@ void gimp_eraser_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_eraser_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_ERASER_TOOL_H__ */
diff --git a/app/tools/gimpfilteroptions.h b/app/tools/gimpfilteroptions.h
index b41a677dff..a2b517bbfe 100644
--- a/app/tools/gimpfilteroptions.h
+++ b/app/tools/gimpfilteroptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_FILTER_OPTIONS_H__
-#define __GIMP_FILTER_OPTIONS_H__
-
+#pragma once
#include "gimpcoloroptions.h"
@@ -59,6 +57,3 @@ void gimp_filter_options_switch_preview_side (GimpFilterOptions *optio
void gimp_filter_options_switch_preview_orientation (GimpFilterOptions *options,
gint position_x,
gint position_y);
-
-
-#endif /* __GIMP_FILTER_OPTIONS_H__ */
diff --git a/app/tools/gimpfiltertool-settings.h b/app/tools/gimpfiltertool-settings.h
index 9367b1cf2c..03ba7a9e8e 100644
--- a/app/tools/gimpfiltertool-settings.h
+++ b/app/tools/gimpfiltertool-settings.h
@@ -17,8 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_FILTER_TOOL_SETTINGS_H__
-#define __GIMP_FILTER_TOOL_SETTINGS_H__
+#pragma once
GtkWidget * gimp_filter_tool_get_settings_box (GimpFilterTool *filter_tool);
@@ -32,6 +31,3 @@ gboolean gimp_filter_tool_real_settings_import (GimpFilterTool *filter_tool,
gboolean gimp_filter_tool_real_settings_export (GimpFilterTool *filter_tool,
GOutputStream *output,
GError **error);
-
-
-#endif /* __GIMP_FILTER_TOOL_SETTINGS_H__ */
diff --git a/app/tools/gimpfiltertool-widgets.h b/app/tools/gimpfiltertool-widgets.h
index 1b47e8fa96..80f23564dd 100644
--- a/app/tools/gimpfiltertool-widgets.h
+++ b/app/tools/gimpfiltertool-widgets.h
@@ -17,8 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_FILTER_TOOL_WIDGETS_H__
-#define __GIMP_FILTER_TOOL_WIDGETS_H__
+#pragma once
GimpToolWidget * gimp_filter_tool_create_widget (GimpFilterTool *filter_tool,
@@ -31,6 +30,3 @@ GimpToolWidget * gimp_filter_tool_create_widget (GimpFilterTool *filter_tool
void gimp_filter_tool_reset_widget (GimpFilterTool *filter_tool,
GimpToolWidget *widget);
-
-
-#endif /* __GIMP_FILTER_TOOL_WIDGETS_H__ */
diff --git a/app/tools/gimpfiltertool.h b/app/tools/gimpfiltertool.h
index 9eada341d2..5ac8997494 100644
--- a/app/tools/gimpfiltertool.h
+++ b/app/tools/gimpfiltertool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_FILTER_TOOL_H__
-#define __GIMP_FILTER_TOOL_H__
-
+#pragma once
#include "gimpcolortool.h"
@@ -146,6 +144,3 @@ gboolean gimp_filter_tool_get_drawable_area (GimpFilterTool *filter_t
gint *drawable_offset_x,
gint *drawable_offset_y,
GeglRectangle *drawable_area);
-
-
-#endif /* __GIMP_FILTER_TOOL_H__ */
diff --git a/app/tools/gimpflipoptions.h b/app/tools/gimpflipoptions.h
index 11910540b3..f3784640f5 100644
--- a/app/tools/gimpflipoptions.h
+++ b/app/tools/gimpflipoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_FLIP_OPTIONS_H__
-#define __GIMP_FLIP_OPTIONS_H__
-
+#pragma once
#include "gimptransformoptions.h"
@@ -47,6 +45,3 @@ struct _GimpFlipOptions
GType gimp_flip_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_flip_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_FLIP_OPTIONS_H__ */
diff --git a/app/tools/gimpfliptool.h b/app/tools/gimpfliptool.h
index 4415863b86..30d6055d71 100644
--- a/app/tools/gimpfliptool.h
+++ b/app/tools/gimpfliptool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_FLIP_TOOL_H__
-#define __GIMP_FLIP_TOOL_H__
-
+#pragma once
#include "gimptransformtool.h"
@@ -52,6 +50,3 @@ void gimp_flip_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_flip_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_FLIP_TOOL_H__ */
diff --git a/app/tools/gimpforegroundselectoptions.h b/app/tools/gimpforegroundselectoptions.h
index 6396905349..280cb201a0 100644
--- a/app/tools/gimpforegroundselectoptions.h
+++ b/app/tools/gimpforegroundselectoptions.h
@@ -15,10 +15,7 @@
* along with this program. If not, see .
*/
-
-#ifndef __GIMP_FOREGROUND_SELECT_OPTIONS_H__
-#define __GIMP_FOREGROUND_SELECT_OPTIONS_H__
-
+#pragma once
#include "gimpselectionoptions.h"
@@ -57,8 +54,3 @@ struct _GimpForegroundSelectOptionsClass
GType gimp_foreground_select_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_foreground_select_options_gui (GimpToolOptions *tool_options);
-
-
-
-#endif /* __GIMP_FOREGROUND_SELECT_OPTIONS_H__ */
-
diff --git a/app/tools/gimpforegroundselecttool.h b/app/tools/gimpforegroundselecttool.h
index 648652cf1f..f48458a8a5 100644
--- a/app/tools/gimpforegroundselecttool.h
+++ b/app/tools/gimpforegroundselecttool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_FOREGROUND_SELECT_TOOL_H__
-#define __GIMP_FOREGROUND_SELECT_TOOL_H__
-
+#pragma once
#include "gimppolygonselecttool.h"
@@ -73,6 +71,3 @@ void gimp_foreground_select_tool_register (GimpToolRegisterCallback callback
gpointer data);
GType gimp_foreground_select_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_FOREGROUND_SELECT_TOOL_H__ */
diff --git a/app/tools/gimpforegroundselecttoolundo.h b/app/tools/gimpforegroundselecttoolundo.h
index 63477f8597..20939a9c6c 100644
--- a/app/tools/gimpforegroundselecttoolundo.h
+++ b/app/tools/gimpforegroundselecttoolundo.h
@@ -17,9 +17,7 @@
#if 0
-#ifndef __GIMP_FOREGROUND_SELECT_TOOL_UNDO_H__
-#define __GIMP_FOREGROUND_SELECT_TOOL_UNDO_H__
-
+#pragma once
#include "core/gimpundo.h"
@@ -50,7 +48,4 @@ struct _GimpForegroundSelectToolUndoClass
GType gimp_foreground_select_tool_undo_get_type (void) G_GNUC_CONST;
-
-#endif /* __GIMP_FOREGROUND_SELECT_TOOL_UNDO_H__ */
-
#endif
diff --git a/app/tools/gimpfreeselecttool.h b/app/tools/gimpfreeselecttool.h
index 0212040cb9..f3a029ee1b 100644
--- a/app/tools/gimpfreeselecttool.h
+++ b/app/tools/gimpfreeselecttool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_FREE_SELECT_TOOL_H__
-#define __GIMP_FREE_SELECT_TOOL_H__
-
+#pragma once
#include "gimppolygonselecttool.h"
@@ -52,5 +50,3 @@ void gimp_free_select_tool_register (GimpToolRegisterCallback callback,
GType gimp_free_select_tool_get_type (void) G_GNUC_CONST;
-
-#endif /* __GIMP_FREE_SELECT_TOOL_H__ */
diff --git a/app/tools/gimpfuzzyselecttool.h b/app/tools/gimpfuzzyselecttool.h
index a1b2acff0a..fced289870 100644
--- a/app/tools/gimpfuzzyselecttool.h
+++ b/app/tools/gimpfuzzyselecttool.h
@@ -17,9 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_FUZZY_SELECT_TOOL_H__
-#define __GIMP_FUZZY_SELECT_TOOL_H__
-
+#pragma once
#include "gimpregionselecttool.h"
@@ -50,6 +48,3 @@ void gimp_fuzzy_select_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_fuzzy_select_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_FUZZY_SELECT_TOOL_H__ */
diff --git a/app/tools/gimpgegltool.h b/app/tools/gimpgegltool.h
index 0a7a8f4964..874049d1bb 100644
--- a/app/tools/gimpgegltool.h
+++ b/app/tools/gimpgegltool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_GEGL_TOOL_H__
-#define __GIMP_GEGL_TOOL_H__
-
+#pragma once
#include "gimpoperationtool.h"
@@ -52,6 +50,3 @@ void gimp_gegl_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_gegl_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_GEGL_TOOL_H__ */
diff --git a/app/tools/gimpgenerictransformtool.h b/app/tools/gimpgenerictransformtool.h
index 557e5de934..f334b91251 100644
--- a/app/tools/gimpgenerictransformtool.h
+++ b/app/tools/gimpgenerictransformtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_GENERIC_TRANSFORM_TOOL_H__
-#define __GIMP_GENERIC_TRANSFORM_TOOL_H__
-
+#pragma once
#include "gimptransformgridtool.h"
@@ -53,6 +51,3 @@ struct _GimpGenericTransformToolClass
GType gimp_generic_transform_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_GENERIC_TRANSFORM_TOOL_H__ */
diff --git a/app/tools/gimpguidetool.h b/app/tools/gimpguidetool.h
index fa83b3664a..40de39d057 100644
--- a/app/tools/gimpguidetool.h
+++ b/app/tools/gimpguidetool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_GUIDE_TOOL_H__
-#define __GIMP_GUIDE_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
@@ -69,6 +67,3 @@ void gimp_guide_tool_start_edit (GimpTool *parent_tool,
void gimp_guide_tool_start_edit_many (GimpTool *parent_tool,
GimpDisplay *display,
GList *guides);
-
-
-#endif /* __GIMP_GUIDE_TOOL_H__ */
diff --git a/app/tools/gimphandletransformoptions.h b/app/tools/gimphandletransformoptions.h
index c0587cbdd3..2b78b7bab5 100644
--- a/app/tools/gimphandletransformoptions.h
+++ b/app/tools/gimphandletransformoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_HANDLE_TRANSFORM_OPTIONS_H__
-#define __GIMP_HANDLE_TRANSFORM_OPTIONS_H__
-
+#pragma once
#include "gimptransformgridoptions.h"
@@ -49,6 +47,3 @@ struct _GimpHandleTransformOptionsClass
GType gimp_handle_transform_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_handle_transform_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_HANDLE_TRANSFORM_OPTIONS_H__ */
diff --git a/app/tools/gimphandletransformtool.h b/app/tools/gimphandletransformtool.h
index 064208b46a..91453a5085 100644
--- a/app/tools/gimphandletransformtool.h
+++ b/app/tools/gimphandletransformtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_HANDLE_TRANSFORM_TOOL_H__
-#define __GIMP_HANDLE_TRANSFORM_TOOL_H__
-
+#pragma once
#include "gimpgenerictransformtool.h"
@@ -52,6 +50,3 @@ void gimp_handle_transform_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_handle_transform_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_HANDLE_TRANSFORM_TOOL_H__ */
diff --git a/app/tools/gimphealtool.h b/app/tools/gimphealtool.h
index fdcecb13f1..206ab7f1dc 100644
--- a/app/tools/gimphealtool.h
+++ b/app/tools/gimphealtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_HEAL_TOOL_H__
-#define __GIMP_HEAL_TOOL_H__
-
+#pragma once
#include "gimpsourcetool.h"
@@ -48,6 +46,3 @@ void gimp_heal_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_heal_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_HEAL_TOOL_H__ */
diff --git a/app/tools/gimphistogramoptions.h b/app/tools/gimphistogramoptions.h
index 00606c7218..85a8fb216b 100644
--- a/app/tools/gimphistogramoptions.h
+++ b/app/tools/gimphistogramoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_HISTOGRAM_OPTIONS_H__
-#define __GIMP_HISTOGRAM_OPTIONS_H__
-
+#pragma once
#include "gimpfilteroptions.h"
@@ -47,6 +45,3 @@ struct _GimpHistogramOptionsClass
GType gimp_histogram_options_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_HISTOGRAM_OPTIONS_H__ */
diff --git a/app/tools/gimpinkoptions-gui.h b/app/tools/gimpinkoptions-gui.h
index b449d90c28..b899e837a5 100644
--- a/app/tools/gimpinkoptions-gui.h
+++ b/app/tools/gimpinkoptions-gui.h
@@ -15,11 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_INK_OPTIONS_GUI_H__
-#define __GIMP_INK_OPTIONS_GUI_H__
+#pragma once
-GtkWidget * gimp_ink_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_INK_OPTIONS_GUI_H__ */
+GtkWidget * gimp_ink_options_gui (GimpToolOptions *tool_options);
diff --git a/app/tools/gimpinktool.h b/app/tools/gimpinktool.h
index e0076adc8a..8c425bb72b 100644
--- a/app/tools/gimpinktool.h
+++ b/app/tools/gimpinktool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_INK_TOOL_H__
-#define __GIMP_INK_TOOL_H__
-
+#pragma once
#include "gimppainttool.h"
@@ -50,6 +48,3 @@ void gimp_ink_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_ink_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_INK_TOOL_H__ */
diff --git a/app/tools/gimpiscissorsoptions.h b/app/tools/gimpiscissorsoptions.h
index a60c251f1a..0219b2a044 100644
--- a/app/tools/gimpiscissorsoptions.h
+++ b/app/tools/gimpiscissorsoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_ISCISSORS_OPTIONS_H__
-#define __GIMP_ISCISSORS_OPTIONS_H__
-
+#pragma once
#include "gimpselectionoptions.h"
@@ -44,6 +42,3 @@ struct _GimpIscissorsOptions
GType gimp_iscissors_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_iscissors_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_ISCISSORS_OPTIONS_H__ */
diff --git a/app/tools/gimpiscissorstool.h b/app/tools/gimpiscissorstool.h
index 3cd4c79804..01944a32d7 100644
--- a/app/tools/gimpiscissorstool.h
+++ b/app/tools/gimpiscissorstool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_ISCISSORS_TOOL_H__
-#define __GIMP_ISCISSORS_TOOL_H__
-
+#pragma once
#include "gimpselectiontool.h"
@@ -92,6 +90,3 @@ void gimp_iscissors_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_iscissors_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_ISCISSORS_TOOL_H__ */
diff --git a/app/tools/gimplevelstool.h b/app/tools/gimplevelstool.h
index b28b9c6872..741f9e2b7b 100644
--- a/app/tools/gimplevelstool.h
+++ b/app/tools/gimplevelstool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_LEVELS_TOOL_H__
-#define __GIMP_LEVELS_TOOL_H__
-
+#pragma once
#include "gimpfiltertool.h"
@@ -71,6 +69,3 @@ void gimp_levels_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_levels_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_LEVELS_TOOL_H__ */
diff --git a/app/tools/gimpmagnifyoptions.h b/app/tools/gimpmagnifyoptions.h
index 8747e241da..e57aabc153 100644
--- a/app/tools/gimpmagnifyoptions.h
+++ b/app/tools/gimpmagnifyoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_MAGNIFY_OPTIONS_H__
-#define __GIMP_MAGNIFY_OPTIONS_H__
-
+#pragma once
#include "core/gimptooloptions.h"
@@ -46,5 +44,3 @@ GType gimp_magnify_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_magnify_options_gui (GimpToolOptions *tool_options);
-
-#endif /* __GIMP_MAGNIFY_OPTIONS_H__ */
diff --git a/app/tools/gimpmagnifytool.h b/app/tools/gimpmagnifytool.h
index 505485aaba..c263f75dc9 100644
--- a/app/tools/gimpmagnifytool.h
+++ b/app/tools/gimpmagnifytool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_MAGNIFY_TOOL_H__
-#define __GIMP_MAGNIFY_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
@@ -55,6 +53,3 @@ void gimp_magnify_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_magnify_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_MAGNIFY_TOOL_H__ */
diff --git a/app/tools/gimpmeasureoptions.h b/app/tools/gimpmeasureoptions.h
index 79f9f8f1c2..d069b6a7eb 100644
--- a/app/tools/gimpmeasureoptions.h
+++ b/app/tools/gimpmeasureoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_MEASURE_OPTIONS_H__
-#define __GIMP_MEASURE_OPTIONS_H__
-
+#pragma once
#include "gimptransformoptions.h"
@@ -53,6 +51,3 @@ struct _GimpMeasureOptionsClass
GType gimp_measure_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_measure_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_MEASURE_OPTIONS_H__ */
diff --git a/app/tools/gimpmeasuretool.h b/app/tools/gimpmeasuretool.h
index ebd42fce28..6df58545b8 100644
--- a/app/tools/gimpmeasuretool.h
+++ b/app/tools/gimpmeasuretool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_MEASURE_TOOL_H__
-#define __GIMP_MEASURE_TOOL_H__
-
+#pragma once
#include "gimptransformtool.h"
@@ -66,6 +64,3 @@ void gimp_measure_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_measure_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_MEASURE_TOOL_H__ */
diff --git a/app/tools/gimpmoveoptions.h b/app/tools/gimpmoveoptions.h
index bb2868332e..4f9f6c77f1 100644
--- a/app/tools/gimpmoveoptions.h
+++ b/app/tools/gimpmoveoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_MOVE_OPTIONS_H__
-#define __GIMP_MOVE_OPTIONS_H__
-
+#pragma once
#include "core/gimptooloptions.h"
@@ -48,6 +46,3 @@ struct _GimpMoveOptions
GType gimp_move_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_move_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_MOVE_OPTIONS_H__ */
diff --git a/app/tools/gimpnpointdeformationoptions.h b/app/tools/gimpnpointdeformationoptions.h
index 8e559b043d..7350e9eb90 100644
--- a/app/tools/gimpnpointdeformationoptions.h
+++ b/app/tools/gimpnpointdeformationoptions.h
@@ -17,9 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_N_POINT_DEFORMATION_OPTIONS_H__
-#define __GIMP_N_POINT_DEFORMATION_OPTIONS_H__
-
+#pragma once
#include "core/gimptooloptions.h"
@@ -62,6 +60,3 @@ GtkWidget * gimp_n_point_deformation_options_gui (GimpToolOptions *tool_opt
void gimp_n_point_deformation_options_set_sensitivity (GimpNPointDeformationOptions *npd_options,
gboolean tool_active);
-
-
-#endif /* __GIMP_N_POINT_DEFORMATION_OPTIONS_H__ */
diff --git a/app/tools/gimpnpointdeformationtool.h b/app/tools/gimpnpointdeformationtool.h
index 5f208ba800..e659d64e88 100644
--- a/app/tools/gimpnpointdeformationtool.h
+++ b/app/tools/gimpnpointdeformationtool.h
@@ -17,12 +17,9 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_N_POINT_DEFORMATION_TOOL_H__
-#define __GIMP_N_POINT_DEFORMATION_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
-#include "libgimpmath/gimpmath.h"
#include
@@ -90,6 +87,3 @@ void gimp_n_point_deformation_tool_register (GimpToolRegisterCallback callba
gpointer data);
GType gimp_n_point_deformation_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_N_POINT_DEFORMATION_TOOL_H__ */
diff --git a/app/tools/gimpoffsettool.h b/app/tools/gimpoffsettool.h
index 39b86ab242..ccc66ddae5 100644
--- a/app/tools/gimpoffsettool.h
+++ b/app/tools/gimpoffsettool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_OFFSET_TOOL_H__
-#define __GIMP_OFFSET_TOOL_H__
-
+#pragma once
#include "gimpfiltertool.h"
@@ -59,6 +57,3 @@ void gimp_offset_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_offset_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_OFFSET_TOOL_H__ */
diff --git a/app/tools/gimpoperationtool.h b/app/tools/gimpoperationtool.h
index 523fb25bd1..1d43317a60 100644
--- a/app/tools/gimpoperationtool.h
+++ b/app/tools/gimpoperationtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_OPERATION_TOOL_H__
-#define __GIMP_OPERATION_TOOL_H__
-
+#pragma once
#include "gimpfiltertool.h"
@@ -67,6 +65,3 @@ void gimp_operation_tool_set_operation (GimpOperationTool *op_tool,
const gchar *undo_desc,
const gchar *icon_name,
const gchar *help_id);
-
-
-#endif /* __GIMP_OPERATION_TOOL_H__ */
diff --git a/app/tools/gimppaintbrushtool.h b/app/tools/gimppaintbrushtool.h
index 9014b6edbe..99f58f8de7 100644
--- a/app/tools/gimppaintbrushtool.h
+++ b/app/tools/gimppaintbrushtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_PAINTBRUSH_TOOL_H__
-#define __GIMP_PAINTBRUSH_TOOL_H__
-
+#pragma once
#include "gimpbrushtool.h"
@@ -48,6 +46,3 @@ void gimp_paintbrush_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_paintbrush_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_PAINTBRUSH_TOOL_H__ */
diff --git a/app/tools/gimppaintoptions-gui.h b/app/tools/gimppaintoptions-gui.h
index d747bbe576..58da5193c9 100644
--- a/app/tools/gimppaintoptions-gui.h
+++ b/app/tools/gimppaintoptions-gui.h
@@ -15,13 +15,9 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_PAINT_OPTIONS_GUI_H__
-#define __GIMP_PAINT_OPTIONS_GUI_H__
+#pragma once
GtkWidget * gimp_paint_options_gui (GimpToolOptions *tool_options);
GtkWidget * gimp_paint_options_gui_get_paint_mode_box (GtkWidget *options_gui);
-
-
-#endif /* __GIMP_PAINT_OPTIONS_GUI_H__ */
diff --git a/app/tools/gimppaintselectoptions.h b/app/tools/gimppaintselectoptions.h
index ee9dd4068f..af23d3f3d4 100644
--- a/app/tools/gimppaintselectoptions.h
+++ b/app/tools/gimppaintselectoptions.h
@@ -15,10 +15,7 @@
* along with this program. If not, see .
*/
-
-#ifndef __GIMP_PAINT_SELECT_OPTIONS_H__
-#define __GIMP_PAINT_SELECT_OPTIONS_H__
-
+#pragma once
#include "core/gimptooloptions.h"
@@ -52,7 +49,3 @@ struct _GimpPaintSelectOptionsClass
GType gimp_paint_select_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_paint_select_options_gui (GimpToolOptions *tool_options);
-
-
-
-#endif /* __GIMP_PAINT_SELECT_OPTIONS_H__ */
\ No newline at end of file
diff --git a/app/tools/gimppaintselecttool.h b/app/tools/gimppaintselecttool.h
index 6d62e63f58..fd53172876 100644
--- a/app/tools/gimppaintselecttool.h
+++ b/app/tools/gimppaintselecttool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_PAINT_SELECT_TOOL_H__
-#define __GIMP_PAINT_SELECT_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
@@ -69,6 +67,3 @@ void gimp_paint_select_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_paint_select_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_PAINT_SELECT_TOOL_H__ */
diff --git a/app/tools/gimppainttool-paint.h b/app/tools/gimppainttool-paint.h
index b3a6b0384a..57649b760b 100644
--- a/app/tools/gimppainttool-paint.h
+++ b/app/tools/gimppainttool-paint.h
@@ -15,8 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_PAINT_TOOL_PAINT_H__
-#define __GIMP_PAINT_TOOL_PAINT_H__
+#pragma once
typedef void (* GimpPaintToolPaintFunc) (GimpPaintTool *tool,
@@ -43,6 +42,3 @@ void gimp_paint_tool_paint_push (GimpPaintTool *tool,
void gimp_paint_tool_paint_motion (GimpPaintTool *tool,
const GimpCoords *coords,
guint32 time);
-
-
-#endif /* __GIMP_PAINT_TOOL_PAINT_H__ */
diff --git a/app/tools/gimppainttool.h b/app/tools/gimppainttool.h
index 0941ffbaeb..215f02eccc 100644
--- a/app/tools/gimppainttool.h
+++ b/app/tools/gimppainttool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_PAINT_TOOL_H__
-#define __GIMP_PAINT_TOOL_H__
-
+#pragma once
#include "gimpcolortool.h"
@@ -110,6 +108,3 @@ void gimp_paint_tool_set_draw_circle (GimpPaintTool *tool,
void gimp_paint_tool_force_draw (GimpPaintTool *tool,
gboolean force);
-
-
-#endif /* __GIMP_PAINT_TOOL_H__ */
diff --git a/app/tools/gimppenciltool.h b/app/tools/gimppenciltool.h
index 2e9b3166ba..b70074f5d0 100644
--- a/app/tools/gimppenciltool.h
+++ b/app/tools/gimppenciltool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_PENCIL_TOOL_H__
-#define __GIMP_PENCIL_TOOL_H__
-
+#pragma once
#include "gimppaintbrushtool.h"
@@ -48,6 +46,3 @@ void gimp_pencil_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_pencil_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_PENCIL_TOOL_H__ */
diff --git a/app/tools/gimpperspectiveclonetool.h b/app/tools/gimpperspectiveclonetool.h
index d0c4697b61..5fb904bbda 100644
--- a/app/tools/gimpperspectiveclonetool.h
+++ b/app/tools/gimpperspectiveclonetool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_PERSPECTIVE_CLONE_TOOL_H__
-#define __GIMP_PERSPECTIVE_CLONE_TOOL_H__
-
+#pragma once
#include "gimpbrushtool.h"
#include "gimptransformtool.h" /* for TransInfo */
@@ -67,6 +65,3 @@ void gimp_perspective_clone_tool_register (GimpToolRegisterCallback callback
gpointer data);
GType gimp_perspective_clone_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_PERSPECTIVE_CLONE_TOOL_H__ */
diff --git a/app/tools/gimpperspectivetool.h b/app/tools/gimpperspectivetool.h
index b037747039..f50d5dd7cd 100644
--- a/app/tools/gimpperspectivetool.h
+++ b/app/tools/gimpperspectivetool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_PERSPECTIVE_TOOL_H__
-#define __GIMP_PERSPECTIVE_TOOL_H__
-
+#pragma once
#include "gimpgenerictransformtool.h"
@@ -48,6 +46,3 @@ void gimp_perspective_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_perspective_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_PERSPECTIVE_TOOL_H__ */
diff --git a/app/tools/gimppolygonselecttool.h b/app/tools/gimppolygonselecttool.h
index 13de063323..a4d0803393 100644
--- a/app/tools/gimppolygonselecttool.h
+++ b/app/tools/gimppolygonselecttool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_POLYGON_SELECT_TOOL_H__
-#define __GIMP_POLYGON_SELECT_TOOL_H__
-
+#pragma once
#include "gimpselectiontool.h"
@@ -65,5 +63,3 @@ gboolean gimp_polygon_select_tool_is_grabbed (GimpPolygonSelectTool *poly_sel
void gimp_polygon_select_tool_halt (GimpPolygonSelectTool *poly_sel);
-
-#endif /* __GIMP_POLYGON_SELECT_TOOL_H__ */
diff --git a/app/tools/gimprectangleoptions.h b/app/tools/gimprectangleoptions.h
index e3afeacdcd..e6bf498cb8 100644
--- a/app/tools/gimprectangleoptions.h
+++ b/app/tools/gimprectangleoptions.h
@@ -15,8 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_RECTANGLE_OPTIONS_H__
-#define __GIMP_RECTANGLE_OPTIONS_H__
+#pragma once
typedef enum
@@ -176,6 +175,3 @@ void gimp_rectangle_options_get_property (GObject *object,
/* testing helper functions */
GtkWidget * gimp_rectangle_options_get_size_entry (GimpRectangleOptions *rectangle_options);
-
-
-#endif /* __GIMP_RECTANGLE_OPTIONS_H__ */
diff --git a/app/tools/gimprectangleselectoptions.h b/app/tools/gimprectangleselectoptions.h
index cf56f8ff1a..ee65a7271e 100644
--- a/app/tools/gimprectangleselectoptions.h
+++ b/app/tools/gimprectangleselectoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_RECTANGLE_SELECT_OPTIONS_H__
-#define __GIMP_RECTANGLE_SELECT_OPTIONS_H__
-
+#pragma once
#include "gimpselectionoptions.h"
@@ -45,6 +43,3 @@ struct _GimpRectangleSelectOptions
GType gimp_rectangle_select_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_rectangle_select_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_RECTANGLE_SELECT_OPTIONS_H__ */
diff --git a/app/tools/gimpregionselectoptions.h b/app/tools/gimpregionselectoptions.h
index 24b8b42acb..cc5c402f6e 100644
--- a/app/tools/gimpregionselectoptions.h
+++ b/app/tools/gimpregionselectoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_REGION_SELECT_OPTIONS_H__
-#define __GIMP_REGION_SELECT_OPTIONS_H__
-
+#pragma once
#include "gimpselectionoptions.h"
@@ -49,6 +47,3 @@ struct _GimpRegionSelectOptions
GType gimp_region_select_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_region_select_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_REGION_SELECT_OPTIONS_H__ */
diff --git a/app/tools/gimpregionselecttool.h b/app/tools/gimpregionselecttool.h
index 63c2551720..dd06c5d5eb 100644
--- a/app/tools/gimpregionselecttool.h
+++ b/app/tools/gimpregionselecttool.h
@@ -17,9 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_REGION_SELECT_TOOL_H__
-#define __GIMP_REGION_SELECT_TOOL_H__
-
+#pragma once
#include "gimpselectiontool.h"
@@ -61,6 +59,3 @@ struct _GimpRegionSelectToolClass
GType gimp_region_select_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_REGION_SELECT_TOOL_H__ */
diff --git a/app/tools/gimprotatetool.h b/app/tools/gimprotatetool.h
index 5a09ca2eab..fe2ae8de80 100644
--- a/app/tools/gimprotatetool.h
+++ b/app/tools/gimprotatetool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_ROTATE_TOOL_H__
-#define __GIMP_ROTATE_TOOL_H__
-
+#pragma once
#include "gimptransformgridtool.h"
@@ -53,6 +51,3 @@ void gimp_rotate_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_rotate_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_ROTATE_TOOL_H__ */
diff --git a/app/tools/gimpsamplepointtool.h b/app/tools/gimpsamplepointtool.h
index 1e5a3b2109..02ad159d97 100644
--- a/app/tools/gimpsamplepointtool.h
+++ b/app/tools/gimpsamplepointtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_SAMPLE_POINT_TOOL_H__
-#define __GIMP_SAMPLE_POINT_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
@@ -57,6 +55,3 @@ void gimp_sample_point_tool_start_new (GimpTool *parent_tool,
void gimp_sample_point_tool_start_edit (GimpTool *parent_tool,
GimpDisplay *display,
GimpSamplePoint *sample_point);
-
-
-#endif /* __GIMP_SAMPLE_POINT_TOOL_H__ */
diff --git a/app/tools/gimpscaletool.h b/app/tools/gimpscaletool.h
index e3c4b194e0..1296ff4fa4 100644
--- a/app/tools/gimpscaletool.h
+++ b/app/tools/gimpscaletool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_SCALE_TOOL_H__
-#define __GIMP_SCALE_TOOL_H__
-
+#pragma once
#include "gimptransformgridtool.h"
@@ -49,6 +47,3 @@ void gimp_scale_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_scale_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_SCALE_TOOL_H__ */
diff --git a/app/tools/gimpseamlesscloneoptions.h b/app/tools/gimpseamlesscloneoptions.h
index 872aa5d802..703822592b 100644
--- a/app/tools/gimpseamlesscloneoptions.h
+++ b/app/tools/gimpseamlesscloneoptions.h
@@ -17,9 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_SEAMLESS_CLONE_OPTIONS_H__
-#define __GIMP_SEAMLESS_CLONE_OPTIONS_H__
-
+#pragma once
#include "core/gimptooloptions.h"
@@ -52,6 +50,3 @@ struct _GimpSeamlessCloneOptionsClass
GType gimp_seamless_clone_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_seamless_clone_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_SEAMLESS_CLONE_OPTIONS_H__ */
diff --git a/app/tools/gimpseamlessclonetool.h b/app/tools/gimpseamlessclonetool.h
index d2c85a36d5..a48a95e9be 100644
--- a/app/tools/gimpseamlessclonetool.h
+++ b/app/tools/gimpseamlessclonetool.h
@@ -17,9 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_SEAMLESS_CLONE_TOOL_H__
-#define __GIMP_SEAMLESS_CLONE_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
@@ -81,6 +79,3 @@ void gimp_seamless_clone_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_seamless_clone_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_SEAMLESS_CLONE_TOOL_H__ */
diff --git a/app/tools/gimpselectionoptions.h b/app/tools/gimpselectionoptions.h
index 9a2107dd7d..2508684b04 100644
--- a/app/tools/gimpselectionoptions.h
+++ b/app/tools/gimpselectionoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_SELECTION_OPTIONS_H__
-#define __GIMP_SELECTION_OPTIONS_H__
-
+#pragma once
#include "core/gimptooloptions.h"
@@ -51,6 +49,3 @@ struct _GimpSelectionOptions
GType gimp_selection_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_selection_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_SELECTION_OPTIONS_H__ */
diff --git a/app/tools/gimpselectiontool.h b/app/tools/gimpselectiontool.h
index 077605691c..67ebf1aacd 100644
--- a/app/tools/gimpselectiontool.h
+++ b/app/tools/gimpselectiontool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_SELECTION_TOOL_H__
-#define __GIMP_SELECTION_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
@@ -73,6 +71,3 @@ void gimp_selection_tool_start_change (GimpSelectionTool *sel_tool,
GimpChannelOps operation);
void gimp_selection_tool_end_change (GimpSelectionTool *sel_tool,
gboolean cancel);
-
-
-#endif /* __GIMP_SELECTION_TOOL_H__ */
diff --git a/app/tools/gimpsheartool.h b/app/tools/gimpsheartool.h
index 0ab6d25271..2cfcbe60d5 100644
--- a/app/tools/gimpsheartool.h
+++ b/app/tools/gimpsheartool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_SHEAR_TOOL_H__
-#define __GIMP_SHEAR_TOOL_H__
-
+#pragma once
#include "gimptransformgridtool.h"
@@ -52,5 +50,3 @@ void gimp_shear_tool_register (GimpToolRegisterCallback callback,
GType gimp_shear_tool_get_type (void) G_GNUC_CONST;
-
-#endif /* __GIMP_SHEAR_TOOL_H__ */
diff --git a/app/tools/gimpsmudgetool.h b/app/tools/gimpsmudgetool.h
index ab5f9778a4..fcd6b48ad2 100644
--- a/app/tools/gimpsmudgetool.h
+++ b/app/tools/gimpsmudgetool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_SMUDGE_TOOL_H__
-#define __GIMP_SMUDGE_TOOL_H__
-
+#pragma once
#include "gimpbrushtool.h"
@@ -48,6 +46,3 @@ void gimp_smudge_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_smudge_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_SMUDGE_TOOL_H__ */
diff --git a/app/tools/gimpsourcetool.h b/app/tools/gimpsourcetool.h
index c5737917aa..029d7d1e14 100644
--- a/app/tools/gimpsourcetool.h
+++ b/app/tools/gimpsourcetool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_SOURCE_TOOL_H__
-#define __GIMP_SOURCE_TOOL_H__
-
+#pragma once
#include "gimpbrushtool.h"
@@ -61,6 +59,3 @@ struct _GimpSourceToolClass
GType gimp_source_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_SOURCE_TOOL_H__ */
diff --git a/app/tools/gimptexttool-editor.h b/app/tools/gimptexttool-editor.h
index e8e7d7da0b..2b1c4422ed 100644
--- a/app/tools/gimptexttool-editor.h
+++ b/app/tools/gimptexttool-editor.h
@@ -20,8 +20,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TEXT_TOOL_EDITOR_H__
-#define __GIMP_TEXT_TOOL_EDITOR_H__
+#pragma once
void gimp_text_tool_editor_init (GimpTextTool *text_tool);
@@ -51,6 +50,3 @@ void gimp_text_tool_editor_get_cursor_rect (GimpTextTool *text_too
gboolean overwrite,
PangoRectangle *cursor_rect);
void gimp_text_tool_editor_update_im_cursor (GimpTextTool *text_tool);
-
-
-#endif /* __GIMP_TEXT_TOOL_EDITOR_H__ */
diff --git a/app/tools/gimpthresholdtool.h b/app/tools/gimpthresholdtool.h
index 95f80ebc45..4634987408 100644
--- a/app/tools/gimpthresholdtool.h
+++ b/app/tools/gimpthresholdtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_THRESHOLD_TOOL_H__
-#define __GIMP_THRESHOLD_TOOL_H__
-
+#pragma once
#include "gimpfiltertool.h"
@@ -54,6 +52,3 @@ void gimp_threshold_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_threshold_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_THRESHOLD_TOOL_H__ */
diff --git a/app/tools/gimptilehandleriscissors.h b/app/tools/gimptilehandleriscissors.h
index a2c1916708..27ced85944 100644
--- a/app/tools/gimptilehandleriscissors.h
+++ b/app/tools/gimptilehandleriscissors.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TILE_HANDLER_ISCISSORS_H__
-#define __GIMP_TILE_HANDLER_ISCISSORS_H__
-
+#pragma once
#include "gegl/gimptilehandlervalidate.h"
@@ -54,6 +52,3 @@ struct _GimpTileHandlerIscissorsClass
GType gimp_tile_handler_iscissors_get_type (void) G_GNUC_CONST;
GeglTileHandler * gimp_tile_handler_iscissors_new (GimpPickable *pickable);
-
-
-#endif /* __GIMP_TILE_HANDLER_ISCISSORS_H__ */
diff --git a/app/tools/gimptool-progress.h b/app/tools/gimptool-progress.h
index 7a34db6b39..aa6b8dd16f 100644
--- a/app/tools/gimptool-progress.h
+++ b/app/tools/gimptool-progress.h
@@ -18,11 +18,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TOOL_PROGRESS_H__
-#define __GIMP_TOOL_PROGRESS_H__
+#pragma once
void gimp_tool_progress_iface_init (GimpProgressInterface *iface);
-
-
-#endif /* __GIMP_TOOL_PROGRESS */
diff --git a/app/tools/gimptool.h b/app/tools/gimptool.h
index aeaef5163a..bfea9dd2d0 100644
--- a/app/tools/gimptool.h
+++ b/app/tools/gimptool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TOOL_H__
-#define __GIMP_TOOL_H__
-
+#pragma once
#include "core/gimpobject.h"
@@ -295,6 +293,3 @@ void gimp_tool_set_cursor (GimpTool *tool,
GimpCursorType cursor,
GimpToolCursorType tool_cursor,
GimpCursorModifier modifier);
-
-
-#endif /* __GIMP_TOOL_H__ */
diff --git a/app/tools/gimptoolcontrol.h b/app/tools/gimptoolcontrol.h
index 6617258cba..dfac372035 100644
--- a/app/tools/gimptoolcontrol.h
+++ b/app/tools/gimptoolcontrol.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TOOL_CONTROL_H__
-#define __GIMP_TOOL_CONTROL_H__
-
+#pragma once
#include "core/gimpobject.h"
@@ -270,6 +268,3 @@ const gchar * gimp_tool_control_get_action_object_2 (GimpToolControl *control);
void gimp_tool_control_set_action_pixel_size (GimpToolControl *control,
const gchar *action);
const gchar * gimp_tool_control_get_action_pixel_size (GimpToolControl *control);
-
-
-#endif /* __GIMP_TOOL_CONTROL_H__ */
diff --git a/app/tools/gimptooloptions-gui.h b/app/tools/gimptooloptions-gui.h
index 5847e92739..580b198bab 100644
--- a/app/tools/gimptooloptions-gui.h
+++ b/app/tools/gimptooloptions-gui.h
@@ -15,12 +15,8 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TOOL_OPTIONS_GUI_H__
-#define __GIMP_TOOL_OPTIONS_GUI_H__
+#pragma once
GtkWidget * gimp_tool_options_gui (GimpToolOptions *tool_options);
GtkWidget * gimp_tool_options_empty_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_TOOL_OPTIONS_GUI_H__ */
diff --git a/app/tools/gimptools-utils.h b/app/tools/gimptools-utils.h
index 2875d3de09..bee6f4d49f 100644
--- a/app/tools/gimptools-utils.h
+++ b/app/tools/gimptools-utils.h
@@ -15,14 +15,10 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TOOLS_UTILS_H__
-#define __GIMP_TOOLS_UTILS_H__
+#pragma once
void gimp_tools_blink_lock_box (Gimp *gimp,
GimpItem *item);
void gimp_tools_show_tool_options (Gimp *gimp);
-
-
-#endif /* __GIMP_TOOLS_UTILS_H__ */
diff --git a/app/tools/gimptransform3doptions.h b/app/tools/gimptransform3doptions.h
index d0fd3e0bef..4ef84cf33b 100644
--- a/app/tools/gimptransform3doptions.h
+++ b/app/tools/gimptransform3doptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TRANSFORM_3D_OPTIONS_H__
-#define __GIMP_TRANSFORM_3D_OPTIONS_H__
-
+#pragma once
#include "gimptransformgridoptions.h"
@@ -54,6 +52,3 @@ struct _GimpTransform3DOptionsClass
GType gimp_transform_3d_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_transform_3d_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_TRANSFORM_3D_OPTIONS_H__ */
diff --git a/app/tools/gimptransform3dtool.h b/app/tools/gimptransform3dtool.h
index 636befffeb..b77d515bd5 100644
--- a/app/tools/gimptransform3dtool.h
+++ b/app/tools/gimptransform3dtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TRANSFORM_3D_TOOL_H__
-#define __GIMP_TRANSFORM_3D_TOOL_H__
-
+#pragma once
#include "gimptransformgridtool.h"
@@ -63,5 +61,3 @@ void gimp_transform_3d_tool_register (GimpToolRegisterCallback callback,
GType gimp_transform_3d_tool_get_type (void) G_GNUC_CONST;
-
-#endif /* __GIMP_TRANSFORM_3D_TOOL_H__ */
diff --git a/app/tools/gimptransformgridoptions.h b/app/tools/gimptransformgridoptions.h
index 3a45f35b76..8be5318eca 100644
--- a/app/tools/gimptransformgridoptions.h
+++ b/app/tools/gimptransformgridoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TRANSFORM_GRID_OPTIONS_H__
-#define __GIMP_TRANSFORM_GRID_OPTIONS_H__
-
+#pragma once
#include "gimptransformoptions.h"
@@ -70,6 +68,3 @@ GType gimp_transform_grid_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_transform_grid_options_gui (GimpToolOptions *tool_options);
gboolean gimp_transform_grid_options_show_preview (GimpTransformGridOptions *options);
-
-
-#endif /* __GIMP_TRANSFORM_GRID_OPTIONS_H__ */
diff --git a/app/tools/gimptransformgridtool.h b/app/tools/gimptransformgridtool.h
index e3311ec678..390b7c1213 100644
--- a/app/tools/gimptransformgridtool.h
+++ b/app/tools/gimptransformgridtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TRANSFORM_GRID_TOOL_H__
-#define __GIMP_TRANSFORM_GRID_TOOL_H__
-
+#pragma once
#include "gimptransformtool.h"
@@ -113,6 +111,3 @@ void gimp_transform_grid_tool_matrix_to_info (GimpTransformGridTool *t
void gimp_transform_grid_tool_push_internal_undo (GimpTransformGridTool *tg_tool,
gboolean compress);
-
-
-#endif /* __GIMP_TRANSFORM_GRID_TOOL_H__ */
diff --git a/app/tools/gimptransformgridtoolundo.h b/app/tools/gimptransformgridtoolundo.h
index 3fc7a24b4b..b56035b7f2 100644
--- a/app/tools/gimptransformgridtoolundo.h
+++ b/app/tools/gimptransformgridtoolundo.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TRANSFORM_GRID_TOOL_UNDO_H__
-#define __GIMP_TRANSFORM_GRID_TOOL_UNDO_H__
-
+#pragma once
#include "core/gimpundo.h"
@@ -39,7 +37,7 @@ struct _GimpTransformGridToolUndo
GimpTransformGridTool *tg_tool;
TransInfo trans_infos[2];
-#if 0
+#if 0
TileManager *original;
#endif
};
@@ -51,6 +49,3 @@ struct _GimpTransformGridToolUndoClass
GType gimp_transform_grid_tool_undo_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_TRANSFORM_GRID_TOOL_UNDO_H__ */
diff --git a/app/tools/gimptransformoptions.h b/app/tools/gimptransformoptions.h
index ca8d032fcb..f08ea16718 100644
--- a/app/tools/gimptransformoptions.h
+++ b/app/tools/gimptransformoptions.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TRANSFORM_OPTIONS_H__
-#define __GIMP_TRANSFORM_OPTIONS_H__
-
+#pragma once
#include "core/gimptooloptions.h"
@@ -59,6 +57,3 @@ GtkWidget * gimp_transform_options_gui (GimpToolOptions *tool_options,
gboolean direction,
gboolean interpolation,
gboolean clipping);
-
-
-#endif /* __GIMP_TRANSFORM_OPTIONS_H__ */
diff --git a/app/tools/gimptransformtool.h b/app/tools/gimptransformtool.h
index b43fcb7e6d..abe6e20a22 100644
--- a/app/tools/gimptransformtool.h
+++ b/app/tools/gimptransformtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_TRANSFORM_TOOL_H__
-#define __GIMP_TRANSFORM_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
@@ -101,6 +99,3 @@ gboolean gimp_transform_tool_transform (GimpTransformTool *tr_too
void gimp_transform_tool_set_type (GimpTransformTool *tr_tool,
GimpTransformType type);
-
-
-#endif /* __GIMP_TRANSFORM_TOOL_H__ */
diff --git a/app/tools/gimpunifiedtransformtool.h b/app/tools/gimpunifiedtransformtool.h
index 923f93308c..227a60cfd6 100644
--- a/app/tools/gimpunifiedtransformtool.h
+++ b/app/tools/gimpunifiedtransformtool.h
@@ -15,9 +15,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_UNIFIED_TRANSFORM_TOOL_H__
-#define __GIMP_UNIFIED_TRANSFORM_TOOL_H__
-
+#pragma once
#include "gimpgenerictransformtool.h"
@@ -48,6 +46,3 @@ void gimp_unified_transform_tool_register (GimpToolRegisterCallback callback
gpointer data);
GType gimp_unified_transform_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_UNIFIED_TRANSFORM_TOOL_H__ */
diff --git a/app/tools/gimpwarpoptions.h b/app/tools/gimpwarpoptions.h
index eacfb714b2..7b537e38d9 100644
--- a/app/tools/gimpwarpoptions.h
+++ b/app/tools/gimpwarpoptions.h
@@ -17,9 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_WARP_OPTIONS_H__
-#define __GIMP_WARP_OPTIONS_H__
-
+#pragma once
#include "core/gimptooloptions.h"
@@ -70,6 +68,3 @@ struct _GimpWarpOptionsClass
GType gimp_warp_options_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_warp_options_gui (GimpToolOptions *tool_options);
-
-
-#endif /* __GIMP_WARP_OPTIONS_H__ */
diff --git a/app/tools/gimpwarptool.h b/app/tools/gimpwarptool.h
index ad2e390461..0175f70c72 100644
--- a/app/tools/gimpwarptool.h
+++ b/app/tools/gimpwarptool.h
@@ -17,9 +17,7 @@
* along with this program. If not, see .
*/
-#ifndef __GIMP_WARP_TOOL_H__
-#define __GIMP_WARP_TOOL_H__
-
+#pragma once
#include "gimpdrawtool.h"
@@ -73,6 +71,3 @@ void gimp_warp_tool_register (GimpToolRegisterCallback callback,
gpointer data);
GType gimp_warp_tool_get_type (void) G_GNUC_CONST;
-
-
-#endif /* __GIMP_WARP_TOOL_H__ */