diff options
author | Jan-Michael Brummer <jan.brummer@tabos.org> | 2023-03-30 07:39:53 +0200 |
---|---|---|
committer | Jan-Michael Brummer <jan.brummer@tabos.org> | 2023-03-30 11:44:46 +0200 |
commit | d1107667da6da04395ff72a78839cf07a2fe1aa9 (patch) | |
tree | 50f2b0718c47f87133b33d3e13a49c5c08c9631b /src/backend/plugins/config-sysconfig/config-sysconfig.c | |
parent | 3604dc5aa5d623740263dd077f5b7d209cf1d486 (diff) | |
download | libproxy-git-d1107667da6da04395ff72a78839cf07a2fe1aa9.tar.gz |
Remove libpeas support
As we no longer have further dependencies like glib for accessing the
standard linux configurations and the other are platform specific. Let's
remove peas all together. Plugins are now built-in.
Diffstat (limited to 'src/backend/plugins/config-sysconfig/config-sysconfig.c')
-rw-r--r-- | src/backend/plugins/config-sysconfig/config-sysconfig.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/backend/plugins/config-sysconfig/config-sysconfig.c b/src/backend/plugins/config-sysconfig/config-sysconfig.c index 1adc1e8..c640f1c 100644 --- a/src/backend/plugins/config-sysconfig/config-sysconfig.c +++ b/src/backend/plugins/config-sysconfig/config-sysconfig.c @@ -19,7 +19,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#include <libpeas/peas.h> +#include <gio/gio.h> #include "config-sysconfig.h" @@ -41,7 +41,6 @@ struct _PxConfigSysConfig { }; static void px_config_iface_init (PxConfigInterface *iface); -G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module); G_DEFINE_FINAL_TYPE_WITH_CODE (PxConfigSysConfig, px_config_sysconfig, @@ -246,14 +245,8 @@ px_config_sysconfig_get_config (PxConfig *config, static void px_config_iface_init (PxConfigInterface *iface) { + iface->name = "config-sysconfig"; + iface->priority = PX_CONFIG_PRIORITY_LAST; iface->is_available = px_config_sysconfig_is_available; iface->get_config = px_config_sysconfig_get_config; } - -G_MODULE_EXPORT void -peas_register_types (PeasObjectModule *module) -{ - peas_object_module_register_extension_type (module, - PX_TYPE_CONFIG, - PX_CONFIG_TYPE_SYSCONFIG); -} |