summaryrefslogtreecommitdiff
path: root/src/gui/gui-filter.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-11-17 22:11:39 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-11-17 22:11:39 +0100
commit61e5a4bcdb5c599b10ca99b906fb7ba3690ab4cb (patch)
treecc08f023be694c2ce9fae3084071483cac973de0 /src/gui/gui-filter.c
parent07727a97c97100b46e895ce079d49a8d6db0d0ee (diff)
downloadweechat-61e5a4bcdb5c599b10ca99b906fb7ba3690ab4cb.zip
core: apply filters after full reload of configuration files (with /reload) (bug #31182)
Diffstat (limited to 'src/gui/gui-filter.c')
-rw-r--r--src/gui/gui-filter.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/gui/gui-filter.c b/src/gui/gui-filter.c
index 608dcc347..c1da95e1d 100644
--- a/src/gui/gui-filter.c
+++ b/src/gui/gui-filter.c
@@ -222,34 +222,6 @@ gui_filter_global_disable ()
}
/*
- * gui_filter_enable: enable a filter
- */
-
-void
-gui_filter_enable (struct t_gui_filter *filter)
-{
- if (filter && !filter->enabled)
- {
- filter->enabled = 1;
- gui_filter_all_buffers ();
- }
-}
-
-/*
- * gui_filter_disable: disable a filter
- */
-
-void
-gui_filter_disable (struct t_gui_filter *filter)
-{
- if (filter && filter->enabled)
- {
- filter->enabled = 0;
- gui_filter_all_buffers ();
- }
-}
-
-/*
* gui_filter_search_by_name: search a filter by name
*/
@@ -382,8 +354,6 @@ gui_filter_new (int enabled, const char *name, const char *buffer_name,
last_gui_filter = new_filter;
new_filter->next_filter = NULL;
- gui_filter_all_buffers ();
-
hook_signal_send ("filter_added",
WEECHAT_HOOK_SIGNAL_POINTER, new_filter);
}
@@ -456,8 +426,6 @@ gui_filter_free (struct t_gui_filter *filter)
free (filter);
- gui_filter_all_buffers ();
-
hook_signal_send ("filter_removed", WEECHAT_HOOK_SIGNAL_STRING, NULL);
}