aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/addressbook/e-book-shell-view-private.c4
-rw-r--r--modules/addressbook/e-book-shell-view-private.h1
-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
5 files changed, 9 insertions, 8 deletions
diff --git a/modules/addressbook/e-book-shell-view-private.c b/modules/addressbook/e-book-shell-view-private.c
index 55a2e8c433..279cf87cf6 100644
--- a/modules/addressbook/e-book-shell-view-private.c
+++ b/modules/addressbook/e-book-shell-view-private.c
@@ -484,8 +484,8 @@ e_book_shell_view_private_constructed (EBookShellView *book_shell_view)
G_CALLBACK (book_shell_view_activate_selected_source),
book_shell_view);
- e_categories_register_change_listener (
- G_CALLBACK (e_book_shell_view_update_search_filter),
+ e_categories_add_change_hook (
+ (GHookFunc) e_book_shell_view_update_search_filter,
book_shell_view);
e_book_shell_view_actions_init (book_shell_view);
diff --git a/modules/addressbook/e-book-shell-view-private.h b/modules/addressbook/e-book-shell-view-private.h
index 8b8da3f4c6..fa8624692a 100644
--- a/modules/addressbook/e-book-shell-view-private.h
+++ b/modules/addressbook/e-book-shell-view-private.h
@@ -32,6 +32,7 @@
#include <libedataserver/e-sexp.h>
#include <libedataserverui/e-source-selector.h>
+#include "e-util/e-util.h"
#include "e-util/e-binding.h"
#include "e-util/gconf-bridge.h"
#include "shell/e-shell-content.h"
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);