[ekiga] Fix crash with recent opal



commit ed34c9ce3046acd9909a74d358209e2427fdfd34
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Wed Nov 16 16:32:05 2011 +0100

    Fix crash with recent opal
    
    Removing static allows to guarantee when constructor and destructor is
    run.

 src/gui/main_window.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index 4980ab4..145b1fb 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -4848,7 +4848,7 @@ main (int argc,
 
   /* Ekiga initialisation */
   // should come *after* ptrace initialisation, to track codec loading for ex.
-  static GnomeMeeting instance;
+  GnomeMeeting instance;
 
 #ifdef HAVE_DBUS
   if (!ekiga_dbus_claim_ownership ()) {



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