diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2011-11-22 22:22:24 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2011-11-23 16:14:20 +0100 |
commit | ac2b9e1e39e0f459c61a6762b3154cb3ffd9d2ff (patch) | |
tree | 9a6bb9ca03f9e86e2f7be4270be2cb5b73af2917 /gtk/spice-util.c | |
parent | ff98834d9af6913ce1de3b6a317c614f3e1799e4 (diff) | |
download | spice-gtk-ac2b9e1e39e0f459c61a6762b3154cb3ffd9d2ff.tar.gz spice-gtk-ac2b9e1e39e0f459c61a6762b3154cb3ffd9d2ff.tar.xz spice-gtk-ac2b9e1e39e0f459c61a6762b3154cb3ffd9d2ff.zip |
Fix a few g-ir-scanner warnings
Diffstat (limited to 'gtk/spice-util.c')
-rw-r--r-- | gtk/spice-util.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk/spice-util.c b/gtk/spice-util.c index b634bf3..f2f30e8 100644 --- a/gtk/spice-util.c +++ b/gtk/spice-util.c @@ -148,6 +148,19 @@ closure_invalidated_cb (gpointer ctx_, } /* Copied from tp_g_signal_connect_object. See documentation. */ +/** + * spice_g_signal_connect_object: (skip) + * @instance: the instance to connect to. + * @detailed_signal: a string of the form "signal-name::detail". + * @c_handler: the #GCallback to connect. + * @gobject: the object to pass as data to @c_handler. + * @connect_flags: a combination of #GConnectFlags. + * + * Similar to g_signal_connect_object() but will delete connection + * when any of the objects is destroyed. + * + * Returns: the handler id. + */ gulong spice_g_signal_connect_object (gpointer instance, const gchar *detailed_signal, GCallback c_handler, |