diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-06 06:58:45 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-06 06:58:45 +0800 |
commit | 56ed3ed3b9fd94ed34c92aa6bbcd26bb56208595 (patch) | |
tree | bebb5bf67602cbdb41cab62e0f95c684302e5334 /shell/GNOME_Evolution_TestComponent.oaf | |
parent | cf8a393a648e0e9cb7c44dac2b9bb7668cedbdb2 (diff) | |
download | gsoc2013-evolution-56ed3ed3b9fd94ed34c92aa6bbcd26bb56208595.tar.gz gsoc2013-evolution-56ed3ed3b9fd94ed34c92aa6bbcd26bb56208595.tar.zst gsoc2013-evolution-56ed3ed3b9fd94ed34c92aa6bbcd26bb56208595.zip |
[Fix #958, ShellComponents should not be created by factories, for
the test component.]
* GNOME_Evolution_TestComponent.oaf: Remove the factory.
* evolution-test-component.c (COMPONENT_FACTORY_ID): Removed.
(component_factory_init): Removed.
(register_component): Rename from `component_fn'. No args, no
return value. Register the thing on OAF by yourself instead of
using a factory.
svn path=/trunk/; revision=12639
Diffstat (limited to 'shell/GNOME_Evolution_TestComponent.oaf')
-rw-r--r-- | shell/GNOME_Evolution_TestComponent.oaf | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/shell/GNOME_Evolution_TestComponent.oaf b/shell/GNOME_Evolution_TestComponent.oaf index 5a203b51b4..d5ef5333be 100644 --- a/shell/GNOME_Evolution_TestComponent.oaf +++ b/shell/GNOME_Evolution_TestComponent.oaf @@ -1,22 +1,10 @@ <oaf_info> -<oaf_server iid="OAFIID:GNOME_Evolution_TestComponent_ShellComponentFactory" +<oaf_server iid="OAFIID:GNOME_Evolution_TestComponent_ShellComponent" type="exe" location="evolution-test-component"> <oaf_attribute name="repo_ids" type="stringv"> - <item value="IDL:GNOME/ObjectFactory:1.0"/> - </oaf_attribute> - - <oaf_attribute name="description" type="string" - value="Factory for the Evolution test component."/> -</oaf_server> - -<oaf_server iid="OAFIID:GNOME_Evolution_TestComponent_ShellComponent" - type="factory" - location="OAFIID:GNOME_Evolution_TestComponent_ShellComponentFactory"> - - <oaf_attribute name="repo_ids" type="stringv"> <item value="IDL:GNOME/Evolution/ShellComponent:1.0"/> </oaf_attribute> |