[gnome-software: 2/5] gs-plugin-loader: Import public instead of private gs-plugin
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 2/5] gs-plugin-loader: Import public instead of private gs-plugin
- Date: Wed, 9 Feb 2022 09:54:59 +0000 (UTC)
commit c81879a02dbb318a93b1f18b21c2fde3c2e60d5d
Author: Pablo Correa Gómez <ablocorrea hotmail com>
Date: Mon Feb 7 22:32:27 2022 +0100
gs-plugin-loader: Import public instead of private gs-plugin
All necessary definitions exist in the public gs-plugin header and
the gs-plugin-loader header is a public header and should not reference
private headers.
lib/gs-plugin-job-list-installed-apps.c | 1 +
lib/gs-plugin-loader.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/lib/gs-plugin-job-list-installed-apps.c b/lib/gs-plugin-job-list-installed-apps.c
index 68bac7e7d..f39bf287b 100644
--- a/lib/gs-plugin-job-list-installed-apps.c
+++ b/lib/gs-plugin-job-list-installed-apps.c
@@ -46,6 +46,7 @@
#include "gs-plugin-job-private.h"
#include "gs-plugin-job-list-installed-apps.h"
#include "gs-plugin-job-refine.h"
+#include "gs-plugin-private.h"
#include "gs-utils.h"
struct _GsPluginJobListInstalledApps
diff --git a/lib/gs-plugin-loader.h b/lib/gs-plugin-loader.h
index e1fc437f1..a7dd40104 100644
--- a/lib/gs-plugin-loader.h
+++ b/lib/gs-plugin-loader.h
@@ -16,7 +16,7 @@
#include "gs-category-manager.h"
#include "gs-odrs-provider.h"
#include "gs-plugin-event.h"
-#include "gs-plugin-private.h"
+#include "gs-plugin.h"
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]