utils: reworked uri splitting with help of libsoup

Currently we split a URI string with a Regex which is error prone. As
libsoup already provides a facility to parse a URI into its parts
we should use this instead. Therefore our utility method is not necessary anymore.
This commit is contained in:
Guenther Wutz
2017-12-11 20:08:09 +01:00
parent 4f02a3e97f
commit 0f6efd8668
3 changed files with 23 additions and 109 deletions
-6
View File
@@ -134,12 +134,6 @@ gsize e_utf8_strftime_fix_am_pm (gchar
void fix_popover_menu_icons (GtkPopover *popover);
gboolean uri_get_fields (const gchar *uri,
gchar **schema,
gchar **host,
gchar **path,
gboolean *is_file);
void get_source_parent_name_color (GcalManager *manager,
ESource *source,
gchar **name,