Commit e660bd62 authored by Julien Moutte's avatar Julien Moutte

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.
parent 46026e94
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment