diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-09-30 16:17:30 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-09-30 16:21:11 +0200 |
commit | a5c510f8e247e68110051179ebaebe0fe74e794c (patch) | |
tree | 42d631bcc210b6eef69766a64e433235c75fbe3f /tests | |
parent | 251421b0d9f26de6b3c388c5666a95ea1bcc2eee (diff) | |
download | rygel-a5c510f8e247e68110051179ebaebe0fe74e794c.tar.gz |
Fix 'static const' warnings with vala 0.33.1
Diffstat (limited to 'tests')
-rw-r--r-- | tests/object-creator/test.vala | 8 | ||||
-rw-r--r-- | tests/rygel-http-response-test.vala | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/object-creator/test.vala b/tests/object-creator/test.vala index a0198d84..71b231a9 100644 --- a/tests/object-creator/test.vala +++ b/tests/object-creator/test.vala @@ -237,11 +237,11 @@ public class Rygel.MediaContainer : Rygel.MediaObject { public Gee.ArrayList<string> create_classes = new Gee.ArrayList<string> (); public int child_count { get; set; } public string sort_criteria = "+dc:title"; - public static const string ANY = "DLNA.ORG_AnyContainer"; - public static const string UPNP_CLASS = "object.container"; - public static const string STORAGE_FOLDER = + public const string ANY = "DLNA.ORG_AnyContainer"; + public const string UPNP_CLASS = "object.container"; + public const string STORAGE_FOLDER = "object.container.storageFolder"; - public static const string PLAYLIST = + public const string PLAYLIST = "object.container.playlistContainer"; public uint update_id; diff --git a/tests/rygel-http-response-test.vala b/tests/rygel-http-response-test.vala index 5e1582a6..c6d97925 100644 --- a/tests/rygel-http-response-test.vala +++ b/tests/rygel-http-response-test.vala @@ -391,8 +391,8 @@ internal class Rygel.TestDataSource : Rygel.DataSource, Object { } public class Rygel.MediaItem { - private static const long BLOCK_SIZE = HTTPResponseTest.MAX_BYTES / 16; - private static const long MAX_BUFFERS = 25; + private const long BLOCK_SIZE = HTTPResponseTest.MAX_BYTES / 16; + private const long MAX_BUFFERS = 25; public int64 size { get { |