[rygel] core: Entertain priority in HTTPGstResponse
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Entertain priority in HTTPGstResponse
- Date: Thu, 3 Feb 2011 16:36:41 +0000 (UTC)
commit 9db1467eb965afa6797f605ec63ed1e1733841e9
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Jan 21 19:04:27 2011 +0200
core: Entertain priority in HTTPGstResponse
src/rygel/rygel-http-gst-response.vala | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/rygel/rygel-http-gst-response.vala b/src/rygel/rygel-http-gst-response.vala
index 591d218..3695c67 100644
--- a/src/rygel/rygel-http-gst-response.vala
+++ b/src/rygel/rygel-http-gst-response.vala
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]