diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-14 16:01:53 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-06-14 16:01:53 +0800 |
commit | 7f8fe5091b7a980133c0c3d1285cb718f8772142 (patch) | |
tree | 27965ecbe8c1fada63ba4a277422f9963eddf6cc /libempathy | |
parent | 6cd010a8c3bbca11bf5989c9928f8f75a48ad5d4 (diff) | |
download | gsoc2013-empathy-7f8fe5091b7a980133c0c3d1285cb718f8772142.tar gsoc2013-empathy-7f8fe5091b7a980133c0c3d1285cb718f8772142.tar.gz gsoc2013-empathy-7f8fe5091b7a980133c0c3d1285cb718f8772142.tar.bz2 gsoc2013-empathy-7f8fe5091b7a980133c0c3d1285cb718f8772142.tar.lz gsoc2013-empathy-7f8fe5091b7a980133c0c3d1285cb718f8772142.tar.xz gsoc2013-empathy-7f8fe5091b7a980133c0c3d1285cb718f8772142.tar.zst gsoc2013-empathy-7f8fe5091b7a980133c0c3d1285cb718f8772142.zip |
individual-manager: comment out interaction code
I accidentally pushed this code to master. I'll revert this patch once the
code has been reviewed and Folks 0.7.1 released.
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-individual-manager.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libempathy/empathy-individual-manager.c b/libempathy/empathy-individual-manager.c index e80e13224..73a8ed394 100644 --- a/libempathy/empathy-individual-manager.c +++ b/libempathy/empathy-individual-manager.c @@ -132,8 +132,11 @@ compute_popularity (FolksIndividual *individual) { /* TODO: we should have a better heuristic using the last time we interacted * with the contact as well. */ +#if 0 return folks_interaction_details_get_im_interaction_count ( FOLKS_INTERACTION_DETAILS (individual)); +#endif + return 0; } static void @@ -213,6 +216,7 @@ compare_individual_by_pop (gconstpointer a, return pop_b - pop_a; } +#if 0 static void individual_notify_im_interaction_count (FolksIndividual *individual, GParamSpec *pspec, @@ -223,6 +227,7 @@ individual_notify_im_interaction_count (FolksIndividual *individual, g_sequence_sort (priv->individuals_pop, compare_individual_by_pop, NULL); check_top_individuals (self); } +#endif static void add_individual (EmpathyIndividualManager *self, FolksIndividual *individual) @@ -241,8 +246,10 @@ add_individual (EmpathyIndividualManager *self, FolksIndividual *individual) G_CALLBACK (individual_group_changed_cb), self); g_signal_connect (individual, "notify::is-favourite", G_CALLBACK (individual_notify_is_favourite_cb), self); +#if 0 g_signal_connect (individual, "notify::im-interaction-count", G_CALLBACK (individual_notify_im_interaction_count), self); +#endif } static void @@ -263,8 +270,10 @@ remove_individual (EmpathyIndividualManager *self, FolksIndividual *individual) individual_group_changed_cb, self); g_signal_handlers_disconnect_by_func (individual, individual_notify_is_favourite_cb, self); +#if 0 g_signal_handlers_disconnect_by_func (individual, individual_notify_im_interaction_count, self); +#endif g_hash_table_remove (priv->individuals, folks_individual_get_id (individual)); } |