aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-09-06 14:48:42 +0200
committerRobert Tari <robert@tari.in>2023-09-06 14:48:42 +0200
commit22b759ef52284bab3110848ce80e0cc17b865ec6 (patch)
treef5b7b24995d2cf1abd7c17b9d3d1ea8f523ad884
parent8f3234c2cf7a543c88fcc28caed93521a81f6ffa (diff)
downloadayatana-indicator-notifications-22b759ef52284bab3110848ce80e0cc17b865ec6.tar.gz
ayatana-indicator-notifications-22b759ef52284bab3110848ce80e0cc17b865ec6.tar.bz2
ayatana-indicator-notifications-22b759ef52284bab3110848ce80e0cc17b865ec6.zip
src/main.c: Fix function argument error
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index f57237a..14c032f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,5 +1,6 @@
/*
* Copyright 2013 Canonical Ltd.
+ * Copyright 2023 Robert Tari <robert@tari.in>
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
@@ -39,7 +40,7 @@ int main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED)
textdomain (GETTEXT_PACKAGE);
/* run */
- service = indicator_notifications_service_new (NULL);
+ service = indicator_notifications_service_new ();
loop = g_main_loop_new (NULL, FALSE);
g_signal_connect (service, INDICATOR_NOTIFICATIONS_SERVICE_SIGNAL_NAME_LOST, G_CALLBACK(on_name_lost), loop);
g_main_loop_run (loop);