[empathy] individual-menu: use the individual version of the add dialog
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] individual-menu: use the individual version of the add dialog
- Date: Wed, 11 Jul 2012 10:01:10 +0000 (UTC)
commit 791b7e8b3d1f67314170bbd743cb253385d937d7
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Jul 11 11:30:09 2012 +0200
individual-menu: use the individual version of the add dialog
https://bugzilla.gnome.org/show_bug.cgi?id=679111
libempathy-gtk/empathy-individual-menu.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index 5b83b29..c485b9b 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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]