(mc_config_del_param): renamed to mc_config_del_key.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2011-01-26 13:42:42 +03:00 committed by Slava Zanko
parent ac8e519854
commit 5b9a7dd43f
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ extern mc_config_t *mc_panels_config;
mc_config_t *mc_config_init (const gchar *);
void mc_config_deinit (mc_config_t *);
gboolean mc_config_del_param (mc_config_t *, const char *, const gchar *);
gboolean mc_config_del_key (mc_config_t *, const char *, const gchar *);
gboolean mc_config_del_group (mc_config_t *, const char *);
gboolean mc_config_has_param (mc_config_t *, const char *, const gchar *);

View File

@ -165,7 +165,7 @@ mc_config_has_group (mc_config_t * mc_config, const char *group)
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
gboolean
mc_config_del_param (mc_config_t * mc_config, const char *group, const gchar * param)
mc_config_del_key (mc_config_t * mc_config, const char *group, const gchar * param)
{
if (!mc_config || !group || !param)
return FALSE;

View File

@ -229,7 +229,7 @@ find_load_options (void)
mc_config_set_string (mc_main_config, "FindFile", "ignore_dirs", ignore_dirs);
}
g_free (ignore_dirs);
mc_config_del_param (mc_main_config, "Misc", "find_ignore_dirs");
mc_config_del_key (mc_main_config, "Misc", "find_ignore_dirs");
/* Then load new parameters */
ignore_dirs = mc_config_get_string (mc_main_config, "FindFile", "ignore_dirs", "");