Commit ccc7436e authored by Rico Tzschichholz's avatar Rico Tzschichholz Committed by Daniel Espinosa Ortiz

Fix build due to several vala syntax issues

Fix issue #44
parent f3ef28e9
......@@ -33,7 +33,7 @@ public interface GVls.PublishDiagnosticsParams : Object {
/**
* The URI for which diagnostic information is reported.
*/
public abstract string uri { owned get { return file.get_uri (); } }
public string uri { owned get { return file.get_uri (); } }
/**
* An array of diagnostic information items of type {@link Diagnostic}
......
......@@ -28,7 +28,7 @@ public interface GVls.TextDocumentItem : Object {
/**
* The text document's URI.
*/
public abstract string uri { owned get { return file.get_uri (); } }
public string uri { owned get { return file.get_uri (); } }
/**
* The text document's language identifier.
......
......@@ -18,7 +18,7 @@
public interface GVls.WorkspaceFolder : Object, GVls.ContainerHashable {
public abstract GLib.File file { get; set; }
public abstract string uri { owned get { return file.get_uri (); } }
public abstract string name { owned get { return file.get_basename (); } }
public string uri { owned get { return file.get_uri (); } }
public string name { owned get { return file.get_basename (); } }
}
......@@ -31,7 +31,7 @@ public interface GVls.FileEvent : Object, GVls.ContainerHashable {
/**
* The file's URI.
*/
public abstract string uri { owned get { return file.get_uri (); } }
public string uri { owned get { return file.get_uri (); } }
/**
* The change type.
*/
......
......@@ -28,7 +28,7 @@ class Client : GLib.Object, GVls.Client {
}
class Tests {
static int main (string args[])
static int main (string[] args)
{
GLib.Intl.setlocale (GLib.LocaleCategory.ALL, "");
Test.init (ref args);
......
......@@ -19,7 +19,7 @@
using GVls;
class Tests {
static int main (string args[])
static int main (string[] args)
{
GLib.Intl.setlocale (GLib.LocaleCategory.ALL, "");
Test.init (ref args);
......
......@@ -19,7 +19,7 @@
using GVls;
class Tests {
static int main (string args[])
static int main (string[] args)
{
GLib.Intl.setlocale (GLib.LocaleCategory.ALL, "");
Test.init (ref args);
......
......@@ -19,7 +19,7 @@
using GVls;
class Tests {
static int main (string args[])
static int main (string[] args)
{
GLib.Intl.setlocale (GLib.LocaleCategory.ALL, "");
Test.init (ref args);
......
......@@ -19,7 +19,7 @@
using GVls;
class Tests {
static int main (string args[])
static int main (string[] args)
{
GLib.Intl.setlocale (GLib.LocaleCategory.ALL, "");
Test.init (ref args);
......
......@@ -19,7 +19,7 @@
using GVls;
class Tests {
static int main (string args[])
static int main (string[] args)
{
GLib.Intl.setlocale (GLib.LocaleCategory.ALL, "");
Test.init (ref args);
......
......@@ -19,7 +19,7 @@
using GVls;
class Tests {
static int main (string args[])
static int main (string[] args)
{
GLib.Intl.setlocale (GLib.LocaleCategory.ALL, "");
Test.init (ref args);
......
......@@ -19,7 +19,7 @@
using GVls;
class Tests {
static int main (string args[])
static int main (string[] args)
{
GLib.Intl.setlocale (GLib.LocaleCategory.ALL, "");
Test.init (ref args);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment