Unverified Commit 8c27deab authored by 朝歌's avatar 朝歌 Committed by GitHub

Use string constant (#1569)

parent 4166e0f9
......@@ -45,13 +45,11 @@
void remmina_about_open(GtkWindow *parent)
static gchar version[40];
g_snprintf(version, sizeof(version), "%s (git %s)", VERSION, REMMINA_GIT_REVISION);
GtkBuilder *builder = remmina_public_gtk_builder_new_from_file("remmina_about.glade");
GtkDialog *dialog = GTK_DIALOG(gtk_builder_get_object(builder, "dialog_remmina_about"));
gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog), version);
gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog), VERSION " (git " REMMINA_GIT_REVISION ")");
gtk_about_dialog_set_translator_credits(GTK_ABOUT_DIALOG(dialog), _("translator-credits"));
if (parent) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment