[Commits] [SCM] clawsker branch, master, updated. 1.3.4-4-g6cf8025

mones at claws-mail.org mones at claws-mail.org
Sun Dec 12 21:45:32 UTC 2021


The branch, master has been updated
       via  6cf8025ab01f4474be885c5df1e4a54a4e29b078 (commit)
      from  c2e81d592df82227615c4cb3025df147b3ccba44 (commit)

Summary of changes:
 clawsker | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 6cf8025ab01f4474be885c5df1e4a54a4e29b078
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sun Dec 12 22:43:07 2021 +0100

    Fix display of GTK built version
    
    Also simplify the retrieval of runtime version after reviewing
    https://gitlab.gnome.org/GNOME/perl-gtk3/-/blob/master/lib/Gtk3.pm

diff --git a/clawsker b/clawsker
index 45f7407..e8956d7 100755
--- a/clawsker
+++ b/clawsker
@@ -2404,12 +2404,11 @@ sub get_toolkit_versions {
     }
     $versions{'gtk'} = $Gtk3::VERSION;
     if ($Gtk3::VERSION >= 0.034) {
-        $versions{'gtk-b'} = &Gtk3::GET_VERSION_INFO
+        $versions{'gtk-b'} = join('.', &Gtk3::GET_VERSION_INFO);
     } else {
         $versions{'gtk-b'} = _('Not available')
     }
-    $versions{'gtk-r'} = join('.',
-        &Gtk3::get_major_version, &Gtk3::get_minor_version, &Gtk3::get_micro_version);
+    $versions{'gtk-r'} = join('.', &Gtk3::get_version_info);
     return \%versions;
 }
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Hidden preferences editor for Claws Mail


More information about the Commits mailing list