move a callback into the proper section of the file
authorBrandon Lewis <brandon@collabora.co.uk>
Thu, 5 Aug 2010 16:11:49 +0000 (18:11 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 2 Sep 2010 16:08:44 +0000 (18:08 +0200)
tests/examples/ges-ui.c

index 8ac9c5d6f440d9701dcb8a5c8eb86a4548fc04f5..ecc91eb2622ddcc8ec274a505ba5667d4e728484 100644 (file)
@@ -171,6 +171,17 @@ update_play_sensitivity (App * app)
 
 /* 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
 layer_notify_valid_changed_cb (GObject * object, GParamSpec * unused
     G_GNUC_UNUSED, App * app)
@@ -428,17 +439,6 @@ bus_message_cb (GstBus * bus, GstMessage * message, App * app)
 
 /* 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
 check_time (const gchar * time)
 {