Abort if the object is already destroyed
2001-09-22 Bradford Hovinen <hovinen@ximian.com> * bonobo-config-archiver.c (notify_listeners): Abort if the object is already destroyed
This commit is contained in:
parent
c8b405679c
commit
43b6559753
2 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-09-22 Bradford Hovinen <hovinen@ximian.com>
|
||||
|
||||
* bonobo-config-archiver.c (notify_listeners): Abort if the object
|
||||
is already destroyed
|
||||
|
||||
2001-09-07 Bradford Hovinen <hovinen@ximian.com>
|
||||
|
||||
* archiver-client.c (location_client_store_xml): Make backend_id
|
||||
|
|
|
@ -231,22 +231,25 @@ real_sync (BonoboConfigDatabase *db,
|
|||
|
||||
static void
|
||||
notify_listeners (BonoboConfigArchiver *archiver_db,
|
||||
const char *key,
|
||||
const CORBA_any *value)
|
||||
const char *key,
|
||||
const CORBA_any *value)
|
||||
{
|
||||
CORBA_Environment ev;
|
||||
char *dir_name;
|
||||
char *leaf_name;
|
||||
char *ename;
|
||||
|
||||
if (GTK_OBJECT_DESTROYED (archiver_db))
|
||||
return;
|
||||
|
||||
if (!key)
|
||||
return;
|
||||
|
||||
CORBA_exception_init(&ev);
|
||||
CORBA_exception_init (&ev);
|
||||
|
||||
ename = g_strconcat ("Bonobo/Property:change:", key, NULL);
|
||||
|
||||
bonobo_event_source_notify_listeners(archiver_db->es, ename, value, &ev);
|
||||
bonobo_event_source_notify_listeners (archiver_db->es, ename, value, &ev);
|
||||
|
||||
g_free (ename);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue