diff options
-rw-r--r-- | capplets/screensaver/ChangeLog | 2 | ||||
-rw-r--r-- | capplets/screensaver/main.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/capplets/screensaver/ChangeLog b/capplets/screensaver/ChangeLog index 6a27ba8ef..41d29b440 100644 --- a/capplets/screensaver/ChangeLog +++ b/capplets/screensaver/ChangeLog @@ -1,6 +1,8 @@ 2001-08-23 Bradford Hovinen <hovinen@ximian.com> * main.c: Port to new CORBA interface + (store_archive_data): Don't try to archive the data if the archive + is NULL 2001-08-19 Abel Cheung <maddog@linux.org.hk> diff --git a/capplets/screensaver/main.c b/capplets/screensaver/main.c index 3eb5a9d48..4a5559d77 100644 --- a/capplets/screensaver/main.c +++ b/capplets/screensaver/main.c @@ -67,6 +67,9 @@ store_archive_data (void) xmlDocPtr xml_doc; CORBA_Environment ev; + if (archive == CORBA_OBJECT_NIL) + return; + CORBA_exception_init (&ev); if (capplet_get_location () == NULL) |