[Bug 46435] Call1 log support

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 29 01:38:44 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=46435

--- Comment #4 from Jonny Lamb <jonny.lamb at collabora.co.uk> 2012-03-28 16:38:44 PDT ---
The diff's kind of hard to read so I only half looked at it for call-channel.c
and just looked at the new file as is.

>  param_spec = g_param_spec_int ("end-reason",
>      "End Reason",
>      "Reason for wich this call was ended",
> -    0, G_MAXINT, TPL_CALL_END_REASON_UNKNOWN,
> +    0, G_MAXINT, TP_CALL_STATE_CHANGE_REASON_UNKNOWN,
>      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);

You could use TP_NUM_CALL_STATE_CHANGE_REASONS instead of G_MAXINT here if you
wanted?

> - reasons[priv->end_reason],
> + _tpl_call_event_end_reason_to_str(priv->end_reason),

Missing space before the bracket; that happens a couple of times I think.

>  if (contact == NULL)
>      contact = tp_connection_get_self_contact (con);

Should be two spaces instead of one.

Do the calls to dbus_g_object_register_marshaller need to stay?

Other than those minor points it looks basically fine. I don't know much about
the logger but I'm sure it'll be fine.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list