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>
|
2001-09-07 Bradford Hovinen <hovinen@ximian.com>
|
||||||
|
|
||||||
* archiver-client.c (location_client_store_xml): Make backend_id
|
* archiver-client.c (location_client_store_xml): Make backend_id
|
||||||
|
|
|
@ -239,14 +239,17 @@ notify_listeners (BonoboConfigArchiver *archiver_db,
|
||||||
char *leaf_name;
|
char *leaf_name;
|
||||||
char *ename;
|
char *ename;
|
||||||
|
|
||||||
|
if (GTK_OBJECT_DESTROYED (archiver_db))
|
||||||
|
return;
|
||||||
|
|
||||||
if (!key)
|
if (!key)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
CORBA_exception_init(&ev);
|
CORBA_exception_init (&ev);
|
||||||
|
|
||||||
ename = g_strconcat ("Bonobo/Property:change:", key, NULL);
|
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);
|
g_free (ename);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue