[Bug 28345] Add tp_clear_object, tp_clear_pointer analogous to g_clear_error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 1 15:31:28 CEST 2010


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

--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-06-01 06:31:28 PDT ---
(In reply to comment #1)
> I for one don't really understand the code you compile in the configure.ac
> check for a C++ compiler.

+     [[#include <gio/gio.h>]],

This part goes before main(),

+     [[g_type_init (); g_object_unref (g_file_new_for_path ("/"));]])

and this part is the body of main() - it just checks that we a C++ program can
link to GIO, from which I use GFile as a convenient easy-to-instantiate GObject
in the test.

-- 
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