aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-url.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-26 22:05:44 +0800
committerDan Winship <danw@src.gnome.org>2001-03-26 22:05:44 +0800
commitc92c8b1fe42d8b4aa229b6be0172844a9a4a8bee (patch)
tree64bff21bb1192d00739a569a86bd922d22808724 /camel/camel-url.c
parent3eb45d09d2546975d001bfc295f9a105be5a9921 (diff)
downloadgsoc2013-evolution-c92c8b1fe42d8b4aa229b6be0172844a9a4a8bee.tar.gz
gsoc2013-evolution-c92c8b1fe42d8b4aa229b6be0172844a9a4a8bee.tar.zst
gsoc2013-evolution-c92c8b1fe42d8b4aa229b6be0172844a9a4a8bee.zip
Add missing accessor.
* camel-url.c (camel_url_get_param): Add missing accessor. svn path=/trunk/; revision=8943
Diffstat (limited to 'camel/camel-url.c')
-rw-r--r--camel/camel-url.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/camel/camel-url.c b/camel/camel-url.c
index bba935b7b9..2777a3f32a 100644
--- a/camel/camel-url.c
+++ b/camel/camel-url.c
@@ -425,6 +425,12 @@ camel_url_set_param (CamelURL *url, const char *name, const char *value)
g_datalist_set_data (&url->params, name, value ? g_strdup (value) : NULL);
}
+const char *
+camel_url_get_param (CamelURL *url, const char *name)
+{
+ return g_datalist_get_data (&url->params, name);
+}
+
/**
* camel_url_encode: