aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
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/addressbook
parent5606859f3adc9c8b5b3180cd2711948ef413033a (diff)
downloadgsoc2013-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/addressbook')
-rw-r--r--modules/addressbook/e-book-shell-view-private.c4
-rw-r--r--modules/addressbook/e-book-shell-view-private.h1
2 files changed, 3 insertions, 2 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"