summaryrefslogtreecommitdiff
path: root/src/lib/content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-02-18 17:42:58 +0000
committerCarl Hetherington <cth@carlh.net>2016-02-18 17:42:58 +0000
commitd8a19dca28268e3ac92f117d00c1064c0b06515c (patch)
treec3a9d9d6b25689c828578300c46361444bb72c1b /src/lib/content.cc
parent1b81ba7c24e7f117d1960021d7e28c8f0147009f (diff)
Various improvements to the content properties dialogue (including #791).
Diffstat (limited to 'src/lib/content.cc')
-rw-r--r--src/lib/content.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc
index 2c89f7c34..724cabb6c 100644
--- a/src/lib/content.cc
+++ b/src/lib/content.cc
@@ -277,13 +277,11 @@ Content::path_summary () const
return s;
}
-/** @return a list of properties that might be interesting to the user; first string is the property name,
- * second is the value.
- */
-list<pair<string, string> >
-Content::properties () const
+/** @return a list of properties that might be interesting to the user */
+list<Content::UserProperty>
+Content::user_properties () const
{
- list<pair<string, string> > p;
+ list<UserProperty> p;
add_properties (p);
return p;
}