[gnome-todo] notification-widget: keep current notification alive



commit 98d0cffc668adc63a69f890e713ae46da96a8481
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jul 10 23:00:02 2015 -0300

    notification-widget: keep current notification alive
    
    It is not up to the notification widget the right to judge
    when notifications will be destroyed.

 src/notification/gtd-notification-widget.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/notification/gtd-notification-widget.c b/src/notification/gtd-notification-widget.c
index d75032f..b5ab426 100644
--- a/src/notification/gtd-notification-widget.c
+++ b/src/notification/gtd-notification-widget.c
@@ -99,7 +99,6 @@ gtd_notification_widget_stop_or_run (GtdNotificationWidget *widget)
 {
   GtdNotificationWidgetPrivate *priv = widget->priv;
 
-  g_clear_object (&priv->current_notification);
   priv->current_notification = g_queue_pop_head (priv->queue);
 
   if (priv->current_notification)


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