aboutsummaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-10-27 18:05:27 +0200
committerThomas White <taw@bitwiz.me.uk>2018-10-27 18:05:27 +0200
commit662ea0cffbda947f363f9f734309066cd93e917f (patch)
tree58a380ba5284fd2bfd004174559b03c9448ef4a5 /src/stylesheet.h
parentd5f7ae9d6a28781051d7649a656dd2f93b6ea96d (diff)
Avoid copious strcatting for stylesheet lookups
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h
index aa5867f..15584b1 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -32,7 +32,9 @@
typedef struct _stylesheet Stylesheet;
extern Stylesheet *stylesheet_load(GFile *file);
-extern char *stylesheet_lookup(Stylesheet *ss, const char *path);
+
+extern char *stylesheet_lookup(Stylesheet *ss, const char *path, const char *key);
+
extern void stylesheet_free(Stylesheet *ss);
#endif /* STYLESHEET_H */