[gnome-software/gnome-3-20] trivial: Rename the gs_plugin_get_deps() vfunc
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-20] trivial: Rename the gs_plugin_get_deps() vfunc
- Date: Thu, 14 Apr 2016 17:28:34 +0000 (UTC)
commit 458c6628414ccee61add5b80862581ac70c259be
Author: Richard Hughes <richard hughsie com>
Date: Thu Apr 14 11:58:36 2016 +0100
trivial: Rename the gs_plugin_get_deps() vfunc
This reduces the delta with master.
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 676767c..f07d60d 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3006,7 +3006,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);
/* print what we know */
diff --git a/src/gs-plugin.h b/src/gs-plugin.h
index 3ed167d..4c40680 100644
--- a/src/gs-plugin.h
+++ b/src/gs-plugin.h
@@ -213,7 +213,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);
gboolean gs_plugin_add_installed (GsPlugin *plugin,
GList **list,
GCancellable *cancellable,
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index ded0a9b..14f7db2 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.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[] = {
"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 b5c98ff..de1e305 100644
--- a/src/plugins/gs-plugin-ubuntu-reviews.c
+++ b/src/plugins/gs-plugin-ubuntu-reviews.c
@@ -78,7 +78,7 @@ gs_plugin_initialize (GsPlugin *plugin)
}
const gchar **
-gs_plugin_get_deps (GsPlugin *plugin)
+gs_plugin_order_after (GsPlugin *plugin)
{
static const gchar *deps[] = { NULL };
return deps;
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]