1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

sip: Implement empty emegency call property

This allows the tests to pass.
This commit is contained in:
Guido Günther 2022-03-20 18:39:41 +01:00 committed by Evangelos Ribeiro Tzaras
parent d5cba4db7f
commit 75cbc30dc0

View file

@ -61,6 +61,7 @@ enum {
PROP_0,
PROP_NAME,
PROP_ID,
PROP_EMERGENCY_NUMBERS,
PROP_ACC_HOST,
PROP_ACC_USER,
PROP_ACC_PASSWORD,
@ -1401,6 +1402,10 @@ calls_sip_origin_get_property (GObject *object,
g_value_set_string (value, self->id);
break;
case PROP_EMERGENCY_NUMBERS:
g_value_set_boxed (value, NULL);
break;
case PROP_ACC_HOST:
g_value_set_string (value, self->host);
break;
@ -1648,6 +1653,7 @@ calls_sip_origin_class_init (CallsSipOriginClass *klass)
IMPLEMENTS (PROP_COUNTRY_CODE, "country-code");
IMPLEMENTS (PROP_ACC_STATE, "account-state");
IMPLEMENTS (PROP_ACC_ADDRESS, "address");
IMPLEMENTS (PROP_EMERGENCY_NUMBERS, "emergency-numbers");
#undef IMPLEMENTS
}