[ekiga] Preferences window: shouldn't leak gmconf notifiers anymore



commit c2cbbc1b3459b6264f5ee1aa490d0beaaec24c89
Author: Julien Puydt <jpuydt free fr>
Date:   Wed Jun 19 15:32:24 2013 +0200

    Preferences window: shouldn't leak gmconf notifiers anymore

 lib/engine/gui/gtk-frontend/preferences-window.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/preferences-window.cpp 
b/lib/engine/gui/gtk-frontend/preferences-window.cpp
index bb4ee0c..e409045 100644
--- a/lib/engine/gui/gtk-frontend/preferences-window.cpp
+++ b/lib/engine/gui/gtk-frontend/preferences-window.cpp
@@ -1274,7 +1274,8 @@ preferences_window_new (Ekiga::ServiceCore& core)
   notifier =
     gm_conf_notifier_add (SOUND_EVENTS_KEY "enable_incoming_call_sound", 
                          sound_events_list_changed_nt, window);
-  
+   pw->notifiers.push_front (notifier);
+
   notifier =
     gm_conf_notifier_add (SOUND_EVENTS_KEY "incoming_call_sound",
                          sound_events_list_changed_nt, window);


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