NotificationError is discarded

This commit is contained in:
Cheng Zhao 2015-01-27 17:18:46 -08:00
parent 1c65f5d7d9
commit 5e4c90f264

View file

@ -69,7 +69,7 @@ void NotificationPresenterLinux::ShowNotification(
notify_notification_show(notification, &error); notify_notification_show(notification, &error);
if (error) { if (error) {
log_and_clear_error(error, "notify_notification_show"); log_and_clear_error(error, "notify_notification_show");
delegate->NotificationError(); g_object_unref(notification);
return; return;
} }