background: Port to new grilo 0.3.0 API
And fix the "fix" in commit 54d0cef51f
which would always fail to activate the Flickr plugin as it wasn't
loaded.
https://bugzilla.gnome.org/show_bug.cgi?id=759585
This commit is contained in:
parent
54d0cef51f
commit
5e8ca7dcb3
1 changed files with 2 additions and 1 deletions
|
@ -308,7 +308,8 @@ cc_background_grilo_miner_class_init (CcBackgroundGriloMinerClass *klass)
|
|||
registry = grl_registry_get_default ();
|
||||
|
||||
error = NULL;
|
||||
if (!grl_registry_activate_plugin_by_id (registry, "grl-flickr", &error))
|
||||
if (!grl_registry_load_all_plugins (registry, FALSE, &error) ||
|
||||
!grl_registry_activate_plugin_by_id (registry, "grl-flickr", &error))
|
||||
{
|
||||
g_warning ("%s", error->message);
|
||||
g_error_free (error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue