aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-idle.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-09 18:06:36 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-09 18:06:36 +0800
commit7396241b0868b083cab53603135ecb0537c5a11d (patch)
treecc292cef3f406e44943c05ed0883a9b120c83c8f /libempathy/empathy-idle.c
parent5dadc0ac3a478376337e2d10dec4ade7d5b44998 (diff)
downloadgsoc2013-empathy-7396241b0868b083cab53603135ecb0537c5a11d.tar
gsoc2013-empathy-7396241b0868b083cab53603135ecb0537c5a11d.tar.gz
gsoc2013-empathy-7396241b0868b083cab53603135ecb0537c5a11d.tar.bz2
gsoc2013-empathy-7396241b0868b083cab53603135ecb0537c5a11d.tar.lz
gsoc2013-empathy-7396241b0868b083cab53603135ecb0537c5a11d.tar.xz
gsoc2013-empathy-7396241b0868b083cab53603135ecb0537c5a11d.tar.zst
gsoc2013-empathy-7396241b0868b083cab53603135ecb0537c5a11d.zip
Set the right weak pointer.
svn path=/trunk/; revision=2122
Diffstat (limited to 'libempathy/empathy-idle.c')
-rw-r--r--libempathy/empathy-idle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c
index 2751f7cfa..faa43c3fe 100644
--- a/libempathy/empathy-idle.c
+++ b/libempathy/empathy-idle.c
@@ -285,9 +285,9 @@ idle_constructor (GType type,
} else {
retval = G_OBJECT_CLASS (empathy_idle_parent_class)->constructor
(type, n_props, props);
- g_object_add_weak_pointer (retval, (gpointer *) &retval);
idle_singleton = EMPATHY_IDLE (retval);
+ g_object_add_weak_pointer (retval, (gpointer *) &idle_singleton);
}
return retval;