]> git.0d.be Git - empathy.git/commitdiff
Misc. gtk-doc updates, including being more explicit about refs.
authorJonny Lamb <jonny.lamb@collabora.co.uk>
Thu, 23 Apr 2009 09:03:06 +0000 (10:03 +0100)
committerJonny Lamb <jonny.lamb@collabora.co.uk>
Thu, 23 Apr 2009 09:12:37 +0000 (10:12 +0100)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
libempathy-gtk/empathy-account-chooser.c
libempathy-gtk/empathy-contact-selector.c
libempathy-gtk/empathy-contact-widget.h
libempathy-gtk/empathy-profile-chooser.c

index aa6cf29e06cce5cd22c4c5f01f7cff84e52c8976..5d11e8e1e288d823fe2a30bcb9b4104996f8211c 100644 (file)
@@ -254,7 +254,7 @@ empathy_account_chooser_new (void)
  *
  * Returns the account which is currently selected in the chooser or %NULL
  * if there is no account selected. The #McAccount returned should be
- * unrefed when finished with.
+ * unrefed with g_object_unref() when finished with.
  *
  * Return value: a new ref to the #McAccount currently selected, or %NULL.
  */
@@ -284,9 +284,12 @@ empathy_account_chooser_dup_account (EmpathyAccountChooser *chooser)
  * empathy_account_chooser_get_connection:
  * @chooser: an #EmpathyAccountChooser
  *
- * Returns the #TpConnection associated with the account currently selected.
+ * Returns a borrowed reference to the #TpConnection associated with the
+ * account currently selected. The caller must reference the returned object with
+ * g_object_ref() if it will be kept
  *
- * Return value: the #TpConnection associated with the account curently selected.
+ * Return value: a borrowed reference to the #TpConnection associated with the
+ * account curently selected.
  */
 TpConnection *
 empathy_account_chooser_get_connection (EmpathyAccountChooser *chooser)
index a51d8d3fef9cc81048d30fe04f45fa7fc4f32e0a..f4a302c5bcb1a1d4bcfb326b2c657a34883fa12d 100644 (file)
@@ -372,8 +372,8 @@ empathy_contact_selector_new (EmpathyContactList *contact_list)
  * @selector: An #EmpathyContactSelector
  *
  * Returns a new reference to the contact which is currently selected in
- * @selector, or %NULL if there is no contact selected. The contact should
- * be unrefed with g_object_unref() when finished with.
+ * @selector, or %NULL if there is no contact selected. The returned contact
+ * should be unrefed with g_object_unref() when finished with.
  *
  * Return value: A new reference to the contact currently selected, or %NULL
  */
index db739ad19ffd7b8e29366b3267d792c22a9e5408..0da5580a30149af963defeebe1fd115655de815b 100644 (file)
@@ -47,8 +47,8 @@ G_BEGIN_DECLS
  * @EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP: Make widgets more designed for a tooltip.
  *  For example, make widgets not selectable.
  *
- * Options to instruct the #EmpathyContactWidget what features should be
- * enabled.
+ * Flags used when creating an #EmpathyContactWidget to specify which features
+ * should be available.
  */
 typedef enum
 {
index 4959561698fd80d5ce1d7c08c3c748ccaa210704..10eb3791ab552a6e08169c0332511822c2f856f9 100644 (file)
@@ -51,7 +51,8 @@ enum {
  * empathy_profile_chooser_dup_selected:
  * @widget: an #EmpathyProfileChooser
  *
- * Returns a new reference to the selected #McProfile in @widget.
+ * Returns a new reference to the selected #McProfile in @widget. The returned
+ * #McProfile should be unrefed with g_object_unref() when finished with.
  *
  * Return value: a new reference to the selected #McProfile
  */