[gnome-software: 2/29] gs-plugin: Make GsPlugin an abstract type
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 2/29] gs-plugin: Make GsPlugin an abstract type
- Date: Mon, 6 Dec 2021 10:24:17 +0000 (UTC)
commit a841214ea25fc0934e52bdb39b5576a8708e6d6d
Author: Philip Withnall <pwithnall endlessos org>
Date: Mon May 24 13:08:11 2021 +0100
gs-plugin: Make GsPlugin an abstract type
Now that all other plugins derive from it, there’s no need for it to be
instantiable itself.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
Helps: #1472
lib/gs-plugin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/gs-plugin.c b/lib/gs-plugin.c
index 78abad9c1..990aa0044 100644
--- a/lib/gs-plugin.c
+++ b/lib/gs-plugin.c
@@ -71,7 +71,7 @@ typedef struct
GNetworkMonitor *network_monitor;
} GsPluginPrivate;
-G_DEFINE_TYPE_WITH_PRIVATE (GsPlugin, gs_plugin, G_TYPE_OBJECT)
+G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE (GsPlugin, gs_plugin, G_TYPE_OBJECT)
G_DEFINE_QUARK (gs-plugin-error-quark, gs_plugin_error)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]