mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
Include the compile-time GTK version in the build info.
It's obvious to the trained eye whether GTK PuTTY was compiled against GTK2 or GTK3, but the untrained eye would probably appreciate a little help, and even the trained eye probably can't tell GTK 3.18 from 3.19 at a glance :-)
This commit is contained in:
@ -200,3 +200,9 @@ void our_dialog_add_to_content_area(GtkWindow *dlg, GtkWidget *w,
|
||||
w, expand, fill, padding);
|
||||
#endif
|
||||
}
|
||||
|
||||
char *buildinfo_gtk_version(void)
|
||||
{
|
||||
return dupprintf("%d.%d.%d",
|
||||
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
||||
}
|
||||
|
Reference in New Issue
Block a user