diff options
Diffstat (limited to 'unix/utils/buildinfo_gtk_version.c')
-rw-r--r-- | unix/utils/buildinfo_gtk_version.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/unix/utils/buildinfo_gtk_version.c b/unix/utils/buildinfo_gtk_version.c new file mode 100644 index 00000000..a2ec187e --- /dev/null +++ b/unix/utils/buildinfo_gtk_version.c @@ -0,0 +1,14 @@ +/* + * Return the version of GTK we were compiled against, for buildinfo. + */ + +#include <gtk/gtk.h> +#include "putty.h" +#include "gtkcompat.h" +#include "gtkmisc.h" + +char *buildinfo_gtk_version(void) +{ + return dupprintf("%d.%d.%d", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); +} |