[epiphany] ephy-web-app-utils: rename ephy_delete_web_application to ephy_web_application_delete



commit 7e685c61459ef3f55fed260b3b90c974d3599227
Author: Xan Lopez <xlopez igalia com>
Date:   Fri Sep 2 20:56:12 2011 +0200

    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 c1c9856..d499552 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 ef8d88f..560f1de 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 1d1e28a..9d2152e 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);
   }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]