summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/play
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-04-17 19:04:23 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-04-17 19:04:23 +0000
commit14fa7c0262e20d63c8d9872333ba15d7409acef8 (patch)
tree44045a708e073ce082c1055aaffe154f56e62e4a /gst-libs/gst/play
parentd6531ec3ea325679a8669fb87482fd45a224cb9c (diff)
downloadgst-plugins-bad-14fa7c0262e20d63c8d9872333ba15d7409acef8.tar.gz
gst-plugins-bad-14fa7c0262e20d63c8d9872333ba15d7409acef8.tar.bz2
gst-plugins-bad-14fa7c0262e20d63c8d9872333ba15d7409acef8.zip
gcc-2.9x compile fix (c<99)
Original commit message from CVS: gcc-2.9x compile fix (c<99)
Diffstat (limited to 'gst-libs/gst/play')
-rw-r--r--gst-libs/gst/play/play.old.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/play/play.old.c b/gst-libs/gst/play/play.old.c
index 1becf292..cf8b9531 100644
--- a/gst-libs/gst/play/play.old.c
+++ b/gst-libs/gst/play/play.old.c
@@ -513,9 +513,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));