Gcc < 3.0 fix

Original commit message from CVS:
Gcc < 3.0 fix
This commit is contained in:
Ronald S. Bultje 2003-05-02 20:13:08 +00:00
parent 75dd6425ed
commit 2c8acd1196

View file

@ -538,9 +538,11 @@ callback_pipeline_state_change ( GstElement *element,
static void static void
gst_play_dispose (GObject *object) gst_play_dispose (GObject *object)
{ {
GstPlay *play;
g_return_if_fail (object != NULL); g_return_if_fail (object != NULL);
g_return_if_fail (GST_IS_PLAY(object)); g_return_if_fail (GST_IS_PLAY(object));
GstPlay *play = GST_PLAY (object); play = GST_PLAY (object);
/* Removing all sources */ /* Removing all sources */
while (g_source_remove_by_user_data (play)); while (g_source_remove_by_user_data (play));