ekiga r5986 - in trunk: . src/gui



Author: mschneid
Date: Thu Feb 21 19:09:44 2008
New Revision: 5986
URL: http://svn.gnome.org/viewvc/ekiga?rev=5986&view=rev

Log:
Improved logging initialisation.


Modified:
   trunk/ChangeLog
   trunk/src/gui/main.cpp

Modified: trunk/src/gui/main.cpp
==============================================================================
--- trunk/src/gui/main.cpp	(original)
+++ trunk/src/gui/main.cpp	Thu Feb 21 19:09:44 2008
@@ -4242,6 +4242,14 @@
   g_free (text_label);
 #endif
   
+  /* Ekiga initialisation */
+  static GnomeMeeting instance;
+
+  if (debug_level != 0)
+    PTrace::Initialise (PMAX (PMIN (4, debug_level), 0), NULL,
+			PTrace::Timestamp | PTrace::Thread
+			| PTrace::Blocks | PTrace::DateAndTime);
+
 #ifdef HAVE_DBUS
   if (!ekiga_dbus_claim_ownership ()) {
     ekiga_dbus_client_show ();
@@ -4256,19 +4264,14 @@
   if (!gnomemeeting_conf_check ()) 
     error = 3;
 #endif
+
   /* Init gm_conf */
   gm_conf_watch ();
 
-  /* Ekiga initialisation */
-  static GnomeMeeting instance;
   GnomeMeeting::Process ()->InitEngine ();
   GnomeMeeting::Process ()->DetectInterfaces ();
   if (!GnomeMeeting::Process ()->DetectCodecs ()) 
     error = 2;
-  if (debug_level != 0)
-    PTrace::Initialise (PMAX (PMIN (4, debug_level), 0), NULL,
-			PTrace::Timestamp | PTrace::Thread
-			| PTrace::Blocks | PTrace::DateAndTime);
   if (!GnomeMeeting::Process ()->DetectDevices ()) 
     error = 1;
   GnomeMeeting::Process ()->BuildGUI ();



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