diff options
author | Xan Lopez <xlopez@igalia.com> | 2011-09-03 02:56:12 +0800 |
---|---|---|
committer | Xan Lopez <xlopez@igalia.com> | 2011-09-03 02:56:12 +0800 |
commit | 7e685c61459ef3f55fed260b3b90c974d3599227 (patch) | |
tree | 5456a324f2bdfc82bc5150707508830e891fd20a | |
parent | 09bbf1441056fc858db9bca5452bd0ff8e83a1b1 (diff) | |
download | gsoc2013-epiphany-7e685c61459ef3f55fed260b3b90c974d3599227.tar.gz gsoc2013-epiphany-7e685c61459ef3f55fed260b3b90c974d3599227.tar.zst gsoc2013-epiphany-7e685c61459ef3f55fed260b3b90c974d3599227.zip |
ephy-web-app-utils: rename ephy_delete_web_application to ephy_web_application_delete
You know, use namespaces correctly and all that.
-rw-r--r-- | embed/ephy-web-app-utils.c | 4 | ||||
-rw-r--r-- | embed/ephy-web-app-utils.h | 2 | ||||
-rw-r--r-- | 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); } |