projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cffbeec
)
set frequency property when spin button changed
author
Brandon Lewis
<brandon@collabora.co.uk>
Tue, 3 Aug 2010 12:58:15 +0000
(14:58 +0200)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Thu, 2 Sep 2010 16:04:28 +0000
(18:04 +0200)
tests/examples/ges-ui.c
patch
|
blob
|
history
diff --git
a/tests/examples/ges-ui.c
b/tests/examples/ges-ui.c
index
57c2e7a
..
e0b9bec
100644
(file)
--- a/
tests/examples/ges-ui.c
+++ b/
tests/examples/ges-ui.c
@@
-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