summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-05-08 22:03:21 +0300
committermonsta <[email protected]>2017-05-08 22:03:21 +0300
commit862607a51aade39bdb65f266cdd7b23b3e0eca89 (patch)
tree921448fcfa2dc56b0c7f6be86fc60df01f789f97
parente04356360b9277fa6001f57df712752b315d1be3 (diff)
downloadmate-panel-862607a51aade39bdb65f266cdd7b23b3e0eca89.tar.bz2
mate-panel-862607a51aade39bdb65f266cdd7b23b3e0eca89.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