[rygel] core: Properly signalize that a timeout happened



commit 0e3e535d1d8c23222fe85a8a80096340fb281015
Author: Jens Georg <mail jensge org>
Date:   Thu Oct 20 14:30:34 2011 +0200

    core: Properly signalize that a timeout happened

 src/rygel/rygel-item-creator.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-item-creator.vala b/src/rygel/rygel-item-creator.vala
index aa24d7d..b601b8a 100644
--- a/src/rygel/rygel-item-creator.vala
+++ b/src/rygel/rygel-item-creator.vala
@@ -430,8 +430,8 @@ internal class Rygel.ItemCreator: GLib.Object, Rygel.StateMachine {
                 timeout = Timeout.add_seconds (5, () => {
                     debug ("Timeout on waiting for 'updated' signal on '%s'.",
                            container.id);
-                    this.wait_for_item.callback ();
                     timeout = 0;
+                    this.wait_for_item.callback ();
 
                     return false;
                 });



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]