[Bug 13422] Add nice API for channel creation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 4 12:33:25 CEST 2010


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

--- Comment #20 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-08-04 03:33:24 PDT ---
> +gboolean tp_account_create_and_handle_channel_finish (TpAccount *account,
> +    GAsyncResult *result,
> +    TpChannel **channel,
> +    GError **error);

Shouldn't these be TpChannel *blahblah_finish (TpAccount *, GAR *, GE **)? We
only need to return a boolean if the method is conceptually "void but can raise
exceptions".

(Precedent: g_async_initable_new_finish, g_data_input_stream_read_line_finish,
g_file_input_stream_query_info_finish, etc.)

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



More information about the telepathy-bugs mailing list