Skip to content

Commit

Permalink
gdk: fix transfer type in Drop::read_async
Browse files Browse the repository at this point in the history
the mimetype out param is transfer none
  • Loading branch information
bilelmoussaoui committed Jul 9, 2021
1 parent 8959ff8 commit 67894aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdk4/src/drop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl Drop {
&mut error,
);
let result = if error.is_null() {
Ok((from_glib_full(ret), from_glib_full(out_mime_type)))
Ok((from_glib_full(ret), from_glib_none(out_mime_type)))
} else {
Err(from_glib_full(error))
};
Expand Down

0 comments on commit 67894aa

Please sign in to comment.