[tracker] libtracker-miner: Drop wimax handling in TrackerMinerOnline
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-miner: Drop wimax handling in TrackerMinerOnline
- Date: Sun, 20 Nov 2016 14:57:52 +0000 (UTC)
commit 54b34ebfc679e359f768fa34384dba4c80faed18
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Nov 19 23:37:11 2016 +0100
libtracker-miner: Drop wimax handling in TrackerMinerOnline
NM 1.2 deprecated this type as it doesn't support wimax anymore, and
I don't even know what it is. So it seems something we can do without,
falling back to the "unknown" network type is just as safe.
src/libtracker-miner/tracker-miner-online.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-online.c b/src/libtracker-miner/tracker-miner-online.c
index 89e959e..32dfd9f 100644
--- a/src/libtracker-miner/tracker-miner-online.c
+++ b/src/libtracker-miner/tracker-miner-online.c
@@ -294,7 +294,7 @@ _nm_client_get_network_type (NMClient *nm_client)
}
#if (NM_CHECK_VERSION (0,8,992))
- if (NM_IS_DEVICE_MODEM (device) || NM_IS_DEVICE_WIMAX (device)) {
+ if (NM_IS_DEVICE_MODEM (device)) {
return TRACKER_NETWORK_TYPE_3G;
}
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]