Skip to content

Commit

Permalink
File chooser: Fix reading the writable property
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlarsson committed Jan 18, 2017
1 parent 396c9a3 commit 3ab700b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file-chooser.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ send_response_in_thread_func (GTask *task,
if (response != 0)
goto out;

if (!g_variant_lookup (options, "b", "writable", &writable))
if (!g_variant_lookup (options, "writable", "b", &writable))
writable = FALSE;

choices = g_variant_lookup_value (options, "choices", G_VARIANT_TYPE ("a(ss)"));
Expand Down

0 comments on commit 3ab700b

Please sign in to comment.