Drop the CALLS_SET_OBJECT_PROPERTY() macro
Replace it by g_set_object() as it does the same thing.
This commit is contained in:
@@ -134,8 +134,8 @@ set_property (GObject *object,
|
||||
|
||||
switch (property_id) {
|
||||
case PROP_MODEM:
|
||||
CALLS_SET_OBJECT_PROPERTY
|
||||
(self->modem, GDBO_MODEM (g_value_get_object (value)));
|
||||
g_set_object
|
||||
(&self->modem, GDBO_MODEM (g_value_get_object (value)));
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user