[gnome-desktop] idle-monitor: Make sure we publicly make watch intervals 64-bits wide



commit 36c472b33dbbb6740b5ed703d594c9dd5d8aa44d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jan 23 13:54:08 2013 -0500

    idle-monitor: Make sure we publicly make watch intervals 64-bits wide
    
    https://bugzilla.gnome.org/show_bug.cgi?id=688227

 libgnome-desktop/gnome-idle-monitor.c |    2 +-
 libgnome-desktop/gnome-idle-monitor.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgnome-desktop/gnome-idle-monitor.c b/libgnome-desktop/gnome-idle-monitor.c
index 0e1dca3..3c8ec2a 100644
--- a/libgnome-desktop/gnome-idle-monitor.c
+++ b/libgnome-desktop/gnome-idle-monitor.c
@@ -470,7 +470,7 @@ gnome_idle_monitor_new_for_device (GdkDevice *device)
  */
 guint
 gnome_idle_monitor_add_watch (GnomeIdleMonitor        *monitor,
-                             guint                     interval_msec,
+                             guint64                   interval_msec,
                              GnomeIdleMonitorWatchFunc callback,
                              gpointer                  user_data,
                              GDestroyNotify            notify)
diff --git a/libgnome-desktop/gnome-idle-monitor.h b/libgnome-desktop/gnome-idle-monitor.h
index 728e91e..30d181e 100644
--- a/libgnome-desktop/gnome-idle-monitor.h
+++ b/libgnome-desktop/gnome-idle-monitor.h
@@ -65,7 +65,7 @@ GnomeIdleMonitor * gnome_idle_monitor_new          (void);
 GnomeIdleMonitor * gnome_idle_monitor_new_for_device (GdkDevice *device);
 
 guint              gnome_idle_monitor_add_watch    (GnomeIdleMonitor         *monitor,
-                                                    guint                     interval_msec,
+                                                    guint64                   interval_msec,
                                                     GnomeIdleMonitorWatchFunc callback,
                                                     gpointer                  user_data,
                                                     GDestroyNotify            notify);


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