[tracker/tracker-0.8] bump glib requirement to 2.24
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] bump glib requirement to 2.24
- Date: Fri, 16 Jul 2010 10:13:58 +0000 (UTC)
commit e5d570a4d8f7dc277ed7fa81600e6e1cef1a1b34
Author: Aleksander Morgado <aleksander lanedo com>
Date: Tue Jun 29 20:00:23 2010 +0200
bump glib requirement to 2.24
src/libtracker-miner/tracker-monitor.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-monitor.c b/src/libtracker-miner/tracker-monitor.c
index bb641f5..23812de 100644
--- a/src/libtracker-miner/tracker-monitor.c
+++ b/src/libtracker-miner/tracker-monitor.c
@@ -1400,10 +1400,8 @@ monitor_event_to_string (GFileMonitorEvent event_type)
return "G_FILE_MONITOR_EVENT_PRE_UNMOUNT";
case G_FILE_MONITOR_EVENT_UNMOUNTED:
return "G_FILE_MONITOR_EVENT_UNMOUNTED";
-#if GLIB_CHECK_VERSION (2, 23, 6)
case G_FILE_MONITOR_EVENT_MOVED:
return "G_FILE_MONITOR_EVENT_MOVED";
-#endif /* GLIB_CHECK_VERSION */
}
return "unknown";
@@ -1572,7 +1570,6 @@ monitor_event_cb (GFileMonitor *file_monitor,
is_directory);
break;
-#if GLIB_CHECK_VERSION (2, 23, 6)
case G_FILE_MONITOR_EVENT_MOVED:
g_signal_emit (monitor,
signals[ITEM_MOVED], 0,
@@ -1586,7 +1583,6 @@ monitor_event_cb (GFileMonitor *file_monitor,
}
break;
-#endif /* GLIB_CHECK_VERSION */
case G_FILE_MONITOR_EVENT_PRE_UNMOUNT:
case G_FILE_MONITOR_EVENT_UNMOUNTED:
@@ -1622,10 +1618,7 @@ directory_monitor_new (TrackerMonitor *monitor,
GError *error = NULL;
file_monitor = g_file_monitor_directory (file,
-#if GLIB_CHECK_VERSION (2, 23, 6)
- G_FILE_MONITOR_SEND_MOVED |
-#endif /* GLIB_CHECK_VERSION */
- G_FILE_MONITOR_WATCH_MOUNTS,
+ G_FILE_MONITOR_SEND_MOVED | G_FILE_MONITOR_WATCH_MOUNTS,
NULL,
&error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]