diff --git a/ChangeLog b/ChangeLog index 705b64cd65..55166c5bd2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-06-25 Stefan Kost + + * tests/examples/seek/Makefile.am: + * tests/examples/seek/seek.c: + Remove libgstvideo usage. Use gtk_get_option_group instead of + gtk_init(). + 2008-06-24 Stefan Kost * tests/check/Makefile.am: diff --git a/tests/examples/seek/Makefile.am b/tests/examples/seek/Makefile.am index 88d17c8d3e..a2f2e41740 100644 --- a/tests/examples/seek/Makefile.am +++ b/tests/examples/seek/Makefile.am @@ -7,6 +7,5 @@ examples = $(GTK_EXAMPLES) noinst_PROGRAMS = $(examples) LDADD = $(GST_LIBS) $(GTK_LIBS) \ - $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \ - $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_MAJORMINOR@.la + $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la AM_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS) -I$(top_builddir)/gst-libs diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index a966402465..757455a6c1 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/seek.c @@ -29,7 +29,6 @@ #include #include #include -#include GST_DEBUG_CATEGORY_STATIC (seek_debug); #define GST_CAT_DEFAULT (seek_debug) @@ -2253,6 +2252,7 @@ main (int argc, char **argv) ctx = g_option_context_new ("- test seeking in gsteamer"); g_option_context_add_main_entries (ctx, options, NULL); g_option_context_add_group (ctx, gst_init_get_option_group ()); + g_option_context_add_group (ctx, gtk_get_option_group (TRUE)); if (!g_option_context_parse (ctx, &argc, &argv, &err)) { g_print ("Error initializing: %s\n", err->message); @@ -2261,8 +2261,6 @@ main (int argc, char **argv) GST_DEBUG_CATEGORY_INIT (seek_debug, "seek", 0, "seek example"); - gtk_init (&argc, &argv); - if (argc != 3) { print_usage (argc, argv); exit (-1);