aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-location.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-06-29 22:47:40 -0700
committerDan Williams <dcbw@redhat.com>2010-06-29 22:47:40 -0700
commit88ee478bb659e6660b3bca1e8f2bd45b667a603b (patch)
tree0fae0c67c5099de697402d1152361dd98953189f /src/mm-modem-location.c
parent655bf7a9faf6125760bc109d9f4f38ce9143a82b (diff)
gsm: implement location API
Depends on dbus-glib 0.86 + this patch: https://bugs.freedesktop.org/show_bug.cgi?id=28835 Still have to do the bits that allow plugins to add other location capabilities, but that can come later.
Diffstat (limited to 'src/mm-modem-location.c')
-rw-r--r--src/mm-modem-location.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mm-modem-location.c b/src/mm-modem-location.c
index 00182950..2dadd4ed 100644
--- a/src/mm-modem-location.c
+++ b/src/mm-modem-location.c
@@ -257,7 +257,7 @@ mm_modem_location_init (gpointer g_iface)
g_param_spec_boxed (MM_MODEM_LOCATION_LOCATION,
"Location",
"Available location information",
- G_TYPE_HASH_TABLE,
+ MM_MODEM_LOCATION_PROP_TYPE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
g_object_interface_install_property
@@ -267,7 +267,8 @@ mm_modem_location_init (gpointer g_iface)
"Supported location information methods",
MM_MODEM_LOCATION_CAPABILITY_UNKNOWN,
MM_MODEM_LOCATION_CAPABILITY_GPS_NMEA
- | MM_MODEM_LOCATION_CAPABILITY_GSM_LAC_CI,
+ | MM_MODEM_LOCATION_CAPABILITY_GSM_LAC_CI
+ | MM_MODEM_LOCATION_CAPABILITY_GPS_RAW,
MM_MODEM_LOCATION_CAPABILITY_UNKNOWN,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));