GNOME Bugzilla – Bug 596583
Fix property bindings when using enums
Last modified: 2009-10-05 00:26:56 UTC
The enums won't ever get to the G_TYPE_ENUM case because they're sub-classes of G_TYPE_ENUM. Check whether the value holds an enum instead and manually check for equality.
Created attachment 144164 [details] [review] Fix property bindings when using enums
This should fix property application loops in gnome-bluetooth.
This is a gnome-bluetooth patch and not a seahorse patch. Moving.
Is not, seahorse-bind.c was copied from seahorse into gnome-bluetooth. seahorse-bind.c is broken.
Committed. Thanks. What confused me is that we don't have a lib/ in the seahorse tree.
Sorry, should have made a patch against seahorse instead... A similar work-around could probably be implemented for G_TYPE_FLAGS.
It's ok. I'll have a look at it.
I just modified the flags case too.