summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-10 12:59:27 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-11 08:15:55 -0400
commit756720fde490c36864134e9adef42b6a655b4668 (patch)
tree25e5c14b17d6f7b6ab27adeb2048a70ff14c6df8
parent2b920b22c14d8138156737c1df6d75f045b2b24a (diff)
downloadgtk+-756720fde490c36864134e9adef42b6a655b4668.tar.gz
print-editor: Cosmetics
Make the about dialog a bit less barren.
-rw-r--r--tests/print-editor.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/print-editor.c b/tests/print-editor.c
index 646f3fe93f..8b90af1efe 100644
--- a/tests/print-editor.c
+++ b/tests/print-editor.c
@@ -1,3 +1,4 @@
+#include <config.h>
#include <math.h>
#include <pango/pangocairo.h>
#include <gtk/gtk.h>
@@ -580,10 +581,10 @@ activate_about (GSimpleAction *action,
};
gtk_show_about_dialog (GTK_WINDOW (main_window),
"name", "Print Test Editor",
- "logo-icon-name", "text-editor",
- "version", "0.1",
- "copyright", "(C) Red Hat, Inc",
- "comments", "Program to demonstrate GTK+ printing.",
+ "logo-icon-name", "text-editor-symbolic",
+ "version", PACKAGE_VERSION,
+ "copyright", "© 2006-2020 Red Hat, Inc",
+ "comments", "Program to demonstrate GTK printing.",
"authors", authors,
NULL);
}