[gnome-software] Rename the get_deps() function to make it clearer
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Rename the get_deps() function to make it clearer
- Date: Thu, 7 Apr 2016 17:40:35 +0000 (UTC)
commit 296c4b30c37640f53eda556977855cc7d3b2fb78
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-odrs.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-rpm.c | 4 ++--
src/plugins/gs-plugin-steam.c | 4 ++--
src/plugins/gs-plugin-ubuntu-reviews.c | 2 +-
src/plugins/gs-plugin-xdg-app.c | 4 ++--
17 files changed, 31 insertions(+), 31 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index ac71140..efa33c8 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -2982,7 +2982,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 6242375..313a12a 100644
--- a/src/gs-plugin.h
+++ b/src/gs-plugin.h
@@ -220,7 +220,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 ea90dd0..6cacb65 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 d3ad55c..90f92b1 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 2eb79a3..a2149d4 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 218f24b..16fd3b6 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 7ddaa96..c6fb49c 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-odrs.c b/src/plugins/gs-plugin-odrs.c
index a431a0b..f58bb96 100644
--- a/src/plugins/gs-plugin-odrs.c
+++ b/src/plugins/gs-plugin-odrs.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-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 ea9abd3..df86d49 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 ceb92e9..7057dfb 100644
--- a/src/plugins/gs-plugin-packagekit-refine.c
+++ b/src/plugins/gs-plugin-packagekit-refine.c
@@ -95,10 +95,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 0fee230..2bdc358 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-rpm.c b/src/plugins/gs-plugin-rpm.c
index 037f23a..f5cfe6b 100644
--- a/src/plugins/gs-plugin-rpm.c
+++ b/src/plugins/gs-plugin-rpm.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 application IDs */
diff --git a/src/plugins/gs-plugin-steam.c b/src/plugins/gs-plugin-steam.c
index e3c6f06..a63eb55 100644
--- a/src/plugins/gs-plugin-steam.c
+++ b/src/plugins/gs-plugin-steam.c
@@ -82,10 +82,10 @@ gs_plugin_steam_html_download (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 metadata */
diff --git a/src/plugins/gs-plugin-ubuntu-reviews.c b/src/plugins/gs-plugin-ubuntu-reviews.c
index 02d783a..c5355ae 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.c b/src/plugins/gs-plugin-xdg-app.c
index 898785e..bf25be4 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]