]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commitdiff
examples: fix bogus g_object_unref in helloworld example
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 25 Sep 2011 15:10:53 +0000 (16:10 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 25 Sep 2011 15:12:54 +0000 (16:12 +0100)
GMainLoop is not a GObject.

https://bugzilla.gnome.org/show_bug.cgi?id=424143

tests/examples/helloworld/helloworld.c

index 073fb033a30a49942428c0fdf17e2afaad2bbbb3..a659f5bddbb3be87df9d9aefb111a3473f2852f8 100644 (file)
@@ -74,7 +74,7 @@ main (gint argc, gchar * argv[])
   /* cleanup */
   gst_element_set_state (playbin, GST_STATE_NULL);
   g_object_unref (playbin);
-  g_object_unref (loop);
+  g_main_loop_unref (loop);
 
   return 0;
 }