Gcc < 3.0 fix
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Fri, 2 May 2003 20:13:08 +0000 (20:13 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Fri, 2 May 2003 20:13:08 +0000 (20:13 +0000)
Original commit message from CVS:
Gcc < 3.0 fix

gst-libs/gst/play/play.old.c

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