From b0c25a4bcf86d3985e3c94daecdb15defc74100a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Thu, 14 Mar 2019 21:01:16 +0100 Subject: [PATCH] Add version number to about dialog --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index c5c700b..bf94098 100644 --- a/main.c +++ b/main.c @@ -50,6 +50,7 @@ static void app_about(GSimpleAction *action, GVariant *parameter, gpointer user_ builder = gtk_builder_new_from_resource("/about.glade"); dialog = GTK_DIALOG(gtk_builder_get_object(builder, "about-dialog")); gtk_window_set_transient_for(GTK_WINDOW(dialog), appdata->main_window); + gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog), _app_version_string); gtk_dialog_run(dialog); gtk_widget_destroy(GTK_WIDGET(dialog));