2006-10-07 Jonathan Matthew <jonathan@kaolin.wh9.net>
commita07badd4e4df0963fda909d65d23f77e935c9829
authorjmatthew <jmatthew>
Sat, 7 Oct 2006 02:57:15 +0000 (7 02:57 +0000)
committerjmatthew <jmatthew>
Sat, 7 Oct 2006 02:57:15 +0000 (7 02:57 +0000)
treedd1673393c15029b1e71578514ea9994d58e1cce
parentbf9b7cd7fac65b7c1bf3f2418ccee3bc45d9c069
2006-10-07  Jonathan Matthew  <jonathan@kaolin.wh9.net>

* rhythmdb/rhythmdb-query-model.c: (rhythmdb_query_model_dispose),
(rhythmdb_query_model_chain),
(rhythmdb_query_model_entry_changed_cb),
(rhythmdb_query_model_base_entry_prop_changed),
(rhythmdb_query_model_base_entry_removed):
For chained models, propagate the parent model's entry-prop-changed
signal rather than emitting one from the db entry-changed handler.
This ensures that when the change filters the entry out of the parent
model, property models attached to the child model get the entry
change signal before the post-entry-delete signal, so they can
decrement the refcount for the right property value.  Fixes #359083.
ChangeLog
rhythmdb/rhythmdb-query-model.c