aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-10-03 18:37:50 +0200
committerRobert Tari <robert@tari.in>2023-10-03 18:37:50 +0200
commit7be65c7604fb6ae5028a535dca05abd6699c99e3 (patch)
treedd3e8c1ddf2dfa0f63cd0c1d4d6f8c9d2d6b4a61 /src
parenta3792d526684e75fdec19f1abbee3678f5524d48 (diff)
downloadayatana-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.c4
1 files 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 <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);