diff options
author | Diego Escalante Urrelo <diegoe@gnome.org> | 2009-12-02 10:43:54 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@gnome.org> | 2009-12-03 06:47:16 +0800 |
commit | 86d5198f311fc40dc0d22cfa0e2643fcde46317f (patch) | |
tree | cfc8611347ea2cd8e44cbeb7e2bb82f7ec8aa211 | |
parent | 57d1e4a28256b3204b9cbcadd6f52832e55a477c (diff) | |
download | gsoc2013-epiphany-86d5198f311fc40dc0d22cfa0e2643fcde46317f.tar gsoc2013-epiphany-86d5198f311fc40dc0d22cfa0e2643fcde46317f.tar.gz gsoc2013-epiphany-86d5198f311fc40dc0d22cfa0e2643fcde46317f.tar.bz2 gsoc2013-epiphany-86d5198f311fc40dc0d22cfa0e2643fcde46317f.tar.lz gsoc2013-epiphany-86d5198f311fc40dc0d22cfa0e2643fcde46317f.tar.xz gsoc2013-epiphany-86d5198f311fc40dc0d22cfa0e2643fcde46317f.tar.zst gsoc2013-epiphany-86d5198f311fc40dc0d22cfa0e2643fcde46317f.zip |
docs: ephy-window
Also make _ephy_window_set_context_event and _ephy_window_unset_context_event
static since noone was using those.
Bug #503852
-rw-r--r-- | doc/reference/epiphany-docs.sgml | 1 | ||||
-rw-r--r-- | doc/reference/epiphany-sections.txt | 18 | ||||
-rw-r--r-- | doc/reference/epiphany.types | 2 | ||||
-rw-r--r-- | src/ephy-window.c | 11 | ||||
-rw-r--r-- | src/ephy-window.h | 5 |
5 files changed, 30 insertions, 7 deletions
diff --git a/doc/reference/epiphany-docs.sgml b/doc/reference/epiphany-docs.sgml index aba30d81d..85665509a 100644 --- a/doc/reference/epiphany-docs.sgml +++ b/doc/reference/epiphany-docs.sgml @@ -8,6 +8,7 @@ <chapter> <title>Epiphany</title> + <xi:include href="xml/ephy-window.xml"/> </chapter> <chapter> <title>Widgets</title> diff --git a/doc/reference/epiphany-sections.txt b/doc/reference/epiphany-sections.txt index 7fee4ced0..511c2f81e 100644 --- a/doc/reference/epiphany-sections.txt +++ b/doc/reference/epiphany-sections.txt @@ -94,3 +94,21 @@ EphyZoomControl ephy_zoom_control_set_zoom_level ephy_zoom_control_get_zoom_level </SECTION> + +<SECTION> +<FILE>ephy-window</FILE> +<TITLE>EphyWindow</TITLE> +EphyWindow +ephy_window_new +ephy_window_new_with_chrome +ephy_window_get_ui_manager +ephy_window_get_toolbar +ephy_window_get_notebook +ephy_window_get_find_toolbar +ephy_window_get_statusbar +ephy_window_load_url +ephy_window_set_zoom +ephy_window_activate_location +ephy_window_get_is_print_preview +ephy_window_get_context_event +</SECTION> diff --git a/doc/reference/epiphany.types b/doc/reference/epiphany.types index 199f26709..2e3c6a41c 100644 --- a/doc/reference/epiphany.types +++ b/doc/reference/epiphany.types @@ -15,4 +15,6 @@ ephy_tree_model_sort_get_type ephy_zoom_action_get_type ephy_zoom_control_get_type +#include <ephy-window.h> +ephy_window_get_type diff --git a/src/ephy-window.c b/src/ephy-window.c index 5991190f7..aa10f2ab1 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -68,6 +68,13 @@ #include <X11/XF86keysym.h> #endif +/** + * SECTION:ephy-window + * @short_description: Epiphany's main #GtkWindow widget + * + * #EphyWindow is Epiphany's main widget. + */ + static void ephy_window_class_init (EphyWindowClass *klass); static void ephy_window_init (EphyWindow *gs); static GObject *ephy_window_constructor (GType type, @@ -2017,7 +2024,7 @@ idle_unref_context_event (EphyWindow *window) return FALSE; } -void +static void _ephy_window_set_context_event (EphyWindow *window, EphyEmbedEvent *event) { @@ -2037,7 +2044,7 @@ _ephy_window_set_context_event (EphyWindow *window, priv->context_event = event != NULL ? g_object_ref (event) : NULL; } -void +static void _ephy_window_unset_context_event (EphyWindow *window) { EphyWindowPrivate *priv = window->priv; diff --git a/src/ephy-window.h b/src/ephy-window.h index de7f21a7c..e40c8dbf8 100644 --- a/src/ephy-window.h +++ b/src/ephy-window.h @@ -88,11 +88,6 @@ gboolean ephy_window_get_is_print_preview(EphyWindow *window); EphyEmbedEvent *ephy_window_get_context_event (EphyWindow *window); -void _ephy_window_set_context_event (EphyWindow *window, - EphyEmbedEvent *event); - -void _ephy_window_unset_context_event (EphyWindow *window); - G_END_DECLS #endif |