Summary: | Add tp_clear_object, tp_clear_pointer analogous to g_clear_error | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Simon McVittie <smcv> |
Component: | tp-glib | Assignee: | Simon McVittie <smcv> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | enhancement | ||
Priority: | low | CC: | travis.reitter, will |
Version: | git master | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/smcv/telepathy-glib-smcv.git;a=shortlog;h=refs/heads/clearance | ||
Whiteboard: | we have clearance, clarence | ||
i915 platform: | i915 features: |
Description
Simon McVittie
2010-06-01 06:21:36 UTC
I for one don't really understand the code you compile in the configure.ac check for a C++ compiler. (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. (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.) (In reply to comment #3) > 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.) Thanks. I'll open a GLib bug once I've merged these. Fixed in git for 0.11.7. Also proposed for GLib: https://bugzilla.gnome.org/show_bug.cgi?id=620263 |
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.