diff options
author | Jens Georg <mail@jensge.org> | 2017-04-30 11:44:55 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2017-04-30 11:44:55 +0200 |
commit | 3e0aea3decee4a22fae29b2163cc48865b8c9d71 (patch) | |
tree | 5cf52c6509e47404ad5c6f9e88dd2c05cc1abd29 | |
parent | 5351e79d6d69f19aab123522f8e93230f70ea505 (diff) | |
download | rygel-3e0aea3decee4a22fae29b2163cc48865b8c9d71.tar.gz |
core: Fix deprecated function calls
-rw-r--r-- | src/librygel-core/rygel-plugin-loader.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librygel-core/rygel-plugin-loader.vala b/src/librygel-core/rygel-plugin-loader.vala index f61a7b3e..7ffacb2a 100644 --- a/src/librygel-core/rygel-plugin-loader.vala +++ b/src/librygel-core/rygel-plugin-loader.vala @@ -161,14 +161,14 @@ public class Rygel.PluginLoader : RecursiveModuleLoader { try { var enabled = this.config.get_enabled (section); if (!enabled) { - if (section in plugin_hash) { + if (plugin_hash.has_key(section)) { plugin_hash[section].active = enabled; } } else { - if (section in plugin_hash) { + if (plugin_hash.has_key(section)) { plugin_hash[section].active = enabled; } else { - if (section in available_plugins) { + if (available_plugins.has_key(section)) { this.load_module_from_info (available_plugins[section]); } |