summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-07-12 18:21:27 -0700
committerDan Williams <dcbw@redhat.com>2010-07-12 18:21:27 -0700
commita1174a683e7b37f01a9ffb8562176d7f3efc1833 (patch)
tree8cd4abbd7a056ab3324c26f00acf38058b50e344 /src
parent664ccd446445ff89bf0ff08c84ba829ba0647539 (diff)
downloadNetworkManager-a1174a683e7b37f01a9ffb8562176d7f3efc1833.tar.gz
core: fix compilation on glib < 2.23.4
Where G_FILE_MONITOR_EVENT_MOVED isn't defined yet.
Diffstat (limited to 'src')
-rw-r--r--src/nm-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index b52c6ce17e..8c31197996 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -3934,7 +3934,9 @@ firmware_dir_changed (GFileMonitor *monitor,
switch (event_type) {
case G_FILE_MONITOR_EVENT_CREATED:
case G_FILE_MONITOR_EVENT_CHANGED:
+#if GLIB_CHECK_VERSION(2,23,4)
case G_FILE_MONITOR_EVENT_MOVED:
+#endif
case G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED:
case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT:
if (!priv->fw_changed_id) {