Commit 7b4729cc authored by Morten Welinder's avatar Morten Welinder

python-loader: fix compilation warning.

parent 3672284d
2019-01-15 Morten Welinder <terra@gnome.org>
* python-loader.c (gplp_func_file_probe): Ensure return value.
2018-11-24 Morten Welinder <terra@gnome.org>
* Release 1.12.44
......
......@@ -224,7 +224,7 @@ gplp_func_file_probe (G_GNUC_UNUSED GOFileOpener const *fo, GOPluginService *ser
g_return_val_if_fail (input != NULL, FALSE);
if (_PyGObject_API == NULL) {
pygobject_init (3, 0, 0);
g_return_if_fail (_PyGObject_API != NULL);
g_return_val_if_fail (_PyGObject_API != NULL, FALSE);
}
loader_data = g_object_get_data (G_OBJECT (service), "loader_data");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment