aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-widget.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-09-15 22:23:14 +0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2011-02-02 03:50:11 +0800
commit6e09b2b2639253549f890702cb811c10cc0d5167 (patch)
tree022d3ba62519ab8a95e5b61ee07dd32e77d6357f /libempathy-gtk/empathy-individual-widget.c
parentbf97e2a3a2a557e7c68ff6e7d1eabbfdc04799e3 (diff)
downloadgsoc2013-empathy-6e09b2b2639253549f890702cb811c10cc0d5167.tar
gsoc2013-empathy-6e09b2b2639253549f890702cb811c10cc0d5167.tar.gz
gsoc2013-empathy-6e09b2b2639253549f890702cb811c10cc0d5167.tar.bz2
gsoc2013-empathy-6e09b2b2639253549f890702cb811c10cc0d5167.tar.lz
gsoc2013-empathy-6e09b2b2639253549f890702cb811c10cc0d5167.tar.xz
gsoc2013-empathy-6e09b2b2639253549f890702cb811c10cc0d5167.tar.zst
gsoc2013-empathy-6e09b2b2639253549f890702cb811c10cc0d5167.zip
Port Empathy to use FolksAliasable and FolksGroupable
FolksAliasable is the new name for FolksAlias, and FolksGroupable is the new name for FolksGroups.
Diffstat (limited to 'libempathy-gtk/empathy-individual-widget.c')
-rw-r--r--libempathy-gtk/empathy-individual-widget.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-individual-widget.c b/libempathy-gtk/empathy-individual-widget.c
index 36cea8a5e..06675876d 100644
--- a/libempathy-gtk/empathy-individual-widget.c
+++ b/libempathy-gtk/empathy-individual-widget.c
@@ -437,7 +437,7 @@ groups_update (EmpathyIndividualWidget *self)
{
empathy_groups_widget_set_groupable (
EMPATHY_GROUPS_WIDGET (priv->groups_widget),
- FOLKS_GROUPS (priv->individual));
+ FOLKS_GROUPABLE (priv->individual));
gtk_widget_show (priv->groups_widget);
}
else
@@ -761,8 +761,8 @@ location_update (EmpathyIndividualWidget *self)
/* Add a marker to the map */
marker = champlain_marker_new_with_text (
- folks_alias_get_alias (FOLKS_ALIAS (persona)), NULL, NULL,
- NULL);
+ folks_aliasable_get_alias (FOLKS_ALIASABLE (persona)), NULL,
+ NULL, NULL);
champlain_base_marker_set_position (
CHAMPLAIN_BASE_MARKER (marker), lat, lon);
clutter_container_add (CLUTTER_CONTAINER (layer), marker, NULL);
@@ -1058,7 +1058,7 @@ entry_alias_focus_event_cb (GtkEditable *editable,
}
else
{
- folks_alias_set_alias (FOLKS_ALIAS (priv->individual), alias);
+ folks_aliasable_set_alias (FOLKS_ALIASABLE (priv->individual), alias);
}
}
@@ -1133,12 +1133,12 @@ notify_alias_cb (gpointer folks_object,
if (GTK_IS_ENTRY (alias_widget))
{
gtk_entry_set_text (GTK_ENTRY (alias_widget),
- folks_alias_get_alias (FOLKS_ALIAS (folks_object)));
+ folks_aliasable_get_alias (FOLKS_ALIASABLE (folks_object)));
}
else
{
gtk_label_set_label (GTK_LABEL (alias_widget),
- folks_alias_get_alias (FOLKS_ALIAS (folks_object)));
+ folks_aliasable_get_alias (FOLKS_ALIASABLE (folks_object)));
}
}