[rhythmbox] notification: show the right notification for non-playback cases



commit eac823d9dd8922061d877e5709f5566ef5561798
Author: Jonathan Matthew <jonathan d14n org>
Date:   Thu Apr 14 09:00:32 2011 +1000

    notification: show the right notification for non-playback cases

 plugins/notification/rb-notification-plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/notification/rb-notification-plugin.c b/plugins/notification/rb-notification-plugin.c
index 0d2ca34..2138e0d 100644
--- a/plugins/notification/rb-notification-plugin.c
+++ b/plugins/notification/rb-notification-plugin.c
@@ -244,7 +244,7 @@ do_notify (RBNotificationPlugin *plugin,
 						   1);
 	}
 
-	if (notify_notification_show (plugin->notification, &error) == FALSE) {
+	if (notify_notification_show (notification, &error) == FALSE) {
 		g_warning ("Failed to send notification (%s): %s", primary, error->message);
 		g_error_free (error);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]