[ekiga/gnome-2-26] Fix Call buttons do not work



commit 0fd41913afaa72f32043d2a20d8f520241e19488
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Wed May 12 10:55:21 2010 +0200

    Fix Call buttons do not work
    
    The calling_state variable was not initialised.

 src/gui/main.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 6654774..c1f92fd 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -3795,8 +3795,9 @@ ekiga_main_window_init (EkigaMainWindow *mw)
   mw->priv->current_call = gmref_ptr<Ekiga::Call>(0);
   mw->priv->timeout_id = -1;
   mw->priv->levelmeter_timeout_id = -1;
+  mw->priv->calling_state = Standby;
   mw->priv->audio_transmission_active = false;
-  mw->priv->audio_reception_active = false; 
+  mw->priv->audio_reception_active = false;
   mw->priv->video_transmission_active = false;
   mw->priv->video_reception_active = false;
 #ifndef WIN32



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