aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-location.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-modem-location.c')
-rw-r--r--src/mm-modem-location.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mm-modem-location.c b/src/mm-modem-location.c
index 886d0326..00182950 100644
--- a/src/mm-modem-location.c
+++ b/src/mm-modem-location.c
@@ -314,6 +314,16 @@ mm_modem_location_get_type (void)
g_type_interface_add_prerequisite (loc_type, G_TYPE_OBJECT);
dbus_g_object_type_install_info (loc_type, &dbus_glib_mm_modem_location_object_info);
+
+ /* Register some shadow properties to handle Enabled and Capabilities
+ * since these could be used by other interfaces.
+ */
+ dbus_g_object_type_register_shadow_property (loc_type,
+ "Enabled",
+ MM_MODEM_LOCATION_ENABLED);
+ dbus_g_object_type_register_shadow_property (loc_type,
+ "Capabilities",
+ MM_MODEM_LOCATION_CAPABILITIES);
}
return loc_type;