core: Don't wait for item when there is no need to
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 13 Dec 2010 16:59:41 +0000 (18:59 +0200)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 13 Dec 2010 17:18:55 +0000 (19:18 +0200)
commit8d5ea10ea798311fbdb7a2446a54081b3f1ea1b2
tree820bb4e64a71201a156558ca75734bb263bfcc10
parentfe262ff85daf05fe2d0a5e1dde4647e560e288e0
core: Don't wait for item when there is no need to

The 'updated' signal from the container could be emitted 'before' we start
to wait for it so better first check if item is already there and then
wait if its not.
src/rygel/rygel-item-creator.vala