[gnome-text-editor] about: make program name more clear



commit 29c82ab19257976f4d755fe91fbaf9a626a6ff30
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jan 6 13:19:19 2022 -0800

    about: make program name more clear

 src/editor-application-actions.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/editor-application-actions.c b/src/editor-application-actions.c
index 7cf3531..d58ef36 100644
--- a/src/editor-application-actions.c
+++ b/src/editor-application-actions.c
@@ -84,16 +84,16 @@ editor_application_actions_about_cb (GSimpleAction *action,
                                      gpointer       user_data)
 {
   EditorApplication *self = user_data;
-  g_autofree gchar *program_name = NULL;
+  g_autofree char *program_name = NULL;
   GtkAboutDialog *dialog;
   EditorWindow *window;
 
   g_assert (EDITOR_IS_APPLICATION (self));
 
 #if DEVELOPMENT_BUILD
-  program_name = g_strdup_printf ("%s (Development)", _("Text Editor"));
+  program_name = g_strdup_printf ("%s %s (Development)", _("Text Editor"), PACKAGE_VERSION);
 #else
-  program_name = g_strdup (_("Text Editor"));
+  program_name = g_strdup_printf ("%s %s", _("Text Editor"), PACKAGE_VERSION);
 #endif
 
   dialog = GTK_ABOUT_DIALOG (gtk_about_dialog_new ());


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