ekiga r7558 - in trunk/src: . gui



Author: jpuydt
Date: Thu Jan 15 12:34:20 2009
New Revision: 7558
URL: http://svn.gnome.org/viewvc/ekiga?rev=7558&view=rev

Log:
Fixed bug #567845 : the engine now gets argc and argv

Modified:
   trunk/src/ekiga.cpp
   trunk/src/ekiga.h
   trunk/src/gui/main.cpp

Modified: trunk/src/ekiga.cpp
==============================================================================
--- trunk/src/ekiga.cpp	(original)
+++ trunk/src/ekiga.cpp	Thu Jan 15 12:34:20 2009
@@ -222,12 +222,13 @@
 
 
 void
-GnomeMeeting::InitEngine ()
+GnomeMeeting::InitEngine (int argc,
+			  char* argv[])
 {
   PWaitAndSignal m(ep_var_mutex);
 
   Ekiga::Runtime *runtime = new Ekiga::GlibRuntime;
-  engine_init (1, NULL, runtime);
+  engine_init (argc, argv, runtime);
 }
 
 void

Modified: trunk/src/ekiga.h
==============================================================================
--- trunk/src/ekiga.h	(original)
+++ trunk/src/ekiga.h	Thu Jan 15 12:34:20 2009
@@ -80,7 +80,8 @@
    * BEHAVIOR     : Vroom.
    * PRE          : /
    */
-  void InitEngine ();
+  void InitEngine (int argc,
+		   char* argv[]);
 
   
   /* DESCRIPTION  : / 

Modified: trunk/src/gui/main.cpp
==============================================================================
--- trunk/src/gui/main.cpp	(original)
+++ trunk/src/gui/main.cpp	Thu Jan 15 12:34:20 2009
@@ -4460,7 +4460,7 @@
   /* Init gm_conf */
   gm_conf_watch ();
 
-  GnomeMeeting::Process ()->InitEngine ();
+  GnomeMeeting::Process ()->InitEngine (argc, argv);
   GnomeMeeting::Process ()->BuildGUI ();
 
   /* Show the window if there is no error, exit with a popup if there



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