seek: Don't use deprecated combo box text API

Fixes bug #632653.
This commit is contained in:
Matthias Clasen 2010-10-20 11:01:14 +02:00 committed by Sebastian Dröge
parent 9d0fefc617
commit 95db070470

View file

@ -2796,9 +2796,11 @@ main (int argc, char **argv)
step = gtk_expander_new ("step options"); step = gtk_expander_new ("step options");
hbox = gtk_hbox_new (FALSE, 0); hbox = gtk_hbox_new (FALSE, 0);
format_combo = gtk_combo_box_new_text (); format_combo = gtk_combo_box_text_new ();
gtk_combo_box_append_text (GTK_COMBO_BOX (format_combo), "frames"); gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (format_combo),
gtk_combo_box_append_text (GTK_COMBO_BOX (format_combo), "time (ms)"); "frames");
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (format_combo),
"time (ms)");
gtk_combo_box_set_active (GTK_COMBO_BOX (format_combo), 0); gtk_combo_box_set_active (GTK_COMBO_BOX (format_combo), 0);
gtk_box_pack_start (GTK_BOX (hbox), format_combo, FALSE, FALSE, 2); gtk_box_pack_start (GTK_BOX (hbox), format_combo, FALSE, FALSE, 2);