mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
tests/examples/seek/seek.c: There's a nice macro to check
Original commit message from CVS: 2007-11-19 Julien MOUTTE <julien@moutte.net> * tests/examples/seek/seek.c: (main): There's a nice macro to check GTK version, use it.
This commit is contained in:
parent
46026e9456
commit
e660bd6264
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-11-19 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* tests/examples/seek/seek.c: (main): There's a nice macro to check
|
||||
GTK version, use it.
|
||||
|
||||
2007-11-19 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* tests/examples/seek/seek.c: (main): Try to support stable version
|
||||
|
|
|
@ -1667,7 +1667,7 @@ 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
|
||||
#if GTK_CHECK_VERSION(2,12,0)
|
||||
gtk_range_set_show_fill_level (GTK_RANGE (hscale), TRUE);
|
||||
gtk_range_set_fill_level (GTK_RANGE (hscale), 100.0);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue