aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-11 17:30:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-11 17:36:46 +0800
commit791b7e8b3d1f67314170bbd743cb253385d937d7 (patch)
tree6fb9a1b03ff15c3851691d2bdbdb28e548375269 /libempathy-gtk
parent15b0acdc8cec7794f1112b243b2fadd3baf6a707 (diff)
downloadgsoc2013-empathy-791b7e8b3d1f67314170bbd743cb253385d937d7.tar
gsoc2013-empathy-791b7e8b3d1f67314170bbd743cb253385d937d7.tar.gz
gsoc2013-empathy-791b7e8b3d1f67314170bbd743cb253385d937d7.tar.bz2
gsoc2013-empathy-791b7e8b3d1f67314170bbd743cb253385d937d7.tar.lz
gsoc2013-empathy-791b7e8b3d1f67314170bbd743cb253385d937d7.tar.xz
gsoc2013-empathy-791b7e8b3d1f67314170bbd743cb253385d937d7.tar.zst
gsoc2013-empathy-791b7e8b3d1f67314170bbd743cb253385d937d7.zip
individual-menu: use the individual version of the add dialog
https://bugzilla.gnome.org/show_bug.cgi?id=679111
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-individual-menu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index 5b83b2931..c485b9b5f 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -42,7 +42,7 @@
#include "empathy-individual-menu.h"
#include "empathy-images.h"
#include "empathy-log-window.h"
-#include "empathy-contact-dialogs.h"
+#include "empathy-individual-dialogs.h"
#include "empathy-gtk-enum-types.h"
#include "empathy-individual-dialogs.h"
#include "empathy-individual-edit-dialog.h"
@@ -1795,18 +1795,18 @@ add_menu_item_activated (GtkMenuItem *item,
TpContact *tp_contact)
{
GtkWidget *toplevel;
- EmpathyContact *contact;
+ FolksIndividual *individual;
toplevel = gtk_widget_get_toplevel (GTK_WIDGET (item));
if (!gtk_widget_is_toplevel (toplevel) || !GTK_IS_WINDOW (toplevel))
toplevel = NULL;
- contact = empathy_contact_dup_from_tp_contact (tp_contact);
+ individual = empathy_ensure_individual_from_tp_contact (tp_contact);
- empathy_new_contact_dialog_show_with_contact (GTK_WINDOW (toplevel),
- contact);
+ empathy_new_individual_dialog_show_with_individual (GTK_WINDOW (toplevel),
+ individual);
- g_object_unref (contact);
+ g_object_unref (individual);
}
static GtkWidget *