aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-05-14 19:04:37 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:49:56 +0800
commit63369cbc268ec537649056a04ca334882543fff9 (patch)
tree106d7f939c74eae48f34e3c55ec36a2659694cb3 /src/empathy-main-window.c
parentbea3e3b51d5bf55d07b719cd20d9014c158ea7f4 (diff)
downloadgsoc2013-empathy-63369cbc268ec537649056a04ca334882543fff9.tar
gsoc2013-empathy-63369cbc268ec537649056a04ca334882543fff9.tar.gz
gsoc2013-empathy-63369cbc268ec537649056a04ca334882543fff9.tar.bz2
gsoc2013-empathy-63369cbc268ec537649056a04ca334882543fff9.tar.lz
gsoc2013-empathy-63369cbc268ec537649056a04ca334882543fff9.tar.xz
gsoc2013-empathy-63369cbc268ec537649056a04ca334882543fff9.tar.zst
gsoc2013-empathy-63369cbc268ec537649056a04ca334882543fff9.zip
Remove the singleton logic from the manager
Don't use a singleton logic for the FT Manager, but let the manager itself hold the references according to the state of the toplevel window.
Diffstat (limited to 'src/empathy-main-window.c')
-rw-r--r--src/empathy-main-window.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 43e9224bb..6dcd6975e 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -695,12 +695,7 @@ static void
main_window_view_show_ft_manager (GtkAction *action,
EmpathyMainWindow *window)
{
- EmpathyFTManager *manager;
-
- manager = empathy_ft_manager_dup_singleton ();
- empathy_ft_manager_show (manager);
-
- g_object_unref (manager);
+ empathy_ft_manager_show ();
}
static void