diff --git a/examples/application1/exampleapp.h b/examples/application1/exampleapp.h index f7b837fbd5..2d866c689c 100644 --- a/examples/application1/exampleapp.h +++ b/examples/application1/exampleapp.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPP_H -#define __EXAMPLEAPP_H +#pragma once #include @@ -8,6 +7,3 @@ G_DECLARE_FINAL_TYPE (ExampleApp, example_app, EXAMPLE, APP, GtkApplication) ExampleApp *example_app_new (void); - - -#endif /* __EXAMPLEAPP_H */ diff --git a/examples/application1/exampleappwin.h b/examples/application1/exampleappwin.h index 786338d083..00758f6187 100644 --- a/examples/application1/exampleappwin.h +++ b/examples/application1/exampleappwin.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPWIN_H -#define __EXAMPLEAPPWIN_H +#pragma once #include #include "exampleapp.h" @@ -12,6 +11,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, ExampleAppWindow *example_app_window_new (ExampleApp *app); void example_app_window_open (ExampleAppWindow *win, GFile *file); - - -#endif /* __EXAMPLEAPPWIN_H */ diff --git a/examples/application2/exampleapp.h b/examples/application2/exampleapp.h index 51093791a3..fdbf91befc 100644 --- a/examples/application2/exampleapp.h +++ b/examples/application2/exampleapp.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPP_H -#define __EXAMPLEAPP_H +#pragma once #include @@ -9,6 +8,3 @@ G_DECLARE_FINAL_TYPE (ExampleApp, example_app, EXAMPLE, APP, GtkApplication) ExampleApp *example_app_new (void); - - -#endif /* __EXAMPLEAPP_H */ diff --git a/examples/application2/exampleappwin.h b/examples/application2/exampleappwin.h index 786338d083..00758f6187 100644 --- a/examples/application2/exampleappwin.h +++ b/examples/application2/exampleappwin.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPWIN_H -#define __EXAMPLEAPPWIN_H +#pragma once #include #include "exampleapp.h" @@ -12,6 +11,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, ExampleAppWindow *example_app_window_new (ExampleApp *app); void example_app_window_open (ExampleAppWindow *win, GFile *file); - - -#endif /* __EXAMPLEAPPWIN_H */ diff --git a/examples/application3/exampleapp.h b/examples/application3/exampleapp.h index 51093791a3..fdbf91befc 100644 --- a/examples/application3/exampleapp.h +++ b/examples/application3/exampleapp.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPP_H -#define __EXAMPLEAPP_H +#pragma once #include @@ -9,6 +8,3 @@ G_DECLARE_FINAL_TYPE (ExampleApp, example_app, EXAMPLE, APP, GtkApplication) ExampleApp *example_app_new (void); - - -#endif /* __EXAMPLEAPP_H */ diff --git a/examples/application3/exampleappwin.h b/examples/application3/exampleappwin.h index 786338d083..00758f6187 100644 --- a/examples/application3/exampleappwin.h +++ b/examples/application3/exampleappwin.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPWIN_H -#define __EXAMPLEAPPWIN_H +#pragma once #include #include "exampleapp.h" @@ -12,6 +11,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, ExampleAppWindow *example_app_window_new (ExampleApp *app); void example_app_window_open (ExampleAppWindow *win, GFile *file); - - -#endif /* __EXAMPLEAPPWIN_H */ diff --git a/examples/application4/exampleapp.h b/examples/application4/exampleapp.h index 51093791a3..fdbf91befc 100644 --- a/examples/application4/exampleapp.h +++ b/examples/application4/exampleapp.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPP_H -#define __EXAMPLEAPP_H +#pragma once #include @@ -9,6 +8,3 @@ G_DECLARE_FINAL_TYPE (ExampleApp, example_app, EXAMPLE, APP, GtkApplication) ExampleApp *example_app_new (void); - - -#endif /* __EXAMPLEAPP_H */ diff --git a/examples/application4/exampleappwin.h b/examples/application4/exampleappwin.h index 786338d083..00758f6187 100644 --- a/examples/application4/exampleappwin.h +++ b/examples/application4/exampleappwin.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPWIN_H -#define __EXAMPLEAPPWIN_H +#pragma once #include #include "exampleapp.h" @@ -12,6 +11,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, ExampleAppWindow *example_app_window_new (ExampleApp *app); void example_app_window_open (ExampleAppWindow *win, GFile *file); - - -#endif /* __EXAMPLEAPPWIN_H */ diff --git a/examples/application5/exampleapp.h b/examples/application5/exampleapp.h index 51093791a3..fdbf91befc 100644 --- a/examples/application5/exampleapp.h +++ b/examples/application5/exampleapp.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPP_H -#define __EXAMPLEAPP_H +#pragma once #include @@ -9,6 +8,3 @@ G_DECLARE_FINAL_TYPE (ExampleApp, example_app, EXAMPLE, APP, GtkApplication) ExampleApp *example_app_new (void); - - -#endif /* __EXAMPLEAPP_H */ diff --git a/examples/application5/exampleappwin.h b/examples/application5/exampleappwin.h index 786338d083..00758f6187 100644 --- a/examples/application5/exampleappwin.h +++ b/examples/application5/exampleappwin.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPWIN_H -#define __EXAMPLEAPPWIN_H +#pragma once #include #include "exampleapp.h" @@ -12,6 +11,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, ExampleAppWindow *example_app_window_new (ExampleApp *app); void example_app_window_open (ExampleAppWindow *win, GFile *file); - - -#endif /* __EXAMPLEAPPWIN_H */ diff --git a/examples/application6/exampleapp.h b/examples/application6/exampleapp.h index 51093791a3..fdbf91befc 100644 --- a/examples/application6/exampleapp.h +++ b/examples/application6/exampleapp.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPP_H -#define __EXAMPLEAPP_H +#pragma once #include @@ -9,6 +8,3 @@ G_DECLARE_FINAL_TYPE (ExampleApp, example_app, EXAMPLE, APP, GtkApplication) ExampleApp *example_app_new (void); - - -#endif /* __EXAMPLEAPP_H */ diff --git a/examples/application6/exampleappprefs.h b/examples/application6/exampleappprefs.h index 2f08819ffb..b7a8df14df 100644 --- a/examples/application6/exampleappprefs.h +++ b/examples/application6/exampleappprefs.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPPREFS_H -#define __EXAMPLEAPPPREFS_H +#pragma once #include #include "exampleappwin.h" @@ -10,6 +9,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppPrefs, example_app_prefs, EXAMPLE, APP_PREFS, Gt ExampleAppPrefs *example_app_prefs_new (ExampleAppWindow *win); - - -#endif /* __EXAMPLEAPPPREFS_H */ diff --git a/examples/application6/exampleappwin.h b/examples/application6/exampleappwin.h index 786338d083..00758f6187 100644 --- a/examples/application6/exampleappwin.h +++ b/examples/application6/exampleappwin.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPWIN_H -#define __EXAMPLEAPPWIN_H +#pragma once #include #include "exampleapp.h" @@ -12,6 +11,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, ExampleAppWindow *example_app_window_new (ExampleApp *app); void example_app_window_open (ExampleAppWindow *win, GFile *file); - - -#endif /* __EXAMPLEAPPWIN_H */ diff --git a/examples/application7/exampleapp.h b/examples/application7/exampleapp.h index 51093791a3..fdbf91befc 100644 --- a/examples/application7/exampleapp.h +++ b/examples/application7/exampleapp.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPP_H -#define __EXAMPLEAPP_H +#pragma once #include @@ -9,6 +8,3 @@ G_DECLARE_FINAL_TYPE (ExampleApp, example_app, EXAMPLE, APP, GtkApplication) ExampleApp *example_app_new (void); - - -#endif /* __EXAMPLEAPP_H */ diff --git a/examples/application7/exampleappprefs.h b/examples/application7/exampleappprefs.h index 2f08819ffb..b7a8df14df 100644 --- a/examples/application7/exampleappprefs.h +++ b/examples/application7/exampleappprefs.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPPREFS_H -#define __EXAMPLEAPPPREFS_H +#pragma once #include #include "exampleappwin.h" @@ -10,6 +9,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppPrefs, example_app_prefs, EXAMPLE, APP_PREFS, Gt ExampleAppPrefs *example_app_prefs_new (ExampleAppWindow *win); - - -#endif /* __EXAMPLEAPPPREFS_H */ diff --git a/examples/application7/exampleappwin.h b/examples/application7/exampleappwin.h index 786338d083..00758f6187 100644 --- a/examples/application7/exampleappwin.h +++ b/examples/application7/exampleappwin.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPWIN_H -#define __EXAMPLEAPPWIN_H +#pragma once #include #include "exampleapp.h" @@ -12,6 +11,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, ExampleAppWindow *example_app_window_new (ExampleApp *app); void example_app_window_open (ExampleAppWindow *win, GFile *file); - - -#endif /* __EXAMPLEAPPWIN_H */ diff --git a/examples/application8/exampleapp.h b/examples/application8/exampleapp.h index 51093791a3..fdbf91befc 100644 --- a/examples/application8/exampleapp.h +++ b/examples/application8/exampleapp.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPP_H -#define __EXAMPLEAPP_H +#pragma once #include @@ -9,6 +8,3 @@ G_DECLARE_FINAL_TYPE (ExampleApp, example_app, EXAMPLE, APP, GtkApplication) ExampleApp *example_app_new (void); - - -#endif /* __EXAMPLEAPP_H */ diff --git a/examples/application8/exampleappprefs.h b/examples/application8/exampleappprefs.h index 2f08819ffb..b7a8df14df 100644 --- a/examples/application8/exampleappprefs.h +++ b/examples/application8/exampleappprefs.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPPREFS_H -#define __EXAMPLEAPPPREFS_H +#pragma once #include #include "exampleappwin.h" @@ -10,6 +9,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppPrefs, example_app_prefs, EXAMPLE, APP_PREFS, Gt ExampleAppPrefs *example_app_prefs_new (ExampleAppWindow *win); - - -#endif /* __EXAMPLEAPPPREFS_H */ diff --git a/examples/application8/exampleappwin.h b/examples/application8/exampleappwin.h index 786338d083..00758f6187 100644 --- a/examples/application8/exampleappwin.h +++ b/examples/application8/exampleappwin.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPWIN_H -#define __EXAMPLEAPPWIN_H +#pragma once #include #include "exampleapp.h" @@ -12,6 +11,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, ExampleAppWindow *example_app_window_new (ExampleApp *app); void example_app_window_open (ExampleAppWindow *win, GFile *file); - - -#endif /* __EXAMPLEAPPWIN_H */ diff --git a/examples/application9/exampleapp.h b/examples/application9/exampleapp.h index 51093791a3..fdbf91befc 100644 --- a/examples/application9/exampleapp.h +++ b/examples/application9/exampleapp.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPP_H -#define __EXAMPLEAPP_H +#pragma once #include @@ -9,6 +8,3 @@ G_DECLARE_FINAL_TYPE (ExampleApp, example_app, EXAMPLE, APP, GtkApplication) ExampleApp *example_app_new (void); - - -#endif /* __EXAMPLEAPP_H */ diff --git a/examples/application9/exampleappprefs.h b/examples/application9/exampleappprefs.h index 2f08819ffb..b7a8df14df 100644 --- a/examples/application9/exampleappprefs.h +++ b/examples/application9/exampleappprefs.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPPREFS_H -#define __EXAMPLEAPPPREFS_H +#pragma once #include #include "exampleappwin.h" @@ -10,6 +9,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppPrefs, example_app_prefs, EXAMPLE, APP_PREFS, Gt ExampleAppPrefs *example_app_prefs_new (ExampleAppWindow *win); - - -#endif /* __EXAMPLEAPPPREFS_H */ diff --git a/examples/application9/exampleappwin.h b/examples/application9/exampleappwin.h index 786338d083..00758f6187 100644 --- a/examples/application9/exampleappwin.h +++ b/examples/application9/exampleappwin.h @@ -1,5 +1,4 @@ -#ifndef __EXAMPLEAPPWIN_H -#define __EXAMPLEAPPWIN_H +#pragma once #include #include "exampleapp.h" @@ -12,6 +11,3 @@ G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, ExampleAppWindow *example_app_window_new (ExampleApp *app); void example_app_window_open (ExampleAppWindow *win, GFile *file); - - -#endif /* __EXAMPLEAPPWIN_H */