diff options
Diffstat (limited to 'libnautilus-private/nautilus-metafile-factory.c')
-rw-r--r-- | libnautilus-private/nautilus-metafile-factory.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-metafile-factory.c b/libnautilus-private/nautilus-metafile-factory.c index eadd69336..c939b440b 100644 --- a/libnautilus-private/nautilus-metafile-factory.c +++ b/libnautilus-private/nautilus-metafile-factory.c @@ -54,6 +54,10 @@ corba_open (PortableServer_Servant servant, metafile = nautilus_metafile_get (directory); + if (!metafile) { + return CORBA_OBJECT_NIL; + } + return CORBA_Object_duplicate (BONOBO_OBJREF (metafile), ev); } |