aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-03 10:19:07 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-03 10:19:07 +0800
commit74457fdc2455856d9f4888439fc9fb3b4c3a5b52 (patch)
tree2f6e2a59143a80d6ba38e931e3e302034c28bfcf /modules/addressbook
parent40a6ccc269eada569e43db419473b56a5f38ad14 (diff)
downloadgsoc2013-evolution-74457fdc2455856d9f4888439fc9fb3b4c3a5b52.tar
gsoc2013-evolution-74457fdc2455856d9f4888439fc9fb3b4c3a5b52.tar.gz
gsoc2013-evolution-74457fdc2455856d9f4888439fc9fb3b4c3a5b52.tar.bz2
gsoc2013-evolution-74457fdc2455856d9f4888439fc9fb3b4c3a5b52.tar.lz
gsoc2013-evolution-74457fdc2455856d9f4888439fc9fb3b4c3a5b52.tar.xz
gsoc2013-evolution-74457fdc2455856d9f4888439fc9fb3b4c3a5b52.tar.zst
gsoc2013-evolution-74457fdc2455856d9f4888439fc9fb3b4c3a5b52.zip
Bug 593940 - No options for google address book available
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/e-book-config-hook.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/addressbook/e-book-config-hook.c b/modules/addressbook/e-book-config-hook.c
index d8c03a5329..3f9e729aea 100644
--- a/modules/addressbook/e-book-config-hook.c
+++ b/modules/addressbook/e-book-config-hook.c
@@ -34,11 +34,15 @@ static const EConfigHookTargetMap targets[] = {
};
static void
-book_config_hook_class_init (EPluginHookClass *class)
+book_config_hook_class_init (EConfigHookClass *class)
{
+ EPluginHookClass *plugin_hook_class;
gint ii;
- class->id = "org.gnome.evolution.addressbook.config:1.0";
+ plugin_hook_class = E_PLUGIN_HOOK_CLASS (class);
+ plugin_hook_class->id = "org.gnome.evolution.addressbook.config:1.0";
+
+ class->config_class = g_type_class_ref (eab_config_get_type ());
for (ii = 0; targets[ii].type != NULL; ii++)
e_config_hook_class_add_target_map (