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

Nick Schermer noreply at xfce.org
Sat Dec 26 12:44:04 CET 2009


Updating branch refs/heads/master
         to c27f4a1e86ff649f8c8ffc1d5d3bb68f2dafb00e (commit)
       from 32f9145e2536db7c162faca41347469c9aa8c1d2 (commit)

commit c27f4a1e86ff649f8c8ffc1d5d3bb68f2dafb00e
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