[Rhythmbox-devel] rb_source_can_pause has no default implementation
- From: Jamie Nicol <jamie thenicols net>
- To: rhythmbox-devel gnome org
- Subject: [Rhythmbox-devel] rb_source_can_pause has no default implementation
- Date: Sat, 8 Aug 2009 18:31:02 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]