tests/examples/seek/seek.c: Try to support stable version of GTK.

Original commit message from CVS:
2007-11-19  Julien MOUTTE  <julien@moutte.net>

* tests/examples/seek/seek.c: (main): Try to support stable version
of GTK.
This commit is contained in:
Julien Moutte 2007-11-19 11:59:20 +00:00
parent 84b35b401a
commit 46026e9456
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-11-19 Julien MOUTTE <julien@moutte.net>
* tests/examples/seek/seek.c: (main): Try to support stable version
of GTK.
2007-11-17 Stefan Kost <ensonic@users.sf.net>
* gst/playback/README:

View file

@ -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),