discoverer: fix c99-ism
authorDavid Schleef <ds@schleef.org>
Wed, 1 Jun 2011 03:38:56 +0000 (20:38 -0700)
committerDavid Schleef <ds@schleef.org>
Sat, 4 Jun 2011 19:27:47 +0000 (12:27 -0700)
gst-libs/gst/pbutils/gstdiscoverer.c

index 58d3e52..6eda250 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 */