Summary: | improvements and clean ups | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Cosimo Alfarano <cosimo.alfarano> |
Component: | logger | Assignee: | Cosimo Alfarano <cosimo.alfarano> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/kalfa/telepathy-logger.git;a=shortlog;h=refs/heads/misc-clean-up | ||
Whiteboard: | review+ | ||
i915 platform: | i915 features: |
Description
Cosimo Alfarano
2010-04-05 05:35:22 UTC
> TplChannelText: show debug message only on non-empthy lists Every Empathy developer's favourite typo. You mean empty :-) > + g_return_val_if_fail (!TPL_STR_EMPTY (chat_id), FALSE); Not an objection, but if you depend on telepathy-glib (>= 0.11.0) you can use the macro tp_str_empty() :-) > + "Unable to acknowledge pending message %d for chanenl %s: not found", That's not how you spell channel. > } > + else > + PATH_DEBUG (proxy, "msg_id %d acknowledged", msg_id); Consistent brace usage, please (the "if" clause has {}, so the "else" needs them too) Otherwise looks good. >> TplChannelText: show debug message only on non-empthy lists >Every Empathy developer's favourite typo. You mean empty :-) fixed :) >> + "Unable to acknowledge pending message %d for chanenl %s: not found", >That's not how you spell channel. fixed. > Consistent brace usage, please (the "if" clause has {}, so the "else" needs them too) fixed. > Not an objection, but if you depend on telepathy-glib (>= 0.11.0) you can use the macro tp_str_empty() :-) Yep, I saw the change, I'll update it using tp_str_empty in another path. There are lots of pending branches around which need to be merged, after it I'll start a cycle of general clean up of such things, before we'll declare the stable API. Ship it |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.