diff options
author | LemonBoy <thatlemon@gmail.com> | 2015-12-09 15:43:31 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2015-12-09 15:43:31 +0100 |
commit | 60c501625bbc450b8bd443a7cbccf897810634fc (patch) | |
tree | 2532fcc0d9b92136f870ffa2a74162914a308119 | |
parent | 750df38e8ccd59d7cb3a11e09a682755060f7283 (diff) | |
download | irssi-60c501625bbc450b8bd443a7cbccf897810634fc.zip |
Better function naming
-rw-r--r-- | src/core/channels-setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/channels-setup.c b/src/core/channels-setup.c index 33f58022..b3039fb2 100644 --- a/src/core/channels-setup.c +++ b/src/core/channels-setup.c @@ -30,7 +30,7 @@ GSList *setupchannels; -static int compare_channel_name (CONFIG_NODE *node, CHANNEL_SETUP_REC *channel) +static int compare_channel_setup (CONFIG_NODE *node, CHANNEL_SETUP_REC *channel) { char *name, *chatnet; @@ -52,7 +52,7 @@ static void channel_setup_save(CHANNEL_SETUP_REC *channel) /* Try to find this channel in the configuration */ config_node = g_slist_find_custom(parentnode->value, channel, - (GCompareFunc)compare_channel_name); + (GCompareFunc)compare_channel_setup); if (config_node != NULL) /* Let's update this channel record */ node = config_node->data; @@ -93,7 +93,7 @@ static void channel_config_remove(CHANNEL_SETUP_REC *channel) /* Try to find this channel in the configuration */ config_node = g_slist_find_custom(parentnode->value, channel, - (GCompareFunc)compare_channel_name); + (GCompareFunc)compare_channel_setup); if (config_node != NULL) /* Delete the channel from the configuration */ |