[gnome-games/cherry-pick-a871c2c4: 2/2] playstation: Fix get_playstation_info() signature
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/cherry-pick-a871c2c4: 2/2] playstation: Fix get_playstation_info() signature
- Date: Tue, 11 Sep 2018 11:26:12 +0000 (UTC)
commit aca25adb341491bd7aaad07c177c9948068b68e7
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sat Sep 8 16:15:16 2018 +0000
playstation: Fix get_playstation_info() signature
The 'cancellable' parameter must be explicitly specified on Vala side.
(cherry picked from commit a871c2c4bb7228ddedfc56a7322f68549aec48e7)
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..42c0fd7c 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]