mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
move a callback into the proper section of the file
This commit is contained in:
parent
6533e038c9
commit
dad81a6f32
1 changed files with 11 additions and 11 deletions
|
@ -171,6 +171,17 @@ update_play_sensitivity (App * app)
|
||||||
|
|
||||||
/* Backend callbacks ********************************************************/
|
/* Backend callbacks ********************************************************/
|
||||||
|
|
||||||
|
static void
|
||||||
|
test_source_notify_volume_changed_cb (GESTimelineObject * object, GParamSpec *
|
||||||
|
unused G_GNUC_UNUSED, App * app)
|
||||||
|
{
|
||||||
|
gdouble volume;
|
||||||
|
|
||||||
|
g_object_get (G_OBJECT (object), "volume", &volume, NULL);
|
||||||
|
|
||||||
|
gtk_range_set_value (GTK_RANGE (app->volume), volume);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
layer_notify_valid_changed_cb (GObject * object, GParamSpec * unused
|
layer_notify_valid_changed_cb (GObject * object, GParamSpec * unused
|
||||||
G_GNUC_UNUSED, App * app)
|
G_GNUC_UNUSED, App * app)
|
||||||
|
@ -428,17 +439,6 @@ bus_message_cb (GstBus * bus, GstMessage * message, App * app)
|
||||||
|
|
||||||
/* Static UI Callbacks ******************************************************/
|
/* Static UI Callbacks ******************************************************/
|
||||||
|
|
||||||
static void
|
|
||||||
test_source_notify_volume_changed_cb (GESTimelineObject * object, GParamSpec *
|
|
||||||
unused G_GNUC_UNUSED, App * app)
|
|
||||||
{
|
|
||||||
gdouble volume;
|
|
||||||
|
|
||||||
g_object_get (G_OBJECT (object), "volume", &volume, NULL);
|
|
||||||
|
|
||||||
gtk_range_set_value (GTK_RANGE (app->volume), volume);
|
|
||||||
}
|
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
check_time (const gchar * time)
|
check_time (const gchar * time)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue