diff src/gtkdialogs.c @ 13647:1003b97adce9

[gaim-migrate @ 16048] Provide easy access to GTK+/Glib runtime versions for debugging. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 17 Apr 2006 18:36:26 +0000
parents 849e80570b90
children 0572a1513b25
line wrap: on
line diff
--- a/src/gtkdialogs.c	Mon Apr 17 14:01:11 2006 +0000
+++ b/src/gtkdialogs.c	Mon Apr 17 18:36:26 2006 +0000
@@ -400,6 +400,14 @@
 	g_string_append(str, "  <b>SSL:</b> Gaim was <b><i>NOT</i></b> compiled with any SSL support!<br/>");
 #endif
 
+/* This might be useful elsewhere too, but it is particularly useful for
+ * debugging stuff known to be GTK+/Glib bugs on Windows */
+#ifdef _WIN32
+	g_string_append_printf(str, "  <b>GTK+ Runtime:</b> %u.%u.%u<br/>"
+		"  <b>Glib Runtime:</b> %u.%u.%u<br/>",
+		gtk_major_version, gtk_minor_version, gtk_micro_version,
+		glib_major_version, glib_minor_version, glib_micro_version);
+#endif
 
 g_string_append(str, "<br/>  <b>Library Support</b><br/>");