summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-03-31 19:20:49 -0500
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-04-21 20:34:36 -0500
commit7a114f5c90af9fecad7054cd00badcc27511b469 (patch)
treea5004eaacfd08e7153f44b9a972ef532c8683c49
parentb072cc742dea761846fc0d445851a53dff3ed829 (diff)
downloadepiphany-7a114f5c90af9fecad7054cd00badcc27511b469.tar.gz
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.c6
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;