aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-smiley-manager.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-gtk/empathy-smiley-manager.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-gtk/empathy-smiley-manager.c')
-rw-r--r--libempathy-gtk/empathy-smiley-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-smiley-manager.c b/libempathy-gtk/empathy-smiley-manager.c
index 3f6ea25c3..451fc6937 100644
--- a/libempathy-gtk/empathy-smiley-manager.c
+++ b/libempathy-gtk/empathy-smiley-manager.c
@@ -129,9 +129,9 @@ smiley_manager_constructor (GType type,
} else {
retval = G_OBJECT_CLASS (empathy_smiley_manager_parent_class)->constructor
(type, n_props, props);
- g_object_add_weak_pointer (retval, (gpointer *) &retval);
manager_singleton = EMPATHY_SMILEY_MANAGER (retval);
+ g_object_add_weak_pointer (retval, (gpointer *) &manager_singleton);
}
return retval;