[gnome-panel] status-notifier: show items even if host registration fails
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] status-notifier: show items even if host registration fails
- Date: Thu, 6 Jan 2022 19:32:26 +0000 (UTC)
commit 044cce063a6c2b4a40716ba36ded09c785430756
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Jan 6 21:24:57 2022 +0200
status-notifier: show items even if host registration fails
Status notifier watcher from indicator-application returns error
when trying to register host:
GDBus.Error:org.freedesktop.DBus.GLib.ErrorError: Method invoked
for RegisterStatusNotifierHost returned FALSE but did not set
error
modules/status-notifier/sn-host-v0.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/modules/status-notifier/sn-host-v0.c b/modules/status-notifier/sn-host-v0.c
index db830d4a2..23fe46dea 100644
--- a/modules/status-notifier/sn-host-v0.c
+++ b/modules/status-notifier/sn-host-v0.c
@@ -204,8 +204,6 @@ register_host_cb (GObject *source_object,
{
g_warning ("%s", error->message);
g_error_free (error);
-
- return;
}
g_signal_connect (v0->watcher, "item-registered",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]