summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-05-08 22:03:21 +0300
committermonsta <[email protected]>2017-05-08 22:08:47 +0300
commit40b31b2117f8a1776d2f23d97c60547c3c5a70e4 (patch)
treeea5d1f230d75314c4b19b27e0122a96c2fefec80
parentd11820a11eb814b139869843c7f97c190fdcdeec (diff)
downloadmate-panel-40b31b2117f8a1776d2f23d97c60547c3c5a70e4.tar.bz2
mate-panel-40b31b2117f8a1776d2f23d97c60547c3c5a70e4.tar.xz
status-notifier: fix crash on unknown signal name
fixes https://github.com/mate-desktop/mate-panel/issues/571 taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=f93821cc77892c7b262866d04bd8aa26ddafa154
-rw-r--r--applets/notification_area/status-notifier/sn-item-v0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/notification_area/status-notifier/sn-item-v0.c b/applets/notification_area/status-notifier/sn-item-v0.c
index 14a1046c..c994800f 100644
--- a/applets/notification_area/status-notifier/sn-item-v0.c
+++ b/applets/notification_area/status-notifier/sn-item-v0.c
@@ -869,7 +869,7 @@ g_signal_cb (GDBusProxy *proxy,
else if (g_strcmp0 (signal_name, "NewIconThemePath") == 0)
new_icon_theme_path_cb (v0, parameters);
else
- g_assert_not_reached ();
+ g_debug ("signal '%s' not handled!", signal_name);
}
static void