diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-09-24 01:08:54 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-09-24 01:08:54 +0800 |
commit | 30930917e8ce020776e0096928aedfebe779bfd5 (patch) | |
tree | c888c0b43e0249264f098b3be4cbfbc876cceb25 /src/ephy-automation.h | |
parent | 2e1474156400d308faf8836801ee87607d9632d7 (diff) | |
download | gsoc2013-epiphany-30930917e8ce020776e0096928aedfebe779bfd5.tar.gz gsoc2013-epiphany-30930917e8ce020776e0096928aedfebe779bfd5.tar.zst gsoc2013-epiphany-30930917e8ce020776e0096928aedfebe779bfd5.zip |
Refactor initialization/automation code. Now all the code used by the
2003-09-23 Marco Pesenti Gritti <marco@gnome.org>
* src/ephy-automation.c: (ephy_automation_factory_new):
* src/ephy-automation.h:
* src/ephy-main.c: (main), (ephy_main_start):
* src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize):
Refactor initialization/automation code. Now all the code
used by the first instance is in ephy_shell, all the code
used by other instances is in ephy_main.
Unref the factory before quitting so we dont risk new
automation object are created and used with a dead shell.
Diffstat (limited to 'src/ephy-automation.h')
-rw-r--r-- | src/ephy-automation.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ephy-automation.h b/src/ephy-automation.h index 3474b9705..5a730290e 100644 --- a/src/ephy-automation.h +++ b/src/ephy-automation.h @@ -21,8 +21,7 @@ #include "EphyAutomation.h" -#include <bonobo/bonobo-control.h> -#include <bonobo/bonobo-object.h> +#include <bonobo/bonobo-generic-factory.h> G_BEGIN_DECLS @@ -43,9 +42,9 @@ typedef struct { POA_GNOME_EphyAutomation__epv epv; } EphyAutomationClass; -GType ephy_automation_get_type (void); +GType ephy_automation_get_type (void); -BonoboObject *ephy_automation_new (void); +BonoboGenericFactory *ephy_automation_factory_new (void); G_END_DECLS |