From b3ac64e5b1afb1e73f5dca921b5d9d7a525df2d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Sat, 27 Apr 2024 14:19:40 +0200 Subject: [PATCH] clapper-app: Show development versions in about window Since during development we do not put new release tag into metainfo which about window uses to know app version, set it manually to the library version since they are the same. --- src/bin/clapper-app/clapper-app-about-window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/clapper-app/clapper-app-about-window.c b/src/bin/clapper-app/clapper-app-about-window.c index efa57a37..8362576c 100644 --- a/src/bin/clapper-app/clapper-app-about-window.c +++ b/src/bin/clapper-app/clapper-app-about-window.c @@ -19,6 +19,7 @@ #include #include +#include #include #include "clapper-app-about-window.h" @@ -39,6 +40,9 @@ clapper_app_about_window_new (GtkApplication *gtk_app) gtk_window_set_modal (GTK_WINDOW (about), TRUE); gtk_window_set_transient_for (GTK_WINDOW (about), window); + /* Also show development versions */ + adw_about_window_set_version (about, CLAPPER_VERSION_S); + /* TRANSLATORS: Put your name(s) here for credits or leave untranslated */ adw_about_window_set_translator_credits (about, _("translator-credits"));