aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-url.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-02-06 05:58:39 +0800
committerDan Winship <danw@src.gnome.org>2003-02-06 05:58:39 +0800
commit022bfface06cb27a7747bd003b9220cb0db3d076 (patch)
tree3fce64661c829b39df9d92a36c5e660f6e61928d /e-util/e-url.c
parent4fe7f116d9bd30f6ce3034eeb5d8a5f1edc3bf0e (diff)
downloadgsoc2013-evolution-022bfface06cb27a7747bd003b9220cb0db3d076.tar.gz
gsoc2013-evolution-022bfface06cb27a7747bd003b9220cb0db3d076.tar.zst
gsoc2013-evolution-022bfface06cb27a7747bd003b9220cb0db3d076.zip
define in terms of privincludedir.
* Makefile.am (eutilincludedir, etc): define in terms of privincludedir. * ename/Makefile.am (libenameincludedir): Likewise * e-account.c: Fix warnings * e-account-list.c: Likewise * e-config-listener.c: Likewise * e-gui-utils.c: Likewise. * e-lang-utils.c: Likewise * e-msgport.c: Likewise * e-passwords.c: Likewise * e-categories-config.c (e_categories_config_open_dialog_for_entry): Use g_object_get/_set rather than gtk_ * e-url.c (e_uri_new): Use g_ascii_strdown instead of deprecated g_strdown. svn path=/trunk/; revision=19771
Diffstat (limited to 'e-util/e-url.c')
-rw-r--r--e-util/e-url.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/e-util/e-url.c b/e-util/e-url.c
index 6c24b20b8d..b96ee9cf9b 100644
--- a/e-util/e-url.c
+++ b/e-util/e-url.c
@@ -133,8 +133,7 @@ e_uri_new (const char *uri_string)
p++;
if (p > uri_string && *p == ':') {
- uri->protocol = g_strndup (uri_string, p - uri_string);
- g_strdown (uri->protocol);
+ uri->protocol = g_ascii_strdown (uri_string, p - uri_string);
uri_string = p + 1;
}
else