gnome-session r5372 - in trunk: . gnome-session



Author: matthiasc
Date: Sun Apr  5 22:06:11 2009
New Revision: 5372
URL: http://svn.gnome.org/viewvc/gnome-session?rev=5372&view=rev

Log:
        * gnome-session/gs-idle-monitor.c (handle_alarm_notify_event): Ignore
        XSyncAlarmDestroyed events, and don't spam .xsession-errors for these.



Modified:
   trunk/ChangeLog
   trunk/gnome-session/gs-idle-monitor.c

Modified: trunk/gnome-session/gs-idle-monitor.c
==============================================================================
--- trunk/gnome-session/gs-idle-monitor.c	(original)
+++ trunk/gnome-session/gs-idle-monitor.c	Sun Apr  5 22:06:11 2009
@@ -181,6 +181,10 @@
         gboolean            res;
         gboolean            condition;
 
+        if (alarm_event->state == XSyncAlarmDestroyed) {
+                return;
+        }
+
         watch = find_watch_for_alarm (monitor, alarm_event->alarm);
 
         if (watch == NULL) {



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