diff options
author | Dan Williams <dcbw@redhat.com> | 2010-06-29 22:47:40 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-06-29 22:47:40 -0700 |
commit | 88ee478bb659e6660b3bca1e8f2bd45b667a603b (patch) | |
tree | 0fae0c67c5099de697402d1152361dd98953189f /src/mm-modem-location.c | |
parent | 655bf7a9faf6125760bc109d9f4f38ce9143a82b (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.c | 5 |
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)); |