diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-02-10 21:53:40 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-02-15 17:48:23 +0800 |
commit | fac52e2c170e94ecad67f3087a462baf9ba5f49e (patch) | |
tree | 046c1874f22573cb86e6e0f78dae7f06a1246049 | |
parent | 54bd693510f9aa2c1791d8ccf51f2b0371c66a3a (diff) | |
download | gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar.gz gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar.bz2 gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar.lz gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar.xz gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.tar.zst gsoc2013-empathy-fac52e2c170e94ecad67f3087a462baf9ba5f49e.zip |
empathy-chat: use empathy_ensure_individual_from_tp_contact()
This ensures we'll pass the right individual ID to gnome-contacts when opening
a meta-contact.
https://bugzilla.gnome.org/show_bug.cgi?id=669676
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 5b2cca929..c5b4adf3f 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -4169,7 +4169,8 @@ empathy_chat_get_contact_menu (EmpathyChat *chat) if (contact == NULL) return NULL; - individual = empathy_create_individual_from_tp_contact (contact); + individual = empathy_ensure_individual_from_tp_contact (contact); + if (individual == NULL) return NULL; |