[empathy] Stop using Folks deprecated functions
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Stop using Folks deprecated functions
- Date: Mon, 16 Sep 2013 14:39:54 +0000 (UTC)
commit d193c9e8695cc70e279c5fb9cecaebc55e606827
Author: Xavier Claessens <xavier claessens collabora co uk>
Date: Fri Sep 13 15:49:23 2013 -0400
Stop using Folks deprecated functions
configure.ac | 2 +-
libempathy-gtk/empathy-roster-model-aggregator.c | 2 +-
libempathy/empathy-individual-manager.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7f7df8f..dbe8684 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,7 +34,7 @@ AC_COPYRIGHT([
# Minimal version required
# Hardp deps
-FOLKS_REQUIRED=0.9.0
+FOLKS_REQUIRED=0.9.5
GNUTLS_REQUIRED=2.8.5
GLIB_REQUIRED=2.37.6
diff --git a/libempathy-gtk/empathy-roster-model-aggregator.c
b/libempathy-gtk/empathy-roster-model-aggregator.c
index b82fd16..824e35d 100644
--- a/libempathy-gtk/empathy-roster-model-aggregator.c
+++ b/libempathy-gtk/empathy-roster-model-aggregator.c
@@ -276,7 +276,7 @@ empathy_roster_model_aggregator_constructed (GObject *object)
chain_up (object);
if (self->priv->aggregator == NULL)
- self->priv->aggregator = folks_individual_aggregator_new ();
+ self->priv->aggregator = folks_individual_aggregator_dup ();
g_assert (FOLKS_IS_INDIVIDUAL_AGGREGATOR (self->priv->aggregator));
diff --git a/libempathy/empathy-individual-manager.c b/libempathy/empathy-individual-manager.c
index 8518985..6ef77fe 100644
--- a/libempathy/empathy-individual-manager.c
+++ b/libempathy/empathy-individual-manager.c
@@ -583,7 +583,7 @@ empathy_individual_manager_init (EmpathyIndividualManager *self)
priv->individuals_pop = g_sequence_new (g_object_unref);
- priv->aggregator = folks_individual_aggregator_new ();
+ priv->aggregator = folks_individual_aggregator_dup ();
tp_g_signal_connect_object (priv->aggregator, "individuals-changed-detailed",
G_CALLBACK (aggregator_individuals_changed_cb), self, 0);
tp_g_signal_connect_object (priv->aggregator, "notify::is-quiescent",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]