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:
parent
f079a9ab87
commit
4c1bd422e2
2 changed files with 3 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue