diff --git a/ChangeLog b/ChangeLog index c5cb719dfc..140f3d293e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-19 Julien MOUTTE + + * tests/examples/seek/seek.c: (main): Try to support stable version + of GTK. + 2007-11-17 Stefan Kost * gst/playback/README: diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index cc2596b35e..912d87fba0 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/seek.c @@ -1667,8 +1667,10 @@ main (int argc, char **argv) GTK_ADJUSTMENT (gtk_adjustment_new (0.0, 0.00, 100.0, 0.1, 1.0, 1.0)); hscale = gtk_hscale_new (adjustment); gtk_scale_set_digits (GTK_SCALE (hscale), 2); +#if GTK_MAJOR_VERSION > 2 && GTK_MINOR_VERSION > 12 gtk_range_set_show_fill_level (GTK_RANGE (hscale), TRUE); gtk_range_set_fill_level (GTK_RANGE (hscale), 100.0); +#endif gtk_range_set_update_policy (GTK_RANGE (hscale), GTK_UPDATE_CONTINUOUS); gtk_signal_connect (GTK_OBJECT (hscale),