diff options
author | Robert Tari <robert@tari.in> | 2023-10-03 18:37:50 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2023-10-03 18:37:50 +0200 |
commit | 7be65c7604fb6ae5028a535dca05abd6699c99e3 (patch) | |
tree | dd3e8c1ddf2dfa0f63cd0c1d4d6f8c9d2d6b4a61 /src | |
parent | a3792d526684e75fdec19f1abbee3678f5524d48 (diff) | |
download | ayatana-indicator-keyboard-7be65c7604fb6ae5028a535dca05abd6699c99e3.tar.gz ayatana-indicator-keyboard-7be65c7604fb6ae5028a535dca05abd6699c99e3.tar.bz2 ayatana-indicator-keyboard-7be65c7604fb6ae5028a535dca05abd6699c99e3.zip |
src/main.c: Do not pass NULL to functions without a prototype
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* - * Copyright 2021 Robert Tari <robert@tari.in> + * Copyright 2021-2023 Robert Tari <robert@tari.in> * * 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); |