rb_source_can_pause calls klass->impl_can_pause, which by default isn't
initialised to anything. Which means subclasses have to implement their own
otherwise rhythmbox segfaults upon pausing.

Is this deliberate or a bug? Seeing as klass->impl_can_cut and
klass->impl_can_paste etc are all initialised to defaults shouldn't
can_pause be too? I don't really understand gobject code at all but would it
be as simple as adding "klass->impl_can_pause = (RBSourceFeatureFunc)
rb_true_function" to the function rb_source_class_init?

Cheers
_______________________________________________
rhythmbox-devel mailing list
rhythmbox-devel@gnome.org
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel

Reply via email to