core: No need for 'construct'
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 7 Jan 2010 14:34:46 +0000 (16:34 +0200)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Tue, 19 Jan 2010 15:04:37 +0000 (17:04 +0200)
src/rygel/rygel-search-criteria-parser.vala

index a7d0a7e..bfb706c 100644 (file)
@@ -70,7 +70,8 @@ internal class Rygel.SearchCriteriaParser : Object, StateMachine {
         { "false",          (int) Symbol.FALSE }
     };
 
-    construct  {
+    public SearchCriteriaParser (string str) throws Error {
+        this.str = str;
         scanner = new Scanner (null);
         scanner.config.cset_skip_characters = " \t\n\r\012" +
                                               "\013\014\015";
@@ -90,10 +91,6 @@ internal class Rygel.SearchCriteriaParser : Object, StateMachine {
         }
     }
 
-    public SearchCriteriaParser (string str) throws Error {
-        this.str = str;
-    }
-
     // This implementation is not really async
     public async void run () {
         if (this.str == "*") {