diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-01-25 18:21:47 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-01-25 18:25:43 -0500 |
commit | d00368cac9ab631c5c596078095a4db3f4197868 (patch) | |
tree | c62583bc90323c7cb62268f2f4dcbe7ed9bc4947 /gtk/gtkaboutdialog.h | |
parent | fe1907708c4edb5a97184a2e027b7a028a7b5554 (diff) | |
download | gtk+-d00368cac9ab631c5c596078095a4db3f4197868.tar.gz |
GtkAboutDialog: Make credits section extensible
This commit adds API that allows to add new named sections
to the Credits part of GtkAboutDialog, in addition to the
hardcoded sections for authors, documenters, artists and
translators.
https://bugzilla.gnome.org/show_bug.cgi?id=484693
Diffstat (limited to 'gtk/gtkaboutdialog.h')
-rw-r--r-- | gtk/gtkaboutdialog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkaboutdialog.h b/gtk/gtkaboutdialog.h index 68c24d7b40..b174294fb3 100644 --- a/gtk/gtkaboutdialog.h +++ b/gtk/gtkaboutdialog.h @@ -159,6 +159,9 @@ void gtk_about_dialog_set_logo (GtkAboutDialog const gchar * gtk_about_dialog_get_logo_icon_name (GtkAboutDialog *about); void gtk_about_dialog_set_logo_icon_name (GtkAboutDialog *about, const gchar *icon_name); +void gtk_about_dialog_add_credit_section (GtkAboutDialog *about, + const gchar *section_name, + const gchar **people); G_END_DECLS |