From 7be65c7604fb6ae5028a535dca05abd6699c99e3 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 3 Oct 2023 18:37:50 +0200 Subject: src/main.c: Do not pass NULL to functions without a prototype --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 200d9f76..de02f38b 100644 --- a/src/main.c +++ b/src/main.c @@ -1,5 +1,5 @@ /* - * Copyright 2021 Robert Tari + * Copyright 2021-2023 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -40,7 +40,7 @@ int main(int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED) bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR); textdomain(GETTEXT_PACKAGE); - IndicatorKeyboardService *pService = indicator_keyboard_service_new(NULL); + IndicatorKeyboardService *pService = indicator_keyboard_service_new (); GMainLoop *pLoop = g_main_loop_new(NULL, FALSE); g_signal_connect(pService, "name-lost", G_CALLBACK(onNameLost), pLoop); -- cgit v1.2.3