Commit a6432d92 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Call XdgImportedV2Interface::send_destroyed() that takes no resource

XdgImportedV2Interface already knows what the associated resource is, so
we can call send_destroyed() method that takes no resource to let auto
generated code figure out what resource must be used. It simplifies code.
parent dad5d3e9
Pipeline #55228 canceled with stage
......@@ -239,7 +239,7 @@ void XdgImportedV2Interface::zxdg_imported_v2_destroy_resource(Resource *resourc
void XdgImportedV2Interface::handleExportedDestroyed()
{
send_destroyed(resource()->handle);
send_destroyed();
delete this;
}
......
Supports Markdown
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