[nautilus-actions] Display GLib and Gtk+ runtime library versions



commit b6906585f255612e2cf18a5d4f1d645e77f23d72
Author: Pierre Wieser <pwieser trychlos org>
Date:   Tue Nov 24 19:31:04 2009 +0100

    Display GLib and Gtk+ runtime library versions

 ChangeLog                           |    3 +++
 nautilus-actions/runtime/na-utils.c |    5 +++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ab2b6ad..e48fbc8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-11-24 Pierre Wieser <pwieser trychlos org>
 
+	* nautilus-actions/runtime/na-utils.c (na_utils_print_version):
+	Displays current GLib and Gtk+ runtime library versions.
+
 	* nautilus-actions/nact/base-application.c:
 	Gracefully terminates the application on SMClient quit signal.
 
diff --git a/nautilus-actions/runtime/na-utils.c b/nautilus-actions/runtime/na-utils.c
index 34e0d0f..7322131 100644
--- a/nautilus-actions/runtime/na-utils.c
+++ b/nautilus-actions/runtime/na-utils.c
@@ -672,4 +672,9 @@ na_utils_print_version( void )
 	g_print( "redistribute copies of %s under the terms of the GNU General Public\n", PACKAGE_NAME );
 	g_print( "License (see COPYING).\n" );
 	g_print( "\n" );
+
+	g_debug( "Current system runs Glib %d.%d.%d, Gtk+ %d.%d.%d",
+			glib_major_version, glib_minor_version, glib_micro_version,
+			gtk_major_version, gtk_minor_version, gtk_micro_version );
+	g_debug( "%s", "" );
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]