mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
examples: Remove some #if GTK_CHECK_VERSION(2,12,0)
We depend on GTK+ >= 2.14 already.
This commit is contained in:
parent
47317338e9
commit
b8005a3640
2 changed files with 0 additions and 4 deletions
|
@ -2847,10 +2847,8 @@ main (int argc, char **argv)
|
|||
hscale = gtk_hscale_new (adjustment);
|
||||
gtk_scale_set_digits (GTK_SCALE (hscale), 2);
|
||||
gtk_scale_set_value_pos (GTK_SCALE (hscale), GTK_POS_RIGHT);
|
||||
#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
|
||||
gtk_range_set_update_policy (GTK_RANGE (hscale), GTK_UPDATE_CONTINUOUS);
|
||||
|
||||
g_signal_connect (hscale, "button_press_event", G_CALLBACK (start_seek),
|
||||
|
|
|
@ -2786,10 +2786,8 @@ main (int argc, char **argv)
|
|||
hscale = gtk_hscale_new (adjustment);
|
||||
gtk_scale_set_digits (GTK_SCALE (hscale), 2);
|
||||
gtk_scale_set_value_pos (GTK_SCALE (hscale), GTK_POS_RIGHT);
|
||||
#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
|
||||
gtk_range_set_update_policy (GTK_RANGE (hscale), GTK_UPDATE_CONTINUOUS);
|
||||
|
||||
g_signal_connect (hscale, "button_press_event", G_CALLBACK (start_seek),
|
||||
|
|
Loading…
Reference in a new issue