Would be nice to be able to clear a) all logs b) all logs for specific account or c) all logs for specific contact/room in an account
And the implementation is ready for review, see http://git.collabora.co.uk/?p=user/nicolas/telepathy-logger.git;a=shortlog;h=refs/heads/clear-logs
+_tpl_rmdir_recursively (const gchar *dir_name) + dir = g_dir_open (dir_name, 0, &error); You're not reading error, so just pass NULL instead of passing error and freeing it. + <method name="Clear" + tp:name-for-bindings="Clear"> + <tp:docstring> + Clear all the log. This will not erase the favourite contacts. logs +tpl_dbus_service_clear_entity (TplSvcLogger *logger, + entity = g_object_new (TPL_TYPE_ENTITY, + "type", type, + "identifier", identifier, + NULL); You're leaking entity. Other than that looks good.
Fixed and pushed.
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.