diff options
-rw-r--r-- | netlink-notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netlink-notify.c b/netlink-notify.c index 2fc5ac7..1dd5ed3 100644 --- a/netlink-notify.c +++ b/netlink-notify.c @@ -454,7 +454,7 @@ int msg_handler (struct sockaddr_nl *nl, struct nlmsghdr *msg) { notify_notification_update(notification, TEXT_TOPIC, notifystr, icon); - while (notify_notification_show(notification, &error) == FALSE) { + if (notify_notification_show(notification, &error) == FALSE) { g_printerr("%s: Error showing notification: %s\n", program, error->message); g_error_free(error); |