[ekiga] MainWindow: Removed useless unref.



commit a6fa896e5bd316cd7768d5504d5ffb880c8a71ce
Author: Damien Sandras <dsandras seconix com>
Date:   Sat Apr 18 17:38:28 2015 +0200

    MainWindow: Removed useless unref.
    
    The Roster will be destroyed with the main window.

 lib/engine/gui/gtk-frontend/main_window.cpp |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/main_window.cpp b/lib/engine/gui/gtk-frontend/main_window.cpp
index baebef5..9cfe996 100644
--- a/lib/engine/gui/gtk-frontend/main_window.cpp
+++ b/lib/engine/gui/gtk-frontend/main_window.cpp
@@ -826,11 +826,6 @@ ekiga_main_window_dispose (GObject* gobject)
 {
   EkigaMainWindow *mw = EKIGA_MAIN_WINDOW (gobject);
 
-  if (mw->priv->roster_view) {
-    g_object_unref (mw->priv->roster_view);
-    mw->priv->roster_view = NULL;
-  }
-
   // Workaround bug #724506
   // Unbind exactly once, then reset the variable. GTK+ will
   // destroy the widget when things get finalized.


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