[totem] main: Add API doc for totem_object_add_main_page()



commit 87ca39170dfda903b2c6e6189772087ff6fdb0c6
Author: Bastien Nocera <hadess hadess net>
Date:   Wed May 8 12:58:47 2013 +0200

    main: Add API doc for totem_object_add_main_page()

 src/totem-object.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index b0f5380..dee9a9c 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -839,6 +839,14 @@ totem_object_set_main_page (TotemObject *totem,
        gtk_stack_set_visible_child_full (GTK_STACK (totem->stack), page_id, type);
 }
 
+/**
+ * totem_object_add_main_page:
+ * @totem: a #TotemObject
+ * @page_id: a string used to identify the page
+ * @widget: a #GtkWidget for that new page
+ *
+ * Adds a page to Totem's main view with the given @page_id.
+ **/
 void
 totem_object_add_main_page (TotemObject *totem,
                            const char  *page_id,


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