diff options
author | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-05-06 22:19:57 +0800 |
---|---|---|
committer | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-20 18:03:05 +0800 |
commit | 3de3a5ab30345befbbccfbcb5bdc19d4fd28339b (patch) | |
tree | 01731cbf08b982b291df0170abb28fc6806a41e5 | |
parent | c07fb4e3252593b3be0b7d7b1a802a0639334c10 (diff) | |
download | gsoc2013-empathy-3de3a5ab30345befbbccfbcb5bdc19d4fd28339b.tar gsoc2013-empathy-3de3a5ab30345befbbccfbcb5bdc19d4fd28339b.tar.gz gsoc2013-empathy-3de3a5ab30345befbbccfbcb5bdc19d4fd28339b.tar.bz2 gsoc2013-empathy-3de3a5ab30345befbbccfbcb5bdc19d4fd28339b.tar.lz gsoc2013-empathy-3de3a5ab30345befbbccfbcb5bdc19d4fd28339b.tar.xz gsoc2013-empathy-3de3a5ab30345befbbccfbcb5bdc19d4fd28339b.tar.zst gsoc2013-empathy-3de3a5ab30345befbbccfbcb5bdc19d4fd28339b.zip |
utils: remove empathy_account_has_uri_scheme_tel()
https://bugzilla.gnome.org/show_bug.cgi?id=699492
-rw-r--r-- | libempathy/empathy-utils.c | 19 | ||||
-rw-r--r-- | libempathy/empathy-utils.h | 2 |
2 files changed, 0 insertions, 21 deletions
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, diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h index 96d201d3e..fe194bdc1 100644 --- a/libempathy/empathy-utils.h +++ b/libempathy/empathy-utils.h @@ -94,8 +94,6 @@ gchar *empathy_format_currency (gint amount, guint scale, const gchar *currency); -gboolean empathy_account_has_uri_scheme_tel (TpAccount *account); - TpContact * empathy_get_tp_contact_for_individual (FolksIndividual *individual, TpConnection *conn); |