discoverer: fix c99-ism

This commit is contained in:
David Schleef 2011-05-31 20:38:56 -07:00 committed by Tim-Philipp Müller
parent 4f15d37685
commit 1494e4eaba

View file

@ -1023,9 +1023,9 @@ handle_current_async (GstDiscoverer * dc)
{ {
GSource *source; GSource *source;
static GSourceCallbackFuncs cb_funcs = { static GSourceCallbackFuncs cb_funcs = {
.ref = _void_g_object_ref, _void_g_object_ref,
.unref = g_object_unref, g_object_unref,
.get = get_async_cb, get_async_cb,
}; };
/* Attach a timeout to the main context */ /* Attach a timeout to the main context */