changeset 26257:61fb8b6be8aa

Add libpurple version to --version
author Ethan Blanton <elb@pidgin.im>
date Tue, 10 Mar 2009 17:02:05 +0000
parents c0f7f0b2a950
children c1019839ddec
files pidgin/gtkmain.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkmain.c	Tue Mar 10 16:57:57 2009 +0000
+++ b/pidgin/gtkmain.c	Tue Mar 10 17:02:05 2009 +0000
@@ -669,7 +669,8 @@
 	}
 	/* show version message */
 	if (opt_version) {
-		printf("%s %s\n", PIDGIN_NAME, DISPLAY_VERSION);
+		printf("%s %s (libpurple %s)\n", PIDGIN_NAME, DISPLAY_VERSION,
+		                                 purple_core_get_version());
 #ifdef HAVE_SIGNAL_H
 		g_free(segfault_message);
 #endif