Skip to content
Snippets Groups Projects
Commit d6effb8c authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Completely remove the silly g* datatypes

parent 1cdfcfc3
No related branches found
No related tags found
No related merge requests found
Pipeline #2928 passed
/*
* SPDX-FileCopyrightText: 2018 Bruce Cowan <bruce@bcowan.me.uk>
* SPDX-FileCopyrightText: 2018-2021 Bruce Cowan <bruce@bcowan.me.uk>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
......@@ -10,9 +11,9 @@ struct _RugbyPossibility
{
GObject parent_instance;
gint tries;
gint utries;
gint kicks;
int tries;
int utries;
int kicks;
};
G_DEFINE_TYPE (RugbyPossibility, rugby_possibility, G_TYPE_OBJECT)
......@@ -30,7 +31,7 @@ static GParamSpec *properties[N_PROPS];
static void
rugby_possibility_get_property (GObject *object,
guint prop_id,
unsigned prop_id,
GValue *value,
GParamSpec *pspec)
{
......@@ -54,7 +55,7 @@ rugby_possibility_get_property (GObject *object,
static void
rugby_possibility_set_property (GObject *object,
guint prop_id,
unsigned prop_id,
const GValue *value,
GParamSpec *pspec)
{
......@@ -109,9 +110,9 @@ rugby_possibility_init (G_GNUC_UNUSED RugbyPossibility *self)
}
RugbyPossibility *
rugby_possibility_new (gint tries,
gint utries,
gint kicks)
rugby_possibility_new (int tries,
int utries,
int kicks)
{
return g_object_new (RUGBY_TYPE_POSSIBILITY,
"tries", tries,
......
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