[epiphany/origin/master: 14/19] docs: ephy-window



commit 86d5198f311fc40dc0d22cfa0e2643fcde46317f
Author: Diego Escalante Urrelo <diegoe gnome org>
Date:   Tue Dec 1 21:43:54 2009 -0500

    docs: ephy-window
    
    Also make _ephy_window_set_context_event and _ephy_window_unset_context_event
    static since noone was using those.
    
    Bug #503852

 doc/reference/epiphany-docs.sgml    |    1 +
 doc/reference/epiphany-sections.txt |   18 ++++++++++++++++++
 doc/reference/epiphany.types        |    2 ++
 src/ephy-window.c                   |   11 +++++++++--
 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 aba30d8..8566550 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 7fee4ce..511c2f8 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 199f267..2e3c6a4 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 5991190..aa10f2a 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 de7f21a..e40c8db 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



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