Doc: clarify a bit g_signal_connect_object()
authorSébastien Wilmet <swilmet@gnome.org>
Thu, 14 Mar 2013 21:56:54 +0000 (22:56 +0100)
committerSébastien Wilmet <swilmet@gnome.org>
Fri, 15 Mar 2013 08:07:29 +0000 (09:07 +0100)
"the object" can be a bit confusing for a beginner, he can think it is
the @instance.

https://bugzilla.gnome.org/show_bug.cgi?id=695887

gobject/gobject.c

index 2674c23..4472254 100644 (file)
@@ -3688,7 +3688,7 @@ g_value_dup_object (const GValue *value)
  * ensures that the @gobject stays alive during the call to @c_handler
  * by temporarily adding a reference count to @gobject.
  *
- * When the object is destroyed the signal handler will be automatically
+ * When the @gobject is destroyed the signal handler will be automatically
  * disconnected.  Note that this is not currently threadsafe (ie:
  * emitting a signal while @gobject is being destroyed in another thread
  * is not safe).