diff options
author | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-07-30 16:15:05 +0100 |
---|---|---|
committer | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-20 11:03:06 +0100 |
commit | 6609b50bce338fdb3fe470f57727d30211c8d104 (patch) | |
tree | ca18cf4fe74d628f26aa1ecf00e7ba48e05cd6eb /tp-account-widgets/tpaw-string-parser.c | |
parent | 5c0d938cf15d07c0f7511c5acb9a3d8e42278e0d (diff) | |
download | telepathy-account-widgets-6609b50bce338fdb3fe470f57727d30211c8d104.tar.gz |
tpaw-utils: copy URL handling functions from Empathy to tp-aw
This commit also changes the licence of the moved code from GPL to LGPL.
See GOSSIP-RELICENSING.txt for details.
https://bugzilla.gnome.org/show_bug.cgi?id=699492
Diffstat (limited to 'tp-account-widgets/tpaw-string-parser.c')
-rw-r--r-- | tp-account-widgets/tpaw-string-parser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tp-account-widgets/tpaw-string-parser.c b/tp-account-widgets/tpaw-string-parser.c index 172a7630..de777820 100644 --- a/tp-account-widgets/tpaw-string-parser.c +++ b/tp-account-widgets/tpaw-string-parser.c @@ -21,6 +21,8 @@ #include "config.h" #include "tpaw-string-parser.h" +#include <tp-account-widgets/tpaw-utils.h> + #include "empathy-ui-utils.h" #define SCHEMES "([a-zA-Z\\+]+)" @@ -134,7 +136,7 @@ tpaw_string_replace_link (const gchar *text, gchar *title; gchar *markup; - real_url = empathy_make_absolute_url_len (text, len); + real_url = tpaw_make_absolute_url_len (text, len); /* Need to copy manually, because g_markup_printf_escaped does not work * with string precision pitfalls. */ |