mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
set frequency property when spin button changed
This commit is contained in:
parent
cffbeec32b
commit
ad7f430066
1 changed files with 8 additions and 0 deletions
|
@ -398,6 +398,14 @@ background_type_changed_cb (GtkComboBox * widget, App * app)
|
|||
void
|
||||
frequency_value_changed_cb (GtkSpinButton * widget, App * app)
|
||||
{
|
||||
GList *tmp;
|
||||
gdouble value;
|
||||
|
||||
value = gtk_spin_button_get_value (widget);
|
||||
|
||||
for (tmp = app->selected_objects; tmp; tmp = tmp->next) {
|
||||
g_object_set (G_OBJECT (tmp->data), "freq", (gdouble) value, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
|
Loading…
Reference in a new issue