summaryrefslogtreecommitdiff
path: root/libempathy-gtk/empathy-individual-view.c
diff options
context:
space:
mode:
authorMarco Barisione <marco.barisione@collabora.co.uk>2013-05-10 14:25:22 +0100
committerMarco Barisione <marco.barisione@collabora.co.uk>2013-08-20 11:03:06 +0100
commit44c61cce71ad3683aa6a284ce117e286423f555c (patch)
treede958fcb39208a6295741195a0e2ed856d6cd87c /libempathy-gtk/empathy-individual-view.c
parent431c21692c396b39764eca31c3c4f05f4507ce59 (diff)
downloadempathy-44c61cce71ad3683aa6a284ce117e286423f555c.tar.gz
tpaw-utils: move empathy_get_toplevel_window to tp-aw and rename it
This commit also changes the licence of the moved code from GPL to LGPL. See GOSSIP-RELICENSING.txt for details. https://bugzilla.gnome.org/show_bug.cgi?id=699492
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r--libempathy-gtk/empathy-individual-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index 8fe7af727..4344840e4 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -28,6 +28,7 @@
#include "empathy-individual-view.h"
#include <glib/gi18n-lib.h>
+#include <tp-account-widgets/tpaw-utils.h>
#include "empathy-cell-renderer-activatable.h"
#include "empathy-cell-renderer-expander.h"
@@ -2359,7 +2360,7 @@ individual_view_group_remove_activate_cb (GtkMenuItem *menuitem,
text =
g_strdup_printf (_("Do you really want to remove the group '%s'?"),
group);
- parent = empathy_get_toplevel_window (GTK_WIDGET (view));
+ parent = tpaw_get_toplevel_window (GTK_WIDGET (view));
if (individual_view_remove_dialog_show (parent, _("Removing group"),
text) == REMOVE_DIALOG_RESPONSE_DELETE)
{