aboutsummaryrefslogtreecommitdiff
path: root/audio/rhythmbox/files/patch-shell_rb-play-order-shuffle.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rhythmbox/files/patch-shell_rb-play-order-shuffle.c')
-rw-r--r--audio/rhythmbox/files/patch-shell_rb-play-order-shuffle.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/rhythmbox/files/patch-shell_rb-play-order-shuffle.c b/audio/rhythmbox/files/patch-shell_rb-play-order-shuffle.c
new file mode 100644
index 000000000000..33d0c3fcedb4
--- /dev/null
+++ b/audio/rhythmbox/files/patch-shell_rb-play-order-shuffle.c
@@ -0,0 +1,17 @@
+--- shell/rb-play-order-shuffle.c.orig Thu Dec 18 02:58:17 2003
++++ shell/rb-play-order-shuffle.c Thu Dec 18 02:58:34 2003
+@@ -111,13 +111,13 @@
+ rb_shuffle_play_order_class_init (RBShufflePlayOrderClass *klass)
+ {
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
++ RBPlayOrderClass *porder = RB_PLAY_ORDER_CLASS (klass);
+
+ parent_class = g_type_class_peek_parent (klass);
+
+ object_class->constructor = rb_shuffle_play_order_constructor;
+ object_class->finalize = rb_shuffle_play_order_finalize;
+
+- RBPlayOrderClass *porder = RB_PLAY_ORDER_CLASS (klass);
+ porder->get_next = rb_shuffle_play_order_get_next;
+ porder->go_next = rb_shuffle_play_order_go_next;
+ porder->get_previous = rb_shuffle_play_order_get_previous;