aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/reference/epiphany-docs.sgml1
-rw-r--r--doc/reference/epiphany-sections.txt18
-rw-r--r--doc/reference/epiphany.types2
-rw-r--r--src/ephy-window.c11
-rw-r--r--src/ephy-window.h5
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