From 74457fdc2455856d9f4888439fc9fb3b4c3a5b52 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 2 Sep 2009 22:19:07 -0400 Subject: Bug 593940 - No options for google address book available --- modules/addressbook/e-book-config-hook.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modules/addressbook') 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 ( -- cgit