diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-09-21 10:32:33 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-09-21 10:33:19 +0800 |
commit | 28de5cf05a31122a72c4c4fe49d958f8ba952c1f (patch) | |
tree | 4b1ddeebeae34a02d36488a51c5eb5e16240773a /modules | |
parent | 5606859f3adc9c8b5b3180cd2711948ef413033a (diff) | |
download | gsoc2013-evolution-28de5cf05a31122a72c4c4fe49d958f8ba952c1f.tar gsoc2013-evolution-28de5cf05a31122a72c4c4fe49d958f8ba952c1f.tar.gz gsoc2013-evolution-28de5cf05a31122a72c4c4fe49d958f8ba952c1f.tar.bz2 gsoc2013-evolution-28de5cf05a31122a72c4c4fe49d958f8ba952c1f.tar.lz gsoc2013-evolution-28de5cf05a31122a72c4c4fe49d958f8ba952c1f.tar.xz 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')
-rw-r--r-- | modules/addressbook/e-book-shell-view-private.c | 4 | ||||
-rw-r--r-- | modules/addressbook/e-book-shell-view-private.h | 1 | ||||
-rw-r--r-- | modules/calendar/e-cal-shell-view-private.c | 4 | ||||
-rw-r--r-- | modules/calendar/e-memo-shell-view-private.c | 4 | ||||
-rw-r--r-- | modules/calendar/e-task-shell-view-private.c | 4 |
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); |