From 7e685c61459ef3f55fed260b3b90c974d3599227 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Fri, 2 Sep 2011 20:56:12 +0200 Subject: ephy-web-app-utils: rename ephy_delete_web_application to ephy_web_application_delete You know, use namespaces correctly and all that. --- embed/ephy-web-app-utils.c | 4 ++-- embed/ephy-web-app-utils.h | 2 +- src/ephy-main.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/embed/ephy-web-app-utils.c b/embed/ephy-web-app-utils.c index c1c9856cd..d499552f7 100644 --- a/embed/ephy-web-app-utils.c +++ b/embed/ephy-web-app-utils.c @@ -99,7 +99,7 @@ ephy_web_application_get_profile_directory (const char *app_name) } /** - * ephy_delete_web_application: + * ephy_web_application_delete: * @name: the name of the web application do delete * * Deletes all the data associated with a Web Application created by @@ -108,7 +108,7 @@ ephy_web_application_get_profile_directory (const char *app_name) * Returns: %TRUE if the web app was succesfully deleted, %FALSE otherwise **/ gboolean -ephy_delete_web_application (const char *name) +ephy_web_application_delete (const char *name) { char *profile_dir = NULL; char *desktop_file = NULL, *desktop_path = NULL; diff --git a/embed/ephy-web-app-utils.h b/embed/ephy-web-app-utils.h index ef8d88f53..560f1de09 100644 --- a/embed/ephy-web-app-utils.h +++ b/embed/ephy-web-app-utils.h @@ -30,7 +30,7 @@ G_BEGIN_DECLS #define EPHY_WEB_APP_PREFIX "app-" -gboolean ephy_delete_web_application (const char *name); +gboolean ephy_web_application_delete (const char *name); char *ephy_web_application_get_profile_directory (const char *app_name); diff --git a/src/ephy-main.c b/src/ephy-main.c index 1d1e28ab2..9d2152e1a 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -428,7 +428,7 @@ main (int argc, /* Delete the requested web application, if any. Must happen after * ephy_file_helpers_init (). */ if (application_to_delete) { - ephy_delete_web_application (application_to_delete); + ephy_web_application_delete (application_to_delete); exit (0); } -- cgit