diff options
author | Michael Meeks <michael@helixcode.com> | 2000-12-05 01:56:54 +0800 |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 2000-12-05 01:56:54 +0800 |
commit | 042e514a262c922d258ca8f0557500199f7088d9 (patch) | |
tree | f985a0aee46d4c6ff8bc42c2ef3958eba4024c6b /addressbook/gui/component/addressbook.c | |
parent | 0d0f668cecd72010ef87c08829b26abd83e3a252 (diff) | |
download | gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar.gz gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar.bz2 gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar.lz gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar.xz gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.tar.zst gsoc2013-evolution-042e514a262c922d258ca8f0557500199f7088d9.zip |
return NULL if we can't create a view.
2000-12-04 Michael Meeks <michael@helixcode.com>
* e-shell-view.c (get_control_for_uri): return NULL if we can't
create a view.
(setup_evolution_shell_view_interface): add precondition.
+
lots of cleans.
svn path=/trunk/; revision=6778
Diffstat (limited to 'addressbook/gui/component/addressbook.c')
-rw-r--r-- | addressbook/gui/component/addressbook.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index d1ece01596..c57a721249 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -34,8 +34,6 @@ #include <addressbook/printing/e-contact-print.h> -#define CONTROL_FACTORY_ID "OAFIID:control-factory:addressbook:3e10597b-0591-4d45-b082-d781b7aa6e17" - #define PROPERTY_FOLDER_URI "folder_uri" #define PROPERTY_FOLDER_URI_IDX 1 @@ -651,9 +649,9 @@ addressbook_factory_init (void) if (addressbook_control_factory != NULL) return; - addressbook_control_factory = bonobo_generic_factory_new (CONTROL_FACTORY_ID, - addressbook_factory, - NULL); + addressbook_control_factory = bonobo_generic_factory_new ( + "OAFIID:GNOME_Evolution_Addressbook_ControlFactory", + addressbook_factory, NULL); if (addressbook_control_factory == NULL) { g_error ("I could not register a Addressbook factory."); |