aboutsummaryrefslogtreecommitdiff
path: root/src/notifications-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notifications-service.c')
-rw-r--r--src/notifications-service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/notifications-service.c b/src/notifications-service.c
index 38fa247..71b7c40 100644
--- a/src/notifications-service.c
+++ b/src/notifications-service.c
@@ -217,6 +217,9 @@ log_to_file(const gchar *domain, GLogLevelFlags level, const gchar *message, gpo
static void
message_received_cb(DBusSpy *spy, Notification *note, gpointer user_data)
{
+ /* Discard volume notifications */
+ if(notification_is_volume(note)) return;
+
g_object_ref(note);
g_idle_add(add_notification_item, note);
}