aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-21 10:32:33 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-21 10:33:19 +0800
commit28de5cf05a31122a72c4c4fe49d958f8ba952c1f (patch)
tree4b1ddeebeae34a02d36488a51c5eb5e16240773a /modules/calendar
parent5606859f3adc9c8b5b3180cd2711948ef413033a (diff)
downloadgsoc2013-evolution-28de5cf05a31122a72c4c4fe49d958f8ba952c1f.tar.gz
gsoc2013-evolution-28de5cf05a31122a72c4c4fe49d958f8ba952c1f.tar.zst
gsoc2013-evolution-28de5cf05a31122a72c4c4fe49d958f8ba952c1f.zip
Bug 595119 - Crash while trying to add a new category in contact
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);