[Xfce4-commits] <xfconf:signal-bindings> Make 2 critical warnings debug output.

Nick Schermer noreply at xfce.org
Mon Nov 23 18:04:01 CET 2009


Updating branch refs/heads/signal-bindings
         to b6c6b8f86fa695645e0df1faa19413a2dfd97c93 (commit)
       from 9dbeb372a154415b5273ba17e95868d8d1937a72 (commit)

commit b6c6b8f86fa695645e0df1faa19413a2dfd97c93
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Nov 23 18:01:43 2009 +0100

    Make 2 critical warnings debug output.
    
    Those 2 warnings are always shown when removing an
    xfconf property that does not exist. This makes applications
    abort that use g_log_set_always_fatal().

 xfconf/xfconf-cache.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfconf/xfconf-cache.c b/xfconf/xfconf-cache.c
index 31fca97..f4e23f8 100644
--- a/xfconf/xfconf-cache.c
+++ b/xfconf/xfconf-cache.c
@@ -456,13 +456,13 @@ xfconf_cache_set_property_reply_handler(DBusGProxy *proxy,
 
     old_item = g_hash_table_lookup(cache->pending_calls, call);
     if(G_UNLIKELY(!old_item)) {
-        g_critical("Couldn't find old cache item based on pending call (libxfconf bug?)");
+        g_debug("Couldn't find old cache item based on pending call (libxfconf bug?)");
         goto out;
     }
 
     item = g_tree_lookup(cache->properties, old_item->property);
     if(G_UNLIKELY(!item)) {
-        g_critical("Couldn't find current cache item based on pending call (libxfconf bug?)");
+        g_debug("Couldn't find current cache item based on pending call (libxfconf bug?)");
         goto out;
     }
 



More information about the Xfce4-commits mailing list