aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar')
-rw-r--r--modules/calendar/e-cal-shell-view-private.c4
-rw-r--r--modules/calendar/e-memo-shell-view-private.c4
-rw-r--r--modules/calendar/e-task-shell-view-private.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c
index d88c148bca..98aacb9db7 100644
--- a/modules/calendar/e-cal-shell-view-private.c
+++ b/modules/calendar/e-cal-shell-view-private.c
@@ -528,8 +528,8 @@ e_cal_shell_view_private_constructed (ECalShellView *cal_shell_view)
G_CALLBACK (e_cal_shell_view_taskpad_actions_update),
cal_shell_view);
- e_categories_register_change_listener (
- G_CALLBACK (e_cal_shell_view_update_search_filter),
+ e_categories_add_change_hook (
+ (GHookFunc) e_cal_shell_view_update_search_filter,
cal_shell_view);
e_cal_shell_view_actions_init (cal_shell_view);
diff --git a/modules/calendar/e-memo-shell-view-private.c b/modules/calendar/e-memo-shell-view-private.c
index f1d331fab3..b0a6ee6be1 100644
--- a/modules/calendar/e-memo-shell-view-private.c
+++ b/modules/calendar/e-memo-shell-view-private.c
@@ -268,8 +268,8 @@ e_memo_shell_view_private_constructed (EMemoShellView *memo_shell_view)
G_CALLBACK (e_shell_view_update_actions),
memo_shell_view);
- e_categories_register_change_listener (
- G_CALLBACK (e_memo_shell_view_update_search_filter),
+ e_categories_add_change_hook (
+ (GHookFunc) e_memo_shell_view_update_search_filter,
memo_shell_view);
e_memo_shell_view_actions_init (memo_shell_view);
diff --git a/modules/calendar/e-task-shell-view-private.c b/modules/calendar/e-task-shell-view-private.c
index 581ad88b47..74dd295bcb 100644
--- a/modules/calendar/e-task-shell-view-private.c
+++ b/modules/calendar/e-task-shell-view-private.c
@@ -322,8 +322,8 @@ e_task_shell_view_private_constructed (ETaskShellView *task_shell_view)
G_CALLBACK (e_shell_view_update_actions),
task_shell_view);
- e_categories_register_change_listener (
- G_CALLBACK (e_task_shell_view_update_search_filter),
+ e_categories_add_change_hook (
+ (GHookFunc) e_task_shell_view_update_search_filter,
task_shell_view);
task_shell_view_update_timeout_cb (task_shell_view);