[gnome-games/wip/exalm/issue68] playstation: Fix get_playstation_info() signature
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/issue68] playstation: Fix get_playstation_info() signature
- Date: Wed, 12 Sep 2018 11:55:34 +0000 (UTC)
commit f8339c108fc752f29dd8c5fada78ec85aeea41e9
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sat Sep 8 21:15:16 2018 +0500
playstation: Fix get_playstation_info() signature
The 'cancellable' parameter must be explicitly specified on Vala side.
plugins/playstation/src/playstation-header.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/playstation/src/playstation-header.vala b/plugins/playstation/src/playstation-header.vala
index 24591be4..9faa11d7 100644
--- a/plugins/playstation/src/playstation-header.vala
+++ b/plugins/playstation/src/playstation-header.vala
@@ -23,7 +23,7 @@ private class Games.PlayStationHeader : Object {
string label;
string exe;
- if (!get_playstation_info (file.get_path (), out label, out exe))
+ if (!get_playstation_info (file.get_path (), out label, out exe, null))
throw new PlayStationError.INVALID_HEADER (_("Not a PlayStation disc: ā%sā."),
file.get_uri ());
_disc_id = parse_id_from_exe (exe);
@@ -73,5 +73,5 @@ private class Games.PlayStationHeader : Object {
}
[CCode (cname = "get_playstation_info")]
- private static extern bool get_playstation_info (string filename, out string label, out string exe)
throws Error;
+ private static extern bool get_playstation_info (string filename, out string label, out string exe,
Cancellable cancellable) throws Error;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]