[gnome-games/gnome-3-30] playstation: Fix get_playstation_info() signature
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/gnome-3-30] playstation: Fix get_playstation_info() signature
- Date: Tue, 11 Sep 2018 12:21:41 +0000 (UTC)
commit 515739f5e7a3607d118c5b47169be60a68c7be04
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]