From b31db4a51cbc5b14cab8cf697944de51bd8c5dec Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Sat, 21 May 2022 18:24:56 +0200 Subject: [PATCH] sip-origin: Codestyle --- plugins/sip/calls-sip-origin.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index 750cc4f..bb8d2d6 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -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 }