gplugin/gplugin

07b8bbe1258e
Parents 2ec14d3d2b99
Children 85f1c51427fe
Clean up a few warnings due to a vfunc signature change
--- a/gplugin/gplugin-native-loader.c Mon Sep 30 00:34:43 2019 -0500
+++ b/gplugin/gplugin-native-loader.c Mon Sep 30 01:20:59 2019 -0500
@@ -109,7 +109,7 @@
* GPluginLoaderInterface API
*****************************************************************************/
static GSList *
-gplugin_native_loader_class_supported_extensions(G_GNUC_UNUSED const GPluginLoaderClass *klass) {
+gplugin_native_loader_class_supported_extensions(G_GNUC_UNUSED GPluginLoaderClass *klass) {
GSList *exts = g_slist_append(NULL, G_MODULE_SUFFIX);
#if defined(__APPLE__) || defined(__MACH__)
--- a/lua/gplugin-lua-loader.c Mon Sep 30 00:34:43 2019 -0500
+++ b/lua/gplugin-lua-loader.c Mon Sep 30 01:20:59 2019 -0500
@@ -81,7 +81,7 @@
* GPluginLoaderInterface API
*****************************************************************************/
static GSList *
-gplugin_lua_loader_class_supported_extensions(G_GNUC_UNUSED const GPluginLoaderClass *klass) {
+gplugin_lua_loader_class_supported_extensions(G_GNUC_UNUSED GPluginLoaderClass *klass) {
GSList *exts = NULL;
exts = g_slist_append(exts, "lua");
--- a/python/gplugin-python-loader.c Mon Sep 30 00:34:43 2019 -0500
+++ b/python/gplugin-python-loader.c Mon Sep 30 01:20:59 2019 -0500
@@ -41,7 +41,7 @@
* GPluginLoader Implementation
*****************************************************************************/
static GSList *
-gplugin_python_loader_class_supported_extensions(G_GNUC_UNUSED const GPluginLoaderClass *klass) {
+gplugin_python_loader_class_supported_extensions(G_GNUC_UNUSED GPluginLoaderClass *klass) {
return g_slist_append(NULL, "py");
}