From 5e4c90f2648ce226c0a0d2686defbbada2776560 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 27 Jan 2015 17:18:46 -0800 Subject: [PATCH] NotificationError is discarded --- brightray/browser/linux/notification_presenter_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brightray/browser/linux/notification_presenter_linux.cc b/brightray/browser/linux/notification_presenter_linux.cc index c31e3d01e9fc..193e80c76d63 100644 --- a/brightray/browser/linux/notification_presenter_linux.cc +++ b/brightray/browser/linux/notification_presenter_linux.cc @@ -69,7 +69,7 @@ void NotificationPresenterLinux::ShowNotification( notify_notification_show(notification, &error); if (error) { log_and_clear_error(error, "notify_notification_show"); - delegate->NotificationError(); + g_object_unref(notification); return; }