[gtk+/gtk-2-24] Fix GtkMessageDialog annotations



commit caf389649a2959acca9d85ec9b896e0b429c780c
Author: Martin Pitt <martin pitt ubuntu com>
Date:   Sun Jan 9 21:39:15 2011 -0600

    Fix GtkMessageDialog annotations
    
    Cherrypicked from master commit e0aa12eb.

 gtk/gtkmessagedialog.c |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index 30b8e44..7df4059 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -766,7 +766,7 @@ gtk_message_dialog_set_image (GtkMessageDialog *dialog,
  *
  * Gets the dialog's image.
  *
- * Return value: the dialog's image
+ * Return value: (transfer none): the dialog's image
  *
  * Since: 2.14
  **/
@@ -919,12 +919,15 @@ gtk_message_dialog_format_secondary_markup (GtkMessageDialog *message_dialog,
  * gtk_message_dialog_get_message_area:
  * @message_dialog: a #GtkMessageDialog
  *
- * Return value: A #GtkVBox corresponding to the "message area" in the
- * @message_dialog.  This is the box where the dialog's primary and secondary
- * labels are packed.  You can add your own extra content to that box and it
- * will appear below those labels, on the right side of the dialog's image (or
- * on the left for right-to-left languages).  See gtk_dialog_get_content_area()
- * for the corresponding function in the parent #GtkDialog.
+ * Returns the message area of the dialog. This is the box where the
+ * dialog's primary and secondary labels are packed. You can add your
+ * own extra content to that box and it will appear below those labels,
+ * on the right side of the dialog's image (or on the left for right-to-left
+ * languages).  See gtk_dialog_get_content_area() for the corresponding
+ * function in the parent #GtkDialog.
+ *
+ * Return value: (transfer none): A #GtkVBox corresponding to the
+ *     "message area" in the @message_dialog.
  *
  * Since: 2.22
  **/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]