discoverer: fix c99-ism
authorDavid Schleef <ds@schleef.org>
Wed, 1 Jun 2011 03:38:56 +0000 (20:38 -0700)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 14 Jun 2011 13:12:59 +0000 (14:12 +0100)
gst-libs/gst/pbutils/gstdiscoverer.c

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