[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:38:42 CEST 2010


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

Will Thompson <will.thompson at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|                            |we have clearance, clarence

--- Comment #3 from Will Thompson <will.thompson at collabora.co.uk> 2010-06-01 06:38:41 PDT ---
(In reply to comment #2)
> +     [[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.

Okay, I wondered if there was any particular significance to this code. Then
this branch seems fine. (I'd really prefer these were in GLib, though.)

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