Skip to content
Snippets Groups Projects
Commit 66449ae4 authored by Bruce Cowan's avatar Bruce Cowan
Browse files

Use #pragma once

parent 9c7b2f10
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......@@ -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__ */
......@@ -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__ */
......@@ -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__ */
......@@ -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__ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment