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.
This commit is contained in:
Rafał Dzięgiel
2024-04-27 14:19:40 +02:00
parent c873c35fa7
commit b3ac64e5b1

View File

@@ -19,6 +19,7 @@
#include <glib/gi18n.h>
#include <gst/gst.h>
#include <clapper/clapper.h>
#include <adwaita.h>
#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"));