function gsk_dbi_synchronized_object_destroy

void gsk_dbi_synchronized_object_destroy
                (GtkType                        exact_type,
                 GskDbh                              * dbh,
                 gpointer                       primary_key,
                 GDestroyNotify                 destroy_key,
                 gpointer                       destroy_data,
                 GDestroyNotify                 destroy_destroy_data,
                 GskDbiSynchronizedObjectCallback callback,
                 gpointer                       callback_data)
This is the proper way to destroy an object in the persistent store. The object is first loaded via the supplied primary key, then the destroy interface method is called.

Parameters:

exact_type

Exact type of the object to be destroyed.

dbh

The database handle associated with the persistent store.

primary_key

Exact type dependent load data.

destroy_key

This is called when the primary_key is no longer in use.

destroy_data

Exact type dependent destroy data.

destroy_destroy_data

This is called when the destroy_data is no longer in use.

callback

Callback to execute when finished. Note the callback is executed whether or not destruction succeeds.

callback_data

Data passed through unmodified to callback.