aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-favicon-cache.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-08-24 17:20:00 +0800
committerBenjamin Otte <otte@gnome.org>2009-08-27 18:02:58 +0800
commitcc64c681766a798bbcfa6e16e9723713ff0dc2c1 (patch)
tree2f98f644f0228f1c7205ff36693bb176098dc2b6 /embed/ephy-favicon-cache.c
parentb9e4152c48146af6b456e7a8e07991d4967eaac8 (diff)
downloadgsoc2013-epiphany-cc64c681766a798bbcfa6e16e9723713ff0dc2c1.tar
gsoc2013-epiphany-cc64c681766a798bbcfa6e16e9723713ff0dc2c1.tar.gz
gsoc2013-epiphany-cc64c681766a798bbcfa6e16e9723713ff0dc2c1.tar.bz2
gsoc2013-epiphany-cc64c681766a798bbcfa6e16e9723713ff0dc2c1.tar.lz
gsoc2013-epiphany-cc64c681766a798bbcfa6e16e9723713ff0dc2c1.tar.xz
gsoc2013-epiphany-cc64c681766a798bbcfa6e16e9723713ff0dc2c1.tar.zst
gsoc2013-epiphany-cc64c681766a798bbcfa6e16e9723713ff0dc2c1.zip
Make non-critical g_warning() into LOG()
Failing to delete a favicon file should not cause the program to abort.
Diffstat (limited to 'embed/ephy-favicon-cache.c')
-rw-r--r--embed/ephy-favicon-cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c
index 6032827f3..c1e3cf7b4 100644
--- a/embed/ephy-favicon-cache.c
+++ b/embed/ephy-favicon-cache.c
@@ -218,7 +218,7 @@ remove_obsolete_icons (EphyFaviconCache *cache,
filename, NULL);
if (g_unlink (path) < 0)
{
- g_warning ("Unable to delete %s", path);
+ LOG ("Unable to delete %s", path);
}
g_free (path);
@@ -399,7 +399,7 @@ delete_file (GFile *dir,
NULL);
if (g_unlink (path) < 0)
{
- g_warning ("Unable to delete %s", path);
+ LOG ("Unable to delete %s", path);
}
g_free (path);
@@ -481,7 +481,7 @@ favicon_download_cancelled_cb (EphyEmbedPersist *persist,
dest = ephy_embed_persist_get_dest (persist);
if (g_unlink (dest) < 0)
{
- g_warning ("Unable to delete %s", dest);
+ LOG ("Unable to delete %s", dest);
}
/* FIXME: re-schedule to try again after n days? */