codestyle: get rid of CALLS_SET_PTR_PROPERTY macro
One more step towards fixing #214 In `calls-ofono-call.c` the changed code also adheres to the newly introduced coding style.
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
#include "calls-ofono-call.h"
|
||||
#include "calls-call.h"
|
||||
#include "calls-message-source.h"
|
||||
#include "util.h"
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
@@ -287,11 +286,10 @@ static void
|
||||
disconnect_reason_cb (CallsOfonoCall *self,
|
||||
const gchar *reason)
|
||||
{
|
||||
if (reason)
|
||||
{
|
||||
CALLS_SET_PTR_PROPERTY (self->disconnect_reason,
|
||||
g_strdup (reason));
|
||||
}
|
||||
if (reason) {
|
||||
g_free (self->disconnect_reason);
|
||||
self->disconnect_reason = g_strdup (reason);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user