[gtk/matthiasc/for-master] print-editor: Icon credits



commit 8cbca4f693bccd460340f0b6362add905f8dbd8a
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 9 20:30:00 2020 -0400

    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


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