[grilo/0.2.x] core: Obey GRL_WRITE_NORMAL in grl_source_store()



commit 570c4d444f556281d1c1bbd8900fb213243a5ec7
Author: Mathias Hasselmann <mathias openismus com>
Date:   Mon Oct 1 00:25:01 2012 +0200

    core: Obey GRL_WRITE_NORMAL in grl_source_store()
    
    This fixes https://bugzilla.gnome.org/show_bug.cgi?id=685169

 src/grl-source.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/grl-source.c b/src/grl-source.c
index dc63e36..d12d017 100644
--- a/src/grl-source.c
+++ b/src/grl-source.c
@@ -2559,7 +2559,7 @@ store_relay_cb (GrlSource *source,
 
   GRL_DEBUG (__FUNCTION__);
 
-  if (error || src->flags & GRL_WRITE_NORMAL) {
+  if (error || !(src->flags & GRL_WRITE_FULL)) {
     if (src->user_callback)
       src->user_callback (source, media, failed_keys, src->user_data, error);
   } else {



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