[Xfce4-commits] <xfce4-panel:master> Print Gtk and Glib version in start of log.

Nick Schermer noreply at xfce.org
Thu Nov 18 21:46:01 CET 2010


Updating branch refs/heads/master
         to 5253474958a85198e2f7d85faef65f41cfeae7f2 (commit)
       from 1e08f89b1cf5adb22bc021c0568c34b4b445b3fb (commit)

commit 5253474958a85198e2f7d85faef65f41cfeae7f2
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Nov 18 20:02:57 2010 +0100

    Print Gtk and Glib version in start of log.

 panel/main.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/panel/main.c b/panel/main.c
index 8896a4f..79a9efe 100644
--- a/panel/main.c
+++ b/panel/main.c
@@ -138,8 +138,13 @@ main (gint argc, gchar **argv)
   const gchar      *error_msg;
   XfceSMClient     *sm_client;
 
-  panel_debug (PANEL_DEBUG_DOMAIN_MAIN, "panel version %s with Xfce %s",
-               LIBXFCE4PANEL_VERSION, xfce_version_string ());
+  panel_debug (PANEL_DEBUG_DOMAIN_MAIN,
+               "version %s on gtk+ %d.%d.%d (%d.%d.%d), glib %d.%d.%d (%d.%d.%d)",
+               LIBXFCE4PANEL_VERSION,
+               gtk_major_version, gtk_minor_version, gtk_micro_version,
+               GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION,
+               glib_major_version, glib_minor_version, glib_micro_version,
+               GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
 
   /* set translation domain */
   xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");



More information about the Xfce4-commits mailing list