diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-04-01 08:20:49 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-04-22 09:34:36 +0800 |
commit | 7a114f5c90af9fecad7054cd00badcc27511b469 (patch) | |
tree | a5004eaacfd08e7153f44b9a972ef532c8683c49 | |
parent | b072cc742dea761846fc0d445851a53dff3ed829 (diff) | |
download | gsoc2013-epiphany-7a114f5c90af9fecad7054cd00badcc27511b469.tar gsoc2013-epiphany-7a114f5c90af9fecad7054cd00badcc27511b469.tar.gz gsoc2013-epiphany-7a114f5c90af9fecad7054cd00badcc27511b469.tar.bz2 gsoc2013-epiphany-7a114f5c90af9fecad7054cd00badcc27511b469.tar.lz gsoc2013-epiphany-7a114f5c90af9fecad7054cd00badcc27511b469.tar.xz gsoc2013-epiphany-7a114f5c90af9fecad7054cd00badcc27511b469.tar.zst gsoc2013-epiphany-7a114f5c90af9fecad7054cd00badcc27511b469.zip |
e-web-app-utils: use LOG and g_warning instead of g_print
https://bugzilla.gnome.org/show_bug.cgi?id=673348
-rw-r--r-- | embed/ephy-web-app-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-web-app-utils.c b/embed/ephy-web-app-utils.c index 84fdb779c..53bf687db 100644 --- a/embed/ephy-web-app-utils.c +++ b/embed/ephy-web-app-utils.c @@ -132,14 +132,14 @@ ephy_web_application_delete (const char *name) /* If there's no profile dir for this app, it means it does not * exist. */ if (!g_file_test (profile_dir, G_FILE_TEST_IS_DIR)) { - g_print ("No application with name '%s' is installed.\n", name); + g_warning ("No application with name '%s' is installed.\n", name); goto out; } profile = g_file_new_for_path (profile_dir); if (!ephy_file_delete_dir_recursively (profile, NULL)) goto out; - g_print ("Deleted application profile.\n"); + LOG ("Deleted application profile.\n"); wm_class = get_wm_class_from_app_title (name); desktop_file = desktop_filename_from_wm_class (wm_class); @@ -150,7 +150,7 @@ ephy_web_application_delete (const char *name) launcher = g_file_new_for_path (desktop_path); if (!g_file_delete (launcher, NULL, NULL)) goto out; - g_print ("Deleted application launcher.\n"); + LOG ("Deleted application launcher.\n"); return_value = TRUE; |