core: Entertain priority in HTTPGstResponse
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Fri, 21 Jan 2011 17:04:27 +0000 (19:04 +0200)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 3 Feb 2011 16:22:52 +0000 (18:22 +0200)
src/rygel/rygel-http-gst-response.vala

index 591d218..3695c67 100644 (file)
@@ -155,8 +155,7 @@ internal class Rygel.HTTPGstResponse : Rygel.HTTPResponse {
     private void on_new_buffer (Element sink,
                                 Buffer  buffer,
                                 Pad     pad) {
-        Idle.add_full (Priority.HIGH_IDLE,
-                       () => {
+        Idle.add_full (this.priority, () => {
             if (this.cancellable.is_cancelled ()) {
                 return false;
             }
@@ -228,8 +227,7 @@ internal class Rygel.HTTPGstResponse : Rygel.HTTPResponse {
         }
 
         if (!ret) {
-                Idle.add_full (Priority.HIGH_IDLE,
-                               () => {
+                Idle.add_full (this.priority, () => {
                     this.end (false, Soup.KnownStatusCode.NONE);
 
                     return false;