[pulseaudio-discuss] [PATCH 1/8] desktop-notifications: The back end in pa_ui_notification_manager can be NULL, do not assert it isn't.

Ștefan Săftescu stefan.saftescu at gmail.com
Thu Jul 12 09:10:22 PDT 2012


---
 src/modules/notifications/notification-manager.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/modules/notifications/notification-manager.c b/src/modules/notifications/notification-manager.c
index b4dafb8..9a2aa0c 100644
--- a/src/modules/notifications/notification-manager.c
+++ b/src/modules/notifications/notification-manager.c
@@ -60,7 +60,6 @@ static pa_ui_notification_manager* pa_ui_notification_manager_new(pa_core *c) {
 
 static void pa_ui_notification_manager_free(pa_ui_notification_manager *m) {
     pa_assert(m);
-    pa_assert(m->backend); /* TODO: handle backends. */
 
     pa_assert_se(pa_shared_remove(m->core, "ui-notification-manager"));
 
-- 
1.7.10.4



More information about the pulseaudio-discuss mailing list