diff options
Diffstat (limited to 'mate-session/gs-idle-monitor.c')
-rw-r--r-- | mate-session/gs-idle-monitor.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mate-session/gs-idle-monitor.c b/mate-session/gs-idle-monitor.c index 7d56ac0..773ddea 100644 --- a/mate-session/gs-idle-monitor.c +++ b/mate-session/gs-idle-monitor.c @@ -193,7 +193,7 @@ handle_alarm_notify_event (GSIdleMonitor *monitor, return; } - g_debug ("Watch %d fired, idle time = %ld", + g_debug ("Watch %d fired, idle time = %" G_GINT64_FORMAT, watch->id, _xsyncvalue_to_int64 (alarm_event->counter_value)); @@ -451,22 +451,22 @@ _xsync_alarm_set (GSIdleMonitor *monitor, attr.trigger.wait_value = _int64_to_xsyncvalue (_xsyncvalue_to_int64 (watch->interval) - 1); attr.trigger.test_type = XSyncPositiveTransition; if (watch->xalarm_positive != None) { - g_debug ("GSIdleMonitor: updating alarm for positive transition wait=%ld", + g_debug ("GSIdleMonitor: updating alarm for positive transition wait=%" G_GINT64_FORMAT, _xsyncvalue_to_int64 (attr.trigger.wait_value)); XSyncChangeAlarm (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), watch->xalarm_positive, flags, &attr); } else { - g_debug ("GSIdleMonitor: creating new alarm for positive transition wait=%ld", + g_debug ("GSIdleMonitor: creating new alarm for positive transition wait=%" G_GINT64_FORMAT, _xsyncvalue_to_int64 (attr.trigger.wait_value)); watch->xalarm_positive = XSyncCreateAlarm (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), flags, &attr); } attr.trigger.test_type = XSyncNegativeTransition; if (watch->xalarm_negative != None) { - g_debug ("GSIdleMonitor: updating alarm for negative transition wait=%ld", + g_debug ("GSIdleMonitor: updating alarm for negative transition wait=%" G_GINT64_FORMAT, _xsyncvalue_to_int64 (attr.trigger.wait_value)); XSyncChangeAlarm (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), watch->xalarm_negative, flags, &attr); } else { - g_debug ("GSIdleMonitor: creating new alarm for negative transition wait=%ld", + g_debug ("GSIdleMonitor: creating new alarm for negative transition wait=%" G_GINT64_FORMAT, _xsyncvalue_to_int64 (attr.trigger.wait_value)); watch->xalarm_negative = XSyncCreateAlarm (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), flags, &attr); } |