[gnome-desktop] Revert "idle: add compat api"
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop] Revert "idle: add compat api"
- Date: Fri, 15 Feb 2013 13:11:43 +0000 (UTC)
commit 237726b20b789c86e27b353aaeb15f384fc8b631
Author: Bastien Nocera <hadess hadess net>
Date: Fri Feb 15 14:09:23 2013 +0100
Revert "idle: add compat api"
gnome-settings-daemon has been fixed.
This reverts commit 3e10f7c15722684f67c943b230ce763bbbf28843.
libgnome-desktop/gnome-idle-monitor.c | 14 --------------
libgnome-desktop/gnome-idle-monitor.h | 5 -----
2 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/libgnome-desktop/gnome-idle-monitor.c b/libgnome-desktop/gnome-idle-monitor.c
index ca1ccb4..761ffa9 100644
--- a/libgnome-desktop/gnome-idle-monitor.c
+++ b/libgnome-desktop/gnome-idle-monitor.c
@@ -417,20 +417,6 @@ gnome_idle_monitor_new_for_device (GdkDevice *device)
"device", device, NULL));
}
-
-/*
- * Temporary compat function to keep things building until g-s-d is updated
- */
-guint
-gnome_idle_monitor_add_watch (GnomeIdleMonitor *monitor,
- guint64 interval_msec,
- GnomeIdleMonitorWatchFunc callback,
- gpointer user_data,
- GDestroyNotify notify)
-{
- return gnome_idle_monitor_add_idle_watch (monitor, interval_msec, callback, user_data, notify);
-}
-
/**
* gnome_idle_monitor_add_idle_watch:
* @monitor: A #GnomeIdleMonitor
diff --git a/libgnome-desktop/gnome-idle-monitor.h b/libgnome-desktop/gnome-idle-monitor.h
index 3e553c0..523a62f 100644
--- a/libgnome-desktop/gnome-idle-monitor.h
+++ b/libgnome-desktop/gnome-idle-monitor.h
@@ -64,11 +64,6 @@ GType gnome_idle_monitor_get_type (void);
GnomeIdleMonitor * gnome_idle_monitor_new (void);
GnomeIdleMonitor * gnome_idle_monitor_new_for_device (GdkDevice *device);
-guint gnome_idle_monitor_add_watch (GnomeIdleMonitor *monitor,
- guint64 interval_msec,
- GnomeIdleMonitorWatchFunc callback,
- gpointer user_data,
- GDestroyNotify notify);
guint gnome_idle_monitor_add_idle_watch (GnomeIdleMonitor *monitor,
guint64 interval_msec,
GnomeIdleMonitorWatchFunc callback,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]