diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-09-01 00:53:52 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-09-01 00:53:52 +0800 |
commit | f5991437c3e620708f1701310bd1e67b40ca3b42 (patch) | |
tree | b8fbe876e5c5eb0dd0e96d6505aabe898b09c6fb /e-util/e-config.c | |
parent | cd0112576878cb5de3930835ff09f1562e9f5c10 (diff) | |
download | gsoc2013-evolution-f5991437c3e620708f1701310bd1e67b40ca3b42.tar.gz gsoc2013-evolution-f5991437c3e620708f1701310bd1e67b40ca3b42.tar.zst gsoc2013-evolution-f5991437c3e620708f1701310bd1e67b40ca3b42.zip |
Get EConfig and EEvent hooks working again.
There were a number of problems:
- Walk the GType tree to find EPluginHook subclasses, instead of
just registering the immediate children.
- Some EConfig and EEvent subclasses were not being configured
properly (particularly the mail and calendar subclasses).
- Add preference window pages after the main loop starts to make
sure all plugins and plugin hooks are installed first.
Diffstat (limited to 'e-util/e-config.c')
-rw-r--r-- | e-util/e-config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/e-util/e-config.c b/e-util/e-config.c index 9974da72cb..3695069eea 100644 --- a/e-util/e-config.c +++ b/e-util/e-config.c @@ -1654,7 +1654,9 @@ e_config_hook_get_type(void) * target map enumates the target types available for the implenting * class. **/ -void e_config_hook_class_add_target_map(EConfigHookClass *klass, const EConfigHookTargetMap *map) +void +e_config_hook_class_add_target_map (EConfigHookClass *klass, + const EConfigHookTargetMap *map) { g_hash_table_insert(klass->target_map, (gpointer)map->type, (gpointer)map); } |