[gnome-control-center] background: Replace deprecated grilo function use



commit 43d4ae4bd4464060bed412e20f52952ba1925822
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Oct 11 17:32:45 2015 +0200

    background: Replace deprecated grilo function use
    
    grl_operation_options_set_flags() was replaced, and bump the required
    grilo version to 0.2.12
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756393

 configure.ac                                  |    2 +-
 panels/background/cc-background-grilo-miner.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 11ff490..7db9548 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,7 +105,7 @@ ACCOUNTSSERVICE_REQUIRED_VERSION=0.6.39
 COLORD_REQUIRED_VERSION=0.1.34
 COLORD_GTK_REQUIRED_VERSION=0.1.24
 PWQUALITY_REQUIRED_VERSION=1.2.2
-GRILO_REQUIRED_VERSION=0.2.6
+GRILO_REQUIRED_VERSION=0.2.12
 
 COMMON_MODULES="gtk+-3.0 >= $GTK_REQUIRED_VERSION
  glib-2.0 >= $GLIB_REQUIRED_VERSION
diff --git a/panels/background/cc-background-grilo-miner.c b/panels/background/cc-background-grilo-miner.c
index 76c86c6..3fb183c 100644
--- a/panels/background/cc-background-grilo-miner.c
+++ b/panels/background/cc-background-grilo-miner.c
@@ -150,7 +150,7 @@ query_online_source (CcBackgroundGriloMiner *self, GrlSource *source)
   caps = grl_source_get_caps (source, GRL_OP_BROWSE);
   options = grl_operation_options_new (caps);
   grl_operation_options_set_count (options, REMOTE_ITEM_COUNT);
-  grl_operation_options_set_flags (options, GRL_RESOLVE_FAST_ONLY);
+  grl_operation_options_set_resolution_flags (options, GRL_RESOLVE_FAST_ONLY);
   grl_operation_options_set_type_filter (options, GRL_TYPE_FILTER_IMAGE);
 
   grl_source_search (source, NULL, keys, options, searched_online_source, g_object_ref (self));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]