[gnome-games] retro: Replace deprecated Libretro module lookup function
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] retro: Replace deprecated Libretro module lookup function
- Date: Fri, 26 Aug 2016 06:55:48 +0000 (UTC)
commit 757cd090291c4f215c4d1669e2eeb1d2cb568037
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Aug 26 08:30:01 2016 +0200
retro: Replace deprecated Libretro module lookup function
Replace the deprecated Retro.search_module() by its replacement
Retro.ModuleQuery.lookup_module_for_basename().
This fixes a compile time warning.
src/retro/retro-runner.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/retro/retro-runner.vala b/src/retro/retro-runner.vala
index 1a66499..e229a80 100644
--- a/src/retro/retro-runner.vala
+++ b/src/retro/retro-runner.vala
@@ -238,7 +238,7 @@ public class Games.RetroRunner : Object, Runner {
}
private string get_module_path () throws Error {
- var module_path = Retro.search_module (module_basename);
+ var module_path = Retro.ModuleQuery.lookup_module_for_basename (module_basename);
if (FileUtils.test (module_path, FileTest.EXISTS))
return module_path;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]