origin: Add country-code property
And add a binding in CallsManager for the default origin
This commit is contained in:
@@ -62,6 +62,14 @@ calls_origin_default_init (CallsOriginInterface *iface)
|
||||
"The list of current calls",
|
||||
G_PARAM_READABLE));
|
||||
|
||||
g_object_interface_install_property (
|
||||
iface,
|
||||
g_param_spec_string ("country-code",
|
||||
"country code",
|
||||
"The country code of the origin, if any",
|
||||
NULL,
|
||||
G_PARAM_READABLE));
|
||||
|
||||
signals[SIGNAL_CALL_ADDED] =
|
||||
g_signal_newv ("call-added",
|
||||
G_TYPE_FROM_INTERFACE (iface),
|
||||
|
||||
Reference in New Issue
Block a user