From 8cbca4f693bccd460340f0b6362add905f8dbd8a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 9 Aug 2020 20:30:00 -0400 Subject: [PATCH] print-editor: Icon credits Give the artist credits. --- demos/print-editor/print-editor.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/demos/print-editor/print-editor.c b/demos/print-editor/print-editor.c index 892fc152a2..416ff9db31 100644 --- a/demos/print-editor/print-editor.c +++ b/demos/print-editor/print-editor.c @@ -604,6 +604,10 @@ activate_about (GSimpleAction *action, "Alexander Larsson", NULL }; + const char *artists[] = { + "Jakub Steiner", + NULL + }; const char *maintainers[] = { "The GTK Team", NULL @@ -656,6 +660,8 @@ activate_about (GSimpleAction *action, "title", "About GTK Print Editor", "system-information", sysinfo->str, NULL); + gtk_about_dialog_add_credit_section (GTK_ABOUT_DIALOG (dialog), + _("Artwork by"), artists); gtk_about_dialog_add_credit_section (GTK_ABOUT_DIALOG (dialog), _("Maintained by"), maintainers); @@ -663,6 +669,8 @@ activate_about (GSimpleAction *action, g_string_free (sysinfo, TRUE); g_free (version); + g_free (os_name); + g_free (os_version); } static void