forked from AuroraMiddleware/gtk
widget-factory: Make --version match about
Print the same version information in --version that we show in the about dialog.
This commit is contained in:
parent
3ee5354e0f
commit
4d0a1a97cc
@ -2329,10 +2329,10 @@ activate (GApplication *app)
|
|||||||
static void
|
static void
|
||||||
print_version (void)
|
print_version (void)
|
||||||
{
|
{
|
||||||
g_print ("gtk4-widget-factory %d.%d.%d\n",
|
g_print ("gtk4-widget-factory %s%s%s\n",
|
||||||
gtk_get_major_version (),
|
PACKAGE_VERSION,
|
||||||
gtk_get_minor_version (),
|
g_strcmp0 (PROFILE, "devel") == 0 ? "-" : "",
|
||||||
gtk_get_micro_version ());
|
g_strcmp0 (PROFILE, "devel") == 0 ? VCS_TAG : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
Reference in New Issue
Block a user