mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-09-29 15:25:24 +00:00
sip-origin: Codestyle
This commit is contained in:
parent
4f4c7e877e
commit
b31db4a51c
1 changed files with 2 additions and 6 deletions
|
@ -1514,12 +1514,6 @@ calls_sip_origin_class_init (CallsSipOriginClass *klass)
|
|||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||
g_object_class_install_property (object_class, PROP_CAN_TEL, props[PROP_CAN_TEL]);
|
||||
|
||||
g_object_class_override_property (object_class, PROP_ACC_STATE, "account-state");
|
||||
props[PROP_ACC_STATE] = g_object_class_find_property (object_class, "account-state");
|
||||
|
||||
g_object_class_override_property (object_class, PROP_ACC_ADDRESS, "address");
|
||||
props[PROP_ACC_ADDRESS] = g_object_class_find_property (object_class, "address");
|
||||
|
||||
#define IMPLEMENTS(ID, NAME) \
|
||||
g_object_class_override_property (object_class, ID, NAME); \
|
||||
props[ID] = g_object_class_find_property(object_class, NAME);
|
||||
|
@ -1528,6 +1522,8 @@ calls_sip_origin_class_init (CallsSipOriginClass *klass)
|
|||
IMPLEMENTS (PROP_NAME, "name");
|
||||
IMPLEMENTS (PROP_CALLS, "calls");
|
||||
IMPLEMENTS (PROP_COUNTRY_CODE, "country-code");
|
||||
IMPLEMENTS (PROP_ACC_STATE, "account-state");
|
||||
IMPLEMENTS (PROP_ACC_ADDRESS, "address");
|
||||
|
||||
#undef IMPLEMENTS
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue