Drop the CALLS_SET_OBJECT_PROPERTY() macro

Replace it by g_set_object() as it does the same thing.
This commit is contained in:
Adrien Plazas
2018-08-03 11:23:44 +02:00
parent 3ebf58548c
commit 90f3933e95
6 changed files with 9 additions and 18 deletions

View File

@@ -199,8 +199,8 @@ set_property (GObject *object,
switch (property_id) {
case PROP_VOICE_CALL:
CALLS_SET_OBJECT_PROPERTY
(self->voice_call, GDBO_VOICE_CALL (g_value_get_object (value)));
g_set_object
(&self->voice_call, GDBO_VOICE_CALL (g_value_get_object (value)));
break;
case PROP_PROPERTIES: