summaryrefslogtreecommitdiff
path: root/libempathy-gtk/empathy-contact-widget.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-11 15:26:54 +0000
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-11 15:26:54 +0000
commit6ecfb61adf163cfe3c8115ef8a1aaf34ce7187bc (patch)
tree48361a8b8e3f7461e4b866334c2a6cdeea56b382 /libempathy-gtk/empathy-contact-widget.c
parent086f734b42cc89c6dd00f10486681cff1074aeed (diff)
AvatarChooser needs no ContactFactory property; it's a singleton.
svn path=/trunk/; revision=1690
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index d0b13ea79..9f1eb964f 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -499,8 +499,7 @@ contact_widget_contact_setup (EmpathyContactWidget *information)
{
if (information->flags & EMPATHY_CONTACT_WIDGET_EDIT_AVATAR)
{
- information->widget_avatar = empathy_avatar_chooser_new (
- information->factory);
+ information->widget_avatar = empathy_avatar_chooser_new ();
g_signal_connect (information->widget_avatar, "changed",
G_CALLBACK (contact_widget_avatar_changed_cb),
information);