From 799930bdcc4bc2678d811ea076bda8901ec66295 Mon Sep 17 00:00:00 2001 From: Alfons Hoogervorst Date: Fri, 18 Jul 2003 18:44:54 +0000 Subject: [PATCH] * src/common/plugin.[ch] const correctness --- ChangeLog.claws | 5 +++++ configure.ac | 2 +- src/common/plugin.c | 4 ++-- src/common/plugin.h | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog.claws b/ChangeLog.claws index 589067e2f..9e93a9b1f 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,8 @@ +2003-07-18 [alfons] 0.9.3claws24 + + * src/common/plugin.[ch] + const correctness + 2003-07-18 [christoph] 0.9.3claws23 * src/common/hooks.c diff --git a/configure.ac b/configure.ac index 68ace3964..4b3b15168 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=9 MICRO_VERSION=3 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws23 +EXTRA_VERSION=claws24 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/common/plugin.c b/src/common/plugin.c index 77ec9a31a..887726cb1 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -153,7 +153,7 @@ void plugin_unload(Plugin *plugin) g_free(plugin); } -void plugin_load_all(gchar *type) +void plugin_load_all(const gchar *type) { gchar *rcpath; gchar buf[BUFFSIZE]; @@ -186,7 +186,7 @@ void plugin_load_all(gchar *type) g_free(rcpath); } -void plugin_unload_all(gchar *type) +void plugin_unload_all(const gchar *type) { GSList *list, *cur; diff --git a/src/common/plugin.h b/src/common/plugin.h index 0b1d63669..eb3606dd9 100644 --- a/src/common/plugin.h +++ b/src/common/plugin.h @@ -34,8 +34,8 @@ const gchar *plugin_desc (void); gint plugin_load (const gchar *filename, gchar **error); void plugin_unload (Plugin *plugin); -void plugin_load_all (gchar *type); -void plugin_unload_all (gchar *type); +void plugin_load_all (const gchar *type); +void plugin_unload_all (const gchar *type); void plugin_save_list (void); GSList *plugin_get_list (void); -- 2.25.1