diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-10 18:59:46 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-10 18:59:46 +0800 |
commit | aaa8d50fa75585a71d61332a8109916099ce35a4 (patch) | |
tree | c733fe2de3d6fdff2efc303d9313abf1e3f1bb79 /libempathy-gtk/empathy-contact-widget.c | |
parent | c47b9f66fbc23e627a4458cc86d53d5d56b901b7 (diff) | |
download | gsoc2013-empathy-aaa8d50fa75585a71d61332a8109916099ce35a4.tar gsoc2013-empathy-aaa8d50fa75585a71d61332a8109916099ce35a4.tar.gz gsoc2013-empathy-aaa8d50fa75585a71d61332a8109916099ce35a4.tar.bz2 gsoc2013-empathy-aaa8d50fa75585a71d61332a8109916099ce35a4.tar.lz gsoc2013-empathy-aaa8d50fa75585a71d61332a8109916099ce35a4.tar.xz gsoc2013-empathy-aaa8d50fa75585a71d61332a8109916099ce35a4.tar.zst gsoc2013-empathy-aaa8d50fa75585a71d61332a8109916099ce35a4.zip |
inline set_alias_on_account()
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r-- | libempathy-gtk/empathy-contact-widget.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c index 352476711..b82ad1665 100644 --- a/libempathy-gtk/empathy-contact-widget.c +++ b/libempathy-gtk/empathy-contact-widget.c @@ -1214,15 +1214,6 @@ set_nickname_cb (GObject *source, } } -static void -set_alias_on_account (TpAccount *account, - const gchar *alias) -{ - DEBUG ("Set Account.Nickname to %s", alias); - - tp_account_set_nickname_async (account, alias, set_nickname_cb, NULL); -} - static gboolean contact_widget_entry_alias_focus_event_cb (GtkEditable *editable, GdkEventFocus *event, @@ -1239,7 +1230,9 @@ contact_widget_entry_alias_focus_event_cb (GtkEditable *editable, TpAccount * account; account = empathy_contact_get_account (information->contact); - set_alias_on_account (account, alias); + + DEBUG ("Set Account.Nickname to %s", alias); + tp_account_set_nickname_async (account, alias, set_nickname_cb, NULL); } else { |