[gnome-terminal] about: Inform about the runtime vte version



commit 29c7f85b246ff10fc0f524ba7b34b1e5535acd40
Author: Christian Persch <chpe gnome org>
Date:   Wed Nov 19 21:59:12 2014 +0100

    about: Inform about the runtime vte version
    
    … instead of the compile-time version.

 src/terminal-util.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-util.c b/src/terminal-util.c
index 332fe60..45e9f75 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -216,7 +216,9 @@ terminal_util_show_about (GtkWindow *transient_parent)
   licence_text = terminal_util_get_licence_text ();
 
   vte_version = g_strdup_printf (_("Using VTE version %d.%d.%d"),
-                                VTE_MAJOR_VERSION, VTE_MINOR_VERSION, VTE_MICRO_VERSION);
+                                 vte_get_major_version (),
+                                 vte_get_minor_version (),
+                                 vte_get_micro_version ());
   comment = g_strdup_printf("%s\n%s",
                             _("A terminal emulator for the GNOME desktop"),
                             vte_version);


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