[gtk+] about dialog: Add some missing docs



commit b912416be5ccb025eb641d671cb7dc5836337930
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 1 15:00:39 2017 -0800

    about dialog: Add some missing docs
    
    gtk_about_dialog_set/get_system_information are new,
    and were missing docs.

 gtk/gtkaboutdialog.c |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index b7a7037..1faba53 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -1381,6 +1381,14 @@ gtk_about_dialog_set_license (GtkAboutDialog *about,
   g_object_notify_by_pspec (G_OBJECT (about), props[PROP_LICENSE_TYPE]);
 }
 
+/**
+ * gtk_about_dialog_get_system_information:
+ * @about: a #GtkAboutDialog
+ *
+ * Returns the system information that is shown in the about dialog.
+ *
+ * Returns: the system information
+ */
 const gchar *
 gtk_about_dialog_get_system_information (GtkAboutDialog *about)
 {
@@ -1389,6 +1397,17 @@ gtk_about_dialog_get_system_information (GtkAboutDialog *about)
   return about->priv->system_information;
 }
 
+/**
+ * gtk_about_dialog_set_system_information:
+ * @about: a #GtkAboutDialog
+ * @system_information: (allow-none): system information or %NULL
+ *
+ * Sets the system information to be displayed in the about
+ * dialog. If @system_information is %NULL, the system information
+ * tab is hidden.
+ *
+ * See #GtkAboutdialog:system-information.
+ */
 void
 gtk_about_dialog_set_system_information (GtkAboutDialog *about,
                                          const gchar    *system_information)
@@ -1628,7 +1647,7 @@ gtk_about_dialog_get_documenters (GtkAboutDialog *about)
  * @documenters: (array zero-terminated=1): a %NULL-terminated array of strings
  *
  * Sets the strings which are displayed in the documenters tab
- * of the secondary credits dialog.
+ * of the credits dialog.
  *
  * Since: 2.6
  */


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