river-status: actually destroy the manager object

This commit is contained in:
Isaac Freund 2020-06-15 15:20:17 +02:00
parent f0c3aa3744
commit ce18f24129
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11

View file

@ -77,7 +77,9 @@ fn bind(wl_client: ?*c.wl_client, data: ?*c_void, version: u32, id: u32) callcon
c.wl_resource_set_implementation(wl_resource, &implementation, self, null); c.wl_resource_set_implementation(wl_resource, &implementation, self, null);
} }
fn destroy(wl_client: ?*c.wl_client, wl_resource: ?*c.wl_resource) callconv(.C) void {} fn destroy(wl_client: ?*c.wl_client, wl_resource: ?*c.wl_resource) callconv(.C) void {
c.wl_resource_destroy(wl_resource);
}
fn getRiverOutputStatus( fn getRiverOutputStatus(
wl_client: ?*c.wl_client, wl_client: ?*c.wl_client,