diff options
author | Elliot Lee <sopwith@src.gnome.org> | 1999-12-08 22:44:11 +0000 |
---|---|---|
committer | Elliot Lee <sopwith@src.gnome.org> | 1999-12-08 22:44:11 +0000 |
commit | bac6352078a38dd7ea59126ddbf7a453fa19f550 (patch) | |
tree | 4fe8c53b5b5f39258735b8c12002534286577463 /libnautilus/ntl-view-frame.c | |
parent | a2bc2c7596dd906c10e22357bfc7f0c9fe024873 (diff) | |
download | nautilus-bac6352078a38dd7ea59126ddbf7a453fa19f550.tar.gz |
Use the "recommended" way of getting the base epv.
Use the "recommended" way of getting the base epv.
Diffstat (limited to 'libnautilus/ntl-view-frame.c')
-rw-r--r-- | libnautilus/ntl-view-frame.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libnautilus/ntl-view-frame.c b/libnautilus/ntl-view-frame.c index 49b6f92de..4babe5b72 100644 --- a/libnautilus/ntl-view-frame.c +++ b/libnautilus/ntl-view-frame.c @@ -68,10 +68,12 @@ POA_Nautilus_View__epv libnautilus_Nautilus_View_epv = (gpointer) & impl_Nautilus_View_notify_selection_change }; +static PortableServer_ServantBase__epv base_epv = { NULL}; + static POA_Nautilus_View__vepv impl_Nautilus_View_vepv = { - &gnome_object_base_epv, - &gnome_object_epv, + &base_epv, + NULL, &libnautilus_Nautilus_View_epv }; @@ -146,6 +148,8 @@ impl_Nautilus_View__create(NautilusViewClient *view, CORBA_Environment * ev) servant_init_func = view_class->servant_init_func; newservant = g_new0(impl_POA_Nautilus_View, 1); newservant->servant.vepv = view_class->vepv; + if(!newservant->servant.vepv->GNOME_Unknown_epv) + newservant->servant.vepv->GNOME_Unknown_epv = gnome_object_get_epv(); newservant->view = view; servant_init_func((PortableServer_Servant) newservant, ev); |