[epiphany] ephy-web-view: move private methods to the private header
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-web-view: move private methods to the private header
- Date: Thu, 28 Jun 2012 11:27:41 +0000 (UTC)
commit b4d5a8daa7fede8dc03d6765c2ac55ea71d0a385
Author: Xan Lopez <xan igalia com>
Date: Thu Jun 28 13:27:25 2012 +0200
ephy-web-view: move private methods to the private header
embed/ephy-embed-private.h | 24 +++++++++++++++++++++---
embed/ephy-web-view.h | 20 --------------------
2 files changed, 21 insertions(+), 23 deletions(-)
---
diff --git a/embed/ephy-embed-private.h b/embed/ephy-embed-private.h
index 34ba6bc..e82368d 100644
--- a/embed/ephy-embed-private.h
+++ b/embed/ephy-embed-private.h
@@ -44,10 +44,28 @@ G_BEGIN_DECLS
"^file:.*$" \
")"
-void ephy_web_view_set_visit_type (EphyWebView *view,
- EphyHistoryPageVisitType visit_type);
+void ephy_web_view_set_visit_type (EphyWebView *view,
+ EphyHistoryPageVisitType visit_type);
+EphyHistoryPageVisitType ephy_web_view_get_visit_type (EphyWebView *view);
+void ephy_web_view_set_address (EphyWebView *view,
+ const char *address);
+void ephy_web_view_set_loading_title (EphyWebView *view,
+ const char *title,
+ gboolean is_address);
+void ephy_web_view_popups_manager_reset (EphyWebView *view);
+void ephy_web_view_save (EphyWebView *view,
+ const char *uri);
+void ephy_web_view_load_homepage (EphyWebView *view);
-EphyHistoryPageVisitType ephy_web_view_get_visit_type (EphyWebView *view);
+char * ephy_web_view_create_web_application (EphyWebView *view,
+ const char *title,
+ GdkPixbuf *icon);
+GdkPixbuf * ephy_web_view_get_snapshot (EphyWebView *view,
+ int x,
+ int y,
+ int width,
+ int height);
+gboolean ephy_web_view_is_loading_homepage (EphyWebView *view);
G_END_DECLS
diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h
index c742d18..a1147ed 100644
--- a/embed/ephy-web-view.h
+++ b/embed/ephy-web-view.h
@@ -170,26 +170,6 @@ void ephy_web_view_load_error_page (EphyWebView
const char *uri,
EphyWebViewErrorPage page,
GError *error);
-/* These should be private */
-void ephy_web_view_set_address (EphyWebView *view,
- const char *address);
-void ephy_web_view_set_loading_title (EphyWebView *view,
- const char *title,
- gboolean is_address);
-void ephy_web_view_popups_manager_reset (EphyWebView *view);
-void ephy_web_view_save (EphyWebView *view,
- const char *uri);
-void ephy_web_view_load_homepage (EphyWebView *view);
-
-char * ephy_web_view_create_web_application (EphyWebView *view,
- const char *title,
- GdkPixbuf *icon);
-GdkPixbuf * ephy_web_view_get_snapshot (EphyWebView *view,
- int x,
- int y,
- int width,
- int height);
-gboolean ephy_web_view_is_loading_homepage (EphyWebView *view);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]