diff --git a/src/rugby-app-window.h b/src/rugby-app-window.h index 43772e78a94dbdf300972c7164f390ed730d65d6..70af6de01b22c0f0b4a69bb142c3be67e84d5d11 100644 --- a/src/rugby-app-window.h +++ b/src/rugby-app-window.h @@ -16,8 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef RUGBY_APP_WINDOW_H -#define RUGBY_APP_WINDOW_H +#pragma once #include <gtk/gtk.h> @@ -30,6 +29,3 @@ G_DECLARE_FINAL_TYPE (RugbyAppWindow, rugby_app_window, RUGBY, APP_WINDOW, GtkAp RugbyAppWindow *rugby_app_window_new (RugbyApplication *app); G_END_DECLS - -#endif /* RUGBY_APPLICATION_WINDOW_H */ - diff --git a/src/rugby-application.h b/src/rugby-application.h index fe6c35af1193dd22902a26880f7b342478616751..2adb6060e8829af20985b69fc0fd7d5063d181ca 100644 --- a/src/rugby-application.h +++ b/src/rugby-application.h @@ -16,8 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __RUGBY_APPLICATION_H__ -#define __RUGBY_APPLICATION_H__ +#pragma once #include <gtk/gtk.h> @@ -29,5 +28,3 @@ G_DECLARE_FINAL_TYPE (RugbyApplication, rugby_application, RUGBY, APPLICATION, G RugbyApplication * rugby_application_new (void); G_END_DECLS - -#endif /* __RUGBY_APPLICATION_H__ */ diff --git a/src/rugby-cell-renderer-score.h b/src/rugby-cell-renderer-score.h index badd8a01fbe27137c09ed4b78def55a7ab697d5b..0d290b14a6e27467f96ac0e410b6243e0ba053f6 100644 --- a/src/rugby-cell-renderer-score.h +++ b/src/rugby-cell-renderer-score.h @@ -16,8 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __RUGBY_CELL_RENDERER_SCORE__ -#define __RUGBY_CELL_RENDERER_SCORE__ +#pragma once #include <gtk/gtk.h> @@ -29,5 +28,3 @@ G_DECLARE_FINAL_TYPE (RugbyCellRendererScore, rugby_cell_renderer_score, RUGBY, GtkCellRenderer * rugby_cell_renderer_score_new (void); G_END_DECLS - -#endif /* __RUGBY_CELL_RENDERER_SCORE__ */ diff --git a/src/rugby-score-store.h b/src/rugby-score-store.h index f335e828bd223049db12c98a262e00b122ff0701..38b33da69066a83d9e1b68defd79156c0b7484bc 100644 --- a/src/rugby-score-store.h +++ b/src/rugby-score-store.h @@ -16,9 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -#ifndef __RUGBY_SCORE_STORE_H__ -#define __RUGBY_SCORE_STORE_H__ +#pragma once #include <gtk/gtk.h> @@ -42,5 +40,3 @@ void rugby_score_store_set_score (RugbyScoreStore *store, gint score); G_END_DECLS - -#endif /* __RUGBY_SCORE_STORE_H__ */ diff --git a/src/rugby-scoring.h b/src/rugby-scoring.h index 185d4284cf238af9a0b59c0d28674c05deca4e60..9ad7a0da429c711790079c2c03796e3510fa9212 100644 --- a/src/rugby-scoring.h +++ b/src/rugby-scoring.h @@ -16,8 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __RUGBY_SCORING_H__ -#define __RUGBY_SCORING_H__ +#pragma once #include <glib.h> @@ -46,5 +45,3 @@ gint rugby_scoring_get_max_tries (gint score); gint rugby_scoring_get_max_kicks (gint score); G_END_DECLS - -#endif /*__RUGBY_SCORING_H__ */