[totem] main: Remove totem_object_add_main_page()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Remove totem_object_add_main_page()
- Date: Thu, 30 Jan 2014 15:55:37 +0000 (UTC)
commit d9e3daf9f1a7c25498e5dd57900e1f80fe3cdab5
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jan 30 16:47:29 2014 +0100
main: Remove totem_object_add_main_page()
src/totem-object.c | 22 ----------------------
src/totem-private.h | 3 ---
2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index a2567e2..a4ec8ae 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -860,28 +860,6 @@ totem_object_set_main_page (TotemObject *totem,
}
/**
- * 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,
- GtkWidget *widget)
-{
- g_return_if_fail (page_id != NULL);
- g_return_if_fail (g_str_equal (page_id, "grilo"));
-
- gtk_stack_add_named (GTK_STACK (totem->stack),
- widget,
- page_id);
- gtk_stack_set_visible_child_name (GTK_STACK (totem->stack), page_id);
-}
-
-/**
* totem_object_get_main_page:
* @totem: a #TotemObject
*
diff --git a/src/totem-private.h b/src/totem-private.h
index f2c9008..40ec2cd 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -189,9 +189,6 @@ void totem_object_plugins_shutdown (TotemObject *totem);
void totem_object_set_fullscreen (TotemObject *totem, gboolean state);
void totem_object_set_volume_relative (TotemObject *totem, double off_pct);
void totem_object_volume_toggle_mute (TotemObject *totem);
-void totem_object_add_main_page (TotemObject *totem,
- const char *page_id,
- GtkWidget *widget);
void totem_object_set_main_page (TotemObject *totem,
const char *page_id);
const char * totem_object_get_main_page (Totem *totem);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]