[notify] lift some logic out of _notify_queue_add
authorRyan Lortie <desrt@desrt.ca>
Wed, 16 Nov 2011 15:38:25 +0000 (15:38 +0000)
committerRyan Lortie <desrt@desrt.ca>
Wed, 16 Nov 2011 17:50:12 +0000 (17:50 +0000)
commit8215fc5f255ae499904534042ac08e221c4f5f13
treeec10a396205960a37b2ea9e5b3fccdabdd7669cb
parent760037ec46bb3a8af8ea98e06a624a3ebac1cb1a
[notify] lift some logic out of _notify_queue_add

Lift the check-if-READABLE and redirect-target logic from out of
g_object_notify_queue_add() into its own function, get_notify_pspec().

Use that function at the site of our two calls to
g_object_notify_queue_add().
gobject/gobject.c