diff --git a/src/rugby-app-window.c b/src/rugby-app-window.c index 7362d197412a146f343526240ed01dba67373610..26ed1b86e7629bd672c3abb6b4e67f52491650db 100644 --- a/src/rugby-app-window.c +++ b/src/rugby-app-window.c @@ -22,18 +22,6 @@ struct _RugbyAppWindow G_DEFINE_TYPE (RugbyAppWindow, rugby_app_window, GTK_TYPE_APPLICATION_WINDOW) -static inline unsigned -get_max_tries (unsigned score) -{ - return (score % 5 == 1) ? score / UTRY_POINTS - 1 : score / UTRY_POINTS; -} - -static inline unsigned -get_max_kicks (unsigned score) -{ - return (score % 3 == 1) ? score / KICK_POINTS : score / KICK_POINTS - 1; -} - static void scorespin_value_changed_cb (GtkSpinButton *spin, RugbyAppWindow *self)