From 3de3a5ab30345befbbccfbcb5bdc19d4fd28339b Mon Sep 17 00:00:00 2001 From: Marco Barisione Date: Mon, 6 May 2013 15:19:57 +0100 Subject: utils: remove empathy_account_has_uri_scheme_tel() https://bugzilla.gnome.org/show_bug.cgi?id=699492 --- libempathy/empathy-utils.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'libempathy/empathy-utils.c') diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c index ee245d90f..659d4d507 100644 --- a/libempathy/empathy-utils.c +++ b/libempathy/empathy-utils.c @@ -789,25 +789,6 @@ empathy_format_currency (gint amount, return money; } -gboolean -empathy_account_has_uri_scheme_tel (TpAccount *account) -{ - const gchar * const * uri_schemes; - guint i; - - uri_schemes = tp_account_get_uri_schemes (account); - if (uri_schemes == NULL) - return FALSE; - - for (i = 0; uri_schemes[i] != NULL; i++) - { - if (!tp_strdiff (uri_schemes[i], "tel")) - return TRUE; - } - - return FALSE; -} - /* Return the TpContact on @conn associated with @individual, if any */ TpContact * empathy_get_tp_contact_for_individual (FolksIndividual *individual, -- cgit v1.2.3