[gtk4] GtkFileChooserNative: Fix portal close.
This makes closing a portal file chooser work. Fixes the GTK4 bits of #6225.
This commit is contained in:
committed by
Matthias Clasen
parent
a0c632b0d3
commit
a64c2ed6f0
@@ -216,11 +216,9 @@ send_close (FilechooserPortalData *data)
|
||||
GError *error = NULL;
|
||||
|
||||
message = g_dbus_message_new_method_call (PORTAL_BUS_NAME,
|
||||
PORTAL_OBJECT_PATH,
|
||||
data->portal_handle,
|
||||
PORTAL_REQUEST_INTERFACE,
|
||||
"Close");
|
||||
g_dbus_message_set_body (message,
|
||||
g_variant_new ("(o)", data->portal_handle));
|
||||
|
||||
if (!g_dbus_connection_send_message (data->connection,
|
||||
message,
|
||||
|
||||
Reference in New Issue
Block a user