Skip to content

Commit

Permalink
usb: Adjust the API do to reality
Browse files Browse the repository at this point in the history
Remove unused options for the dbus call.

Signed-off-by: Hubert Figuière <[email protected]>
  • Loading branch information
hfiguiere committed May 6, 2024
1 parent 07c4f99 commit cb66d92
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion data/org.freedesktop.portal.Usb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@

<!--
EnumerateDevices:
@session_handle: Object path for the :ref:`org.freedesktop.portal.Session` object
@options: Vardict with optional further information
Enumerates all connected USB devices that this application has permission
Expand Down
1 change: 0 additions & 1 deletion src/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,6 @@ on_gudev_client_uevent_cb (GUdevClient *client,
/* CreateSession */

static XdpOptionKey usb_create_session_options[] = {
{ "handle_token", G_VARIANT_TYPE_STRING, NULL },
{ "session_handle_token", G_VARIANT_TYPE_STRING, NULL },
};

Expand Down

0 comments on commit cb66d92

Please sign in to comment.