[gedit-code-assistance] Version dbus API
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-code-assistance] Version dbus API
- Date: Mon, 11 Nov 2013 22:19:06 +0000 (UTC)
commit 5e66d3f5f04883dcd96a56e341c83b4ef13eb05d
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Mon Nov 11 23:18:58 2013 +0100
Version dbus API
src/gca-backend.vala | 6 +++---
src/gca-dbus.vala | 8 ++++----
src/gca-remote-service.vala | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/gca-backend.vala b/src/gca-backend.vala
index c14d081..691dc96 100644
--- a/src/gca-backend.vala
+++ b/src/gca-backend.vala
@@ -31,8 +31,8 @@ class Backend : Object
public static async Backend create(string language) throws Error
{
- var name = "org.gnome.CodeAssist." + language;
- var path = "/org/gnome/CodeAssist/" + language;
+ var name = "org.gnome.CodeAssist.v1." + language;
+ var path = "/org/gnome/CodeAssist/v1/" + language;
var project = yield get_project(name, path);
var services = yield get_remote_services(name, path);
@@ -67,7 +67,7 @@ class Backend : Object
DBus.Project? project = null;
- if (serviceintro.lookup_interface("org.gnome.CodeAssist.Project") != null)
+ if (serviceintro.lookup_interface("org.gnome.CodeAssist.v1.Project") != null)
{
project = yield Bus.get_proxy<DBus.Project>(BusType.SESSION, name, path);
}
diff --git a/src/gca-dbus.vala b/src/gca-dbus.vala
index 4d8da83..2647ec5 100644
--- a/src/gca-dbus.vala
+++ b/src/gca-dbus.vala
@@ -66,7 +66,7 @@ interface Introspectable : Object
public abstract async string Introspect() throws DBusError;
}
-[DBus(name = "org.gnome.CodeAssist.Service")]
+[DBus(name = "org.gnome.CodeAssist.v1.Service")]
interface Service : Object
{
public abstract async ObjectPath parse(string path,
@@ -78,7 +78,7 @@ interface Service : Object
}
-[DBus(name = "org.gnome.CodeAssist.Project")]
+[DBus(name = "org.gnome.CodeAssist.v1.Project")]
interface Project : Object
{
public abstract async RemoteDocument[]
@@ -89,12 +89,12 @@ interface Project : Object
}
-[DBus(name = "org.gnome.CodeAssist.Document")]
+[DBus(name = "org.gnome.CodeAssist.v1.Document")]
interface Document : Object
{
}
-[DBus(name = "org.gnome.CodeAssist.Diagnostics")]
+[DBus(name = "org.gnome.CodeAssist.v1.Diagnostics")]
interface Diagnostics : Object
{
public abstract async Diagnostic[] diagnostics() throws DBusError;
diff --git a/src/gca-remote-service.vala b/src/gca-remote-service.vala
index 9dbe5dc..6747642 100644
--- a/src/gca-remote-service.vala
+++ b/src/gca-remote-service.vala
@@ -31,11 +31,11 @@ enum RemoteServices
{
switch (s)
{
- case "org.gnome.CodeAssist.Diagnostics":
+ case "org.gnome.CodeAssist.v1.Diagnostics":
return RemoteServices.DIAGNOSTICS;
- case "org.gnome.CodeAssist.SemanticValues":
+ case "org.gnome.CodeAssist.v1.SemanticValues":
return RemoteServices.SEMANTIC_VALUES;
- case "org.gnome.CodeAssist.Symbols":
+ case "org.gnome.CodeAssist.v1.Symbols":
return RemoteServices.SYMBOLS;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]