Index: gst/gstbin.c
===================================================================
RCS file: /cvs/gstreamer/gstreamer/gst/gstbin.c,v
retrieving revision 1.280
diff -c -p -r1.280 gstbin.c
*** gst/gstbin.c	10 Oct 2005 11:52:58 -0000	1.280
--- gst/gstbin.c	10 Oct 2005 12:27:30 -0000
*************** gst_bin_iterate_sorted (GstBin * bin)
*** 1286,1293 ****
    /* we don't need a NextFunction because we ref the items in the _next
     * method already */
    result = (GstBinSortIterator *)
!       gst_iterator_new (GST_TYPE_ELEMENT,
        sizeof (GstBinSortIterator),
        GST_GET_LOCK (bin),
        &bin->children_cookie,
        (GstIteratorNextFunction) gst_bin_sort_iterator_next,
--- 1286,1294 ----
    /* we don't need a NextFunction because we ref the items in the _next
     * method already */
    result = (GstBinSortIterator *)
!       gst_iterator_new (
        sizeof (GstBinSortIterator),
+       GST_TYPE_ELEMENT,
        GST_GET_LOCK (bin),
        &bin->children_cookie,
        (GstIteratorNextFunction) gst_bin_sort_iterator_next,
