aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-11 16:47:24 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-11 17:34:56 +0800
commit634a85b3d20ef79e77069ef93e4c9a6f45a12cf8 (patch)
tree4179e99feb862459659d75ac22772cc8c64b3f18 /libempathy-gtk
parent3878f8cca1e145e30932823c4ea6d0de1ad4462c (diff)
downloadgsoc2013-empathy-634a85b3d20ef79e77069ef93e4c9a6f45a12cf8.tar
gsoc2013-empathy-634a85b3d20ef79e77069ef93e4c9a6f45a12cf8.tar.gz
gsoc2013-empathy-634a85b3d20ef79e77069ef93e4c9a6f45a12cf8.tar.bz2
gsoc2013-empathy-634a85b3d20ef79e77069ef93e4c9a6f45a12cf8.tar.lz
gsoc2013-empathy-634a85b3d20ef79e77069ef93e4c9a6f45a12cf8.tar.xz
gsoc2013-empathy-634a85b3d20ef79e77069ef93e4c9a6f45a12cf8.tar.zst
gsoc2013-empathy-634a85b3d20ef79e77069ef93e4c9a6f45a12cf8.zip
contact-search-dialog: use empathy_display_individual_info()
https://bugzilla.gnome.org/show_bug.cgi?id=679111
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-search-dialog.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-search-dialog.c b/libempathy-gtk/empathy-contact-search-dialog.c
index 82ca6cc31..d1fd0cfb0 100644
--- a/libempathy-gtk/empathy-contact-search-dialog.c
+++ b/libempathy-gtk/empathy-contact-search-dialog.c
@@ -34,7 +34,7 @@
#include <libempathy-gtk/empathy-account-chooser.h>
#include <libempathy-gtk/empathy-cell-renderer-text.h>
#include <libempathy-gtk/empathy-cell-renderer-activatable.h>
-#include <libempathy-gtk/empathy-contact-dialogs.h>
+#include <libempathy-gtk/empathy-individual-information-dialog.h>
#include <libempathy-gtk/empathy-images.h>
#define DEBUG_FLAG EMPATHY_DEBUG_OTHER
@@ -454,6 +454,7 @@ on_profile_button_got_contact_cb (GObject *source,
{
GError *error = NULL;
EmpathyContact *contact;
+ FolksIndividual *individual;
contact = empathy_client_factory_dup_contact_by_id_finish (
EMPATHY_CLIENT_FACTORY (source), result, &error);
@@ -464,9 +465,13 @@ on_profile_button_got_contact_cb (GObject *source,
return;
}
- empathy_contact_information_dialog_show (contact, NULL);
+ individual = empathy_ensure_individual_from_tp_contact (
+ empathy_contact_get_tp_contact (contact));
+
+ empathy_display_individual_info (individual);
g_object_unref (contact);
+ g_object_unref (individual);
}
static void