aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2010-11-13 22:07:46 +0800
committerPhilip Withnall <philip@tecnocode.co.uk>2010-11-13 22:31:09 +0800
commitff49ee828e63dd35b5c4faf3a0ccd962c7cd63a8 (patch)
tree56f2447db1433c54917c68eddb56501e55a8a062 /libempathy-gtk/empathy-individual-view.c
parent2b1e108d1d4f19249c3fe666503e86df0da720dd (diff)
downloadgsoc2013-empathy-ff49ee828e63dd35b5c4faf3a0ccd962c7cd63a8.tar
gsoc2013-empathy-ff49ee828e63dd35b5c4faf3a0ccd962c7cd63a8.tar.gz
gsoc2013-empathy-ff49ee828e63dd35b5c4faf3a0ccd962c7cd63a8.tar.bz2
gsoc2013-empathy-ff49ee828e63dd35b5c4faf3a0ccd962c7cd63a8.tar.lz
gsoc2013-empathy-ff49ee828e63dd35b5c4faf3a0ccd962c7cd63a8.tar.xz
gsoc2013-empathy-ff49ee828e63dd35b5c4faf3a0ccd962c7cd63a8.tar.zst
gsoc2013-empathy-ff49ee828e63dd35b5c4faf3a0ccd962c7cd63a8.zip
Stop using removed Individual convenience methods from folks
They were removed from folks with commit def47dffa31a95ec6bd333f43c69822416098283. This doesn't require a dependency bump, since they're being replaced with calls to methods which exist in folks 0.3.1. See: bgo#629078. Closes: bgo#634754
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r--libempathy-gtk/empathy-individual-view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index 5f604058a..6eb301d34 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -680,7 +680,7 @@ individual_view_drag_motion (GtkWidget *widget,
}
if (individual != NULL &&
- folks_individual_is_online (individual) &&
+ folks_presence_is_online (FOLKS_PRESENCE (individual)) &&
(caps & EMPATHY_CAPABILITIES_FT))
{
gdk_drag_status (context, GDK_ACTION_COPY, time_);
@@ -1665,7 +1665,7 @@ individual_view_is_visible_individual (EmpathyIndividualView *self,
return (priv->show_offline || is_online);
/* check alias name */
- str = folks_individual_get_alias (individual);
+ str = folks_aliasable_get_alias (FOLKS_ALIASABLE (individual));
if (empathy_live_search_match (live, str))
return TRUE;
@@ -2348,7 +2348,7 @@ individual_view_remove_activate_cb (GtkMenuItem *menuitem,
text =
g_strdup_printf (_
("Do you really want to remove the contact '%s'?"),
- folks_individual_get_alias (individual));
+ folks_aliasable_get_alias (FOLKS_ALIASABLE (individual)));
if (individual_view_remove_dialog_show (parent, _("Removing contact"),
text))
{