Reenable disabled code (quit_cb): Put the db an id objects in a pair

2001-07-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (real_quit_cb): Reenable disabled code
	(quit_cb): Put the db an id objects in a pair structure and pass
	that to the callback
	(real_quit_cb): Extract the db and id objects from the pair
	(create_control_cb): Set up listener for sync event rather than
	change event
This commit is contained in:
Bradford Hovinen 2001-07-24 22:52:59 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent f079a9ab87
commit 4c1bd422e2
2 changed files with 3 additions and 1 deletions

View file

@ -4,6 +4,8 @@
(quit_cb): Put the db an id objects in a pair structure and pass
that to the callback
(real_quit_cb): Extract the db and id objects from the pair
(create_control_cb): Set up listener for sync event rather than
change event
2001-07-23 Bradford Hovinen <hovinen@ximian.com>

View file

@ -265,7 +265,7 @@ create_control_cb (BonoboGenericFactory *factory, Bonobo_ConfigDatabase db)
id = bonobo_event_source_client_add_listener
(db, (BonoboListenerCallbackFn) changed_cb,
"Bonobo/ConfigDatabase:change", &ev, db);
"Bonobo/ConfigDatabase:sync", &ev, db);
gtk_object_set_data (GTK_OBJECT (property_control), "listener-id", (gpointer) id);
gtk_signal_connect (GTK_OBJECT (property_control), "destroy",