[ekiga] Fix PTRACE info not shown



commit 51342b2805c7c02d72485ecd571eb43117ef81c8
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Thu Aug 9 11:23:18 2012 +0200

    Fix PTRACE info not shown
    
    They should come AFTER GnomeMeeting instance.

 src/ekiga.cpp    |    9 ++++++---
 src/gui/main.cpp |    6 ------
 2 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/src/ekiga.cpp b/src/ekiga.cpp
index 1b77467..ab2c631 100644
--- a/src/ekiga.cpp
+++ b/src/ekiga.cpp
@@ -114,11 +114,14 @@ void GnomeMeeting::BuildGUI (Ekiga::ServiceCore& services)
   // FIXME should be moved in ekiga_assistant_new
   gtk_window_set_transient_for (GTK_WINDOW (assistant_window), GTK_WINDOW (main_window));
 
-  /* GM is started */
   PTRACE (1, "Ekiga version "
-	  << MAJOR_VERSION << "." << MINOR_VERSION << "." << BUILD_NUMBER);
-  PTRACE (1, "OPAL version " << OPAL_VERSION);
+          << MAJOR_VERSION << "." << MINOR_VERSION << "." << BUILD_NUMBER);
+#ifdef EKIGA_REVISION
+  PTRACE (1, "Ekiga git revision: " << EKIGA_REVISION);
+#endif
+  PTRACE (1, "Debug level: " << debug_level);
   PTRACE (1, "PTLIB version " << PTLIB_VERSION);
+  PTRACE (1, "OPAL version " << OPAL_VERSION);
 #if defined HAVE_XV || defined HAVE_DX
   PTRACE (1, "Accelerated rendering support enabled");
 #else
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 7f62a55..8286516 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -167,12 +167,6 @@ main (int argc,
 			| PTrace::Blocks | PTrace::DateAndTime);
 #endif
 
-  PTRACE(1, "Ekiga version " << MAJOR_VERSION << "." << MINOR_VERSION << "." << BUILD_NUMBER);
-#ifdef EKIGA_REVISION
-  PTRACE(1, "Ekiga git revision: " << EKIGA_REVISION);
-#endif
-  PTRACE(1, "Debug level: " << debug_level);
-
 #ifdef HAVE_DBUS
   if (!ekiga_dbus_claim_ownership ()) {
     ekiga_dbus_client_show ();



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