[gnome-software: 47/72] gs-plugin-vfuncs: Drop gs_plugin_refine()




commit a59f8fed1f055e8af6bfdce7627a6fc4fe79fa55
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Nov 24 16:29:13 2021 +0000

    gs-plugin-vfuncs: Drop gs_plugin_refine()
    
    It’s no longer used anywhere; the `refine_async` member of
    `GsPluginClass` is used instead.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Helps: #1472

 lib/gs-plugin-vfuncs.h | 23 -----------------------
 1 file changed, 23 deletions(-)
---
diff --git a/lib/gs-plugin-vfuncs.h b/lib/gs-plugin-vfuncs.h
index 65764578c..abd24e299 100644
--- a/lib/gs-plugin-vfuncs.h
+++ b/lib/gs-plugin-vfuncs.h
@@ -355,29 +355,6 @@ gboolean    gs_plugin_add_featured                 (GsPlugin       *plugin,
                                                         GCancellable   *cancellable,
                                                         GError         **error);
 
-/**
- * gs_plugin_refine:
- * @plugin: a #GsPlugin
- * @list: a #GsAppList
- * @flags: a #GsPluginRefineFlags, e.g. %GS_PLUGIN_REFINE_FLAGS_REQUIRE_LICENSE
- * @cancellable: a #GCancellable, or %NULL
- * @error: a #GError, or %NULL
- *
- * Adds required information to a list of #GsApp's. It allows requests to be
- * batched up, which allows better performance than individual calls per app.
- *
- * An example for when this is useful would be in the PackageKit plugin where
- * we want to do one transaction of GetDetails with multiple source-ids rather
- * than scheduling a large number of pending requests.
- *
- * Returns: %TRUE for success or if not relevant
- **/
-gboolean        gs_plugin_refine                       (GsPlugin       *plugin,
-                                                        GsAppList      *list,
-                                                        GsPluginRefineFlags flags,
-                                                        GCancellable   *cancellable,
-                                                        GError         **error);
-
 /**
  * gs_plugin_refine_wildcard:
  * @plugin: a #GsPlugin


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