From 9901b6c59c0fcc8a8ec3a3506d49d6e60c3a433d Mon Sep 17 00:00:00 2001 From: Bruce Cowan <bruce@bcowan.me.uk> Date: Tue, 10 Apr 2018 17:31:31 +0100 Subject: [PATCH] Style changes --- src/main.c | 5 +++-- src/rugby-app-window.h | 2 +- src/rugby-list-store.h | 8 ++++---- src/rugby-possibility-widget.c | 1 - src/rugby-possibility.c | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main.c b/src/main.c index b9f2de9..278b4c3 100644 --- a/src/main.c +++ b/src/main.c @@ -95,10 +95,11 @@ int main (int argc, char **argv) { - GtkApplication *app = gtk_application_new ("uk.me.bcowan.rugby", G_APPLICATION_FLAGS_NONE); + GtkApplication *app = gtk_application_new ("uk.me.bcowan.rugby", + G_APPLICATION_FLAGS_NONE); g_signal_connect (app, "startup", - G_CALLBACK(on_startup), NULL); + G_CALLBACK (on_startup), NULL); g_signal_connect (app, "activate", G_CALLBACK (on_activate), NULL); diff --git a/src/rugby-app-window.h b/src/rugby-app-window.h index 9c824da..95dae54 100644 --- a/src/rugby-app-window.h +++ b/src/rugby-app-window.h @@ -28,6 +28,6 @@ G_BEGIN_DECLS G_DECLARE_FINAL_TYPE (RugbyAppWindow, rugby_app_window, RUGBY, APP_WINDOW, GtkApplicationWindow); -RugbyAppWindow *rugby_app_window_new (GtkApplication *app); +RugbyAppWindow * rugby_app_window_new (GtkApplication *app); G_END_DECLS diff --git a/src/rugby-list-store.h b/src/rugby-list-store.h index d8e6093..6a3f906 100644 --- a/src/rugby-list-store.h +++ b/src/rugby-list-store.h @@ -27,10 +27,10 @@ G_BEGIN_DECLS #define RUGBY_TYPE_LIST_STORE (rugby_list_store_get_type()) G_DECLARE_FINAL_TYPE (RugbyListStore, rugby_list_store, RUGBY, LIST_STORE, GObject) -RugbyListStore *rugby_list_store_new (void); +RugbyListStore * rugby_list_store_new (void); -guint rugby_list_store_get_score (RugbyListStore *self); -void rugby_list_store_set_score (RugbyListStore *self, - guint score); +guint rugby_list_store_get_score (RugbyListStore *self); +void rugby_list_store_set_score (RugbyListStore *self, + guint score); G_END_DECLS diff --git a/src/rugby-possibility-widget.c b/src/rugby-possibility-widget.c index d9725d8..3b32624 100644 --- a/src/rugby-possibility-widget.c +++ b/src/rugby-possibility-widget.c @@ -213,7 +213,6 @@ rugby_possibility_widget_class_init (RugbyPossibilityWidgetClass *klass) widget_class->draw = rugby_possibility_widget_draw; widget_class->get_preferred_height = rugby_possibility_widget_get_preferred_height; - properties[PROP_POSSIBILITY] = g_param_spec_object ("possibility", "Possibility", "Possibility to be represented", diff --git a/src/rugby-possibility.c b/src/rugby-possibility.c index 3a70196..3bc24e6 100644 --- a/src/rugby-possibility.c +++ b/src/rugby-possibility.c @@ -40,7 +40,7 @@ enum N_PROPS }; -static GParamSpec *properties [N_PROPS]; +static GParamSpec *properties[N_PROPS]; static void rugby_possibility_get_property (GObject *object, -- GitLab