summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/controller/controller.vala2
-rw-r--r--gtk/controller/foreign-menu.vala6
2 files changed, 4 insertions, 4 deletions
diff --git a/gtk/controller/controller.vala b/gtk/controller/controller.vala
index ffd57c3..1ff621f 100644
--- a/gtk/controller/controller.vala
+++ b/gtk/controller/controller.vala
@@ -59,7 +59,7 @@ public class Controller: Object {
msg.base.id = SpiceProtocol.Controller.MsgId.MENU_ITEM_CLICK;
msg.value = item_id;
unowned uint8[] p = ((uint8[])(&msg))[0:msg.base.size];
- send_msg (p);
+ send_msg.begin (p);
}
public async bool send_msg (uint8[] p) throws GLib.Error {
diff --git a/gtk/controller/foreign-menu.vala b/gtk/controller/foreign-menu.vala
index db2f353..005955a 100644
--- a/gtk/controller/foreign-menu.vala
+++ b/gtk/controller/foreign-menu.vala
@@ -41,7 +41,7 @@ public class ForeignMenu: Object {
msg.action = SpiceProtocol.ForeignMenu.EventType.CLICK;
unowned uint8[] p = ((uint8[])(&msg))[0:msg.base.size];
- send_msg (p);
+ send_msg.begin (p);
}
public void menu_item_checked_msg (int32 item_id, bool checked = true) {
@@ -56,7 +56,7 @@ public class ForeignMenu: Object {
SpiceProtocol.ForeignMenu.EventType.UNCHECKED;
unowned uint8[] p = ((uint8[])(&msg))[0:msg.base.size];
- send_msg (p);
+ send_msg.begin (p);
}
public void app_activated_msg (bool activated = true) {
@@ -67,7 +67,7 @@ public class ForeignMenu: Object {
SpiceProtocol.ForeignMenu.MsgId.APP_DEACTIVATED;
unowned uint8[] p = ((uint8[])(&msg))[0:msg.size];
- send_msg (p);
+ send_msg.begin (p);
}
public async bool send_msg (owned uint8[] p) throws GLib.Error {