[gnome-software/wip/iainl/ubuntu-xenial: 280/287] Rename the get_deps() function to make it clearer



commit 7a95da7cf09144fd0dd2f2cb9b79ff378126c967
Author: Richard Hughes <richard hughsie com>
Date:   Thu Apr 7 17:02:19 2016 +0100

    Rename the get_deps() function to make it clearer

 src/gs-plugin-loader.c                      |    2 +-
 src/gs-plugin.h                             |    2 +-
 src/plugins/gs-plugin-appstream.c           |    4 ++--
 src/plugins/gs-plugin-epiphany.c            |    4 ++--
 src/plugins/gs-plugin-fedora-tagger-usage.c |    4 ++--
 src/plugins/gs-plugin-hardcoded-blacklist.c |    4 ++--
 src/plugins/gs-plugin-icons.c               |    4 ++--
 src/plugins/gs-plugin-menu-spec-refine.c    |    4 ++--
 src/plugins/gs-plugin-moduleset.c           |    4 ++--
 src/plugins/gs-plugin-packagekit-history.c  |    4 ++--
 src/plugins/gs-plugin-packagekit-origin.c   |    4 ++--
 src/plugins/gs-plugin-packagekit-refine.c   |    4 ++--
 src/plugins/gs-plugin-provenance.c          |    4 ++--
 src/plugins/gs-plugin-ubuntu-reviews.c      |    2 +-
 src/plugins/gs-plugin-xdg-app-reviews.c     |    4 ++--
 src/plugins/gs-plugin-xdg-app.c             |    4 ++--
 16 files changed, 29 insertions(+), 29 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index af37aa0..6a99408 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3007,7 +3007,7 @@ gs_plugin_loader_open_plugin (GsPluginLoader *plugin_loader,
 
        /* get plugins this plugin depends on */
        (void) g_module_symbol (module,
-                               "gs_plugin_get_deps",
+                               "gs_plugin_order_after",
                                (gpointer *) &plugin_deps);
        g_module_symbol (module,
                         "gs_plugin_get_conflicts",
diff --git a/src/gs-plugin.h b/src/gs-plugin.h
index 57526b2..74867d9 100644
--- a/src/gs-plugin.h
+++ b/src/gs-plugin.h
@@ -214,7 +214,7 @@ gboolean     gs_plugin_add_search_what_provides     (GsPlugin       *plugin,
                                                         GList          **list,
                                                         GCancellable   *cancellable,
                                                         GError         **error);
-const gchar    **gs_plugin_get_deps                    (GsPlugin       *plugin);
+const gchar    **gs_plugin_order_after                 (GsPlugin       *plugin);
 const gchar    **gs_plugin_get_conflicts               (GsPlugin       *plugin);
 gboolean        gs_plugin_add_installed                (GsPlugin       *plugin,
                                                         GList          **list,
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index f3b94ec..ef23901 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -84,10 +84,10 @@ gs_plugin_initialize (GsPlugin *plugin)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "menu-spec-categories", /* need category list */
diff --git a/src/plugins/gs-plugin-epiphany.c b/src/plugins/gs-plugin-epiphany.c
index 2e7ca6b..9904354 100644
--- a/src/plugins/gs-plugin-epiphany.c
+++ b/src/plugins/gs-plugin-epiphany.c
@@ -47,10 +47,10 @@ gs_plugin_get_name (void)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "appstream",
diff --git a/src/plugins/gs-plugin-fedora-tagger-usage.c b/src/plugins/gs-plugin-fedora-tagger-usage.c
index d962840..a71f8a5 100644
--- a/src/plugins/gs-plugin-fedora-tagger-usage.c
+++ b/src/plugins/gs-plugin-fedora-tagger-usage.c
@@ -72,10 +72,10 @@ gs_plugin_initialize (GsPlugin *plugin)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "packagekit",           /* after the install/remove has succeeded */
diff --git a/src/plugins/gs-plugin-hardcoded-blacklist.c b/src/plugins/gs-plugin-hardcoded-blacklist.c
index 2a27de4..9b6741f 100644
--- a/src/plugins/gs-plugin-hardcoded-blacklist.c
+++ b/src/plugins/gs-plugin-hardcoded-blacklist.c
@@ -38,10 +38,10 @@ gs_plugin_get_name (void)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "appstream",            /* need ID */
diff --git a/src/plugins/gs-plugin-icons.c b/src/plugins/gs-plugin-icons.c
index 40e3563..62ae8de 100644
--- a/src/plugins/gs-plugin-icons.c
+++ b/src/plugins/gs-plugin-icons.c
@@ -47,10 +47,10 @@ gs_plugin_get_name (void)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "appstream",            /* needs remote icons downloaded */
diff --git a/src/plugins/gs-plugin-menu-spec-refine.c b/src/plugins/gs-plugin-menu-spec-refine.c
index 4c0197f..379a5f2 100644
--- a/src/plugins/gs-plugin-menu-spec-refine.c
+++ b/src/plugins/gs-plugin-menu-spec-refine.c
@@ -42,10 +42,10 @@ gs_plugin_get_name (void)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "appstream",            /* need GsApp category data */
diff --git a/src/plugins/gs-plugin-moduleset.c b/src/plugins/gs-plugin-moduleset.c
index 4baf8f5..dfd8ec6 100644
--- a/src/plugins/gs-plugin-moduleset.c
+++ b/src/plugins/gs-plugin-moduleset.c
@@ -51,10 +51,10 @@ gs_plugin_get_name (void)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "menu-spec-categories", /* featured subcat added to existing categories */
diff --git a/src/plugins/gs-plugin-packagekit-history.c b/src/plugins/gs-plugin-packagekit-history.c
index 597eb62..fc545ac 100644
--- a/src/plugins/gs-plugin-packagekit-history.c
+++ b/src/plugins/gs-plugin-packagekit-history.c
@@ -57,10 +57,10 @@ gs_plugin_initialize (GsPlugin *plugin)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "appstream",            /* need pkgname */
diff --git a/src/plugins/gs-plugin-packagekit-origin.c b/src/plugins/gs-plugin-packagekit-origin.c
index 72c73cd..f685083 100644
--- a/src/plugins/gs-plugin-packagekit-origin.c
+++ b/src/plugins/gs-plugin-packagekit-origin.c
@@ -70,10 +70,10 @@ gs_plugin_initialize (GsPlugin *plugin)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "packagekit-refine",    /* need origin */
diff --git a/src/plugins/gs-plugin-packagekit-refine.c b/src/plugins/gs-plugin-packagekit-refine.c
index 61c9b70..1e88f24 100644
--- a/src/plugins/gs-plugin-packagekit-refine.c
+++ b/src/plugins/gs-plugin-packagekit-refine.c
@@ -83,10 +83,10 @@ gs_plugin_initialize (GsPlugin *plugin)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "appstream",            /* need pkgname */
diff --git a/src/plugins/gs-plugin-provenance.c b/src/plugins/gs-plugin-provenance.c
index 666f2ee..5f70a36 100644
--- a/src/plugins/gs-plugin-provenance.c
+++ b/src/plugins/gs-plugin-provenance.c
@@ -73,10 +73,10 @@ gs_plugin_initialize (GsPlugin *plugin)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "packagekit-refine",    /* after the package source is set */
diff --git a/src/plugins/gs-plugin-ubuntu-reviews.c b/src/plugins/gs-plugin-ubuntu-reviews.c
index 477b2af..92ea114 100644
--- a/src/plugins/gs-plugin-ubuntu-reviews.c
+++ b/src/plugins/gs-plugin-ubuntu-reviews.c
@@ -84,7 +84,7 @@ gs_plugin_initialize (GsPlugin *plugin)
 }
 
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "appstream",
diff --git a/src/plugins/gs-plugin-xdg-app-reviews.c b/src/plugins/gs-plugin-xdg-app-reviews.c
index 395b110..f63bfe9 100644
--- a/src/plugins/gs-plugin-xdg-app-reviews.c
+++ b/src/plugins/gs-plugin-xdg-app-reviews.c
@@ -84,10 +84,10 @@ gs_plugin_initialize (GsPlugin *plugin)
 
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "appstream",    /* need application IDs */
diff --git a/src/plugins/gs-plugin-xdg-app.c b/src/plugins/gs-plugin-xdg-app.c
index 613060b..18528aa 100644
--- a/src/plugins/gs-plugin-xdg-app.c
+++ b/src/plugins/gs-plugin-xdg-app.c
@@ -59,10 +59,10 @@ gs_plugin_get_name (void)
 }
 
 /**
- * gs_plugin_get_deps:
+ * gs_plugin_order_after:
  */
 const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
 {
        static const gchar *deps[] = {
                "appstream",


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