[totem] main: Make get_video_widget() work from Python
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Make get_video_widget() work from Python
- Date: Tue, 3 Jul 2012 18:25:00 +0000 (UTC)
commit daaaeb93da3413804bb1ad83c559955fdd45d4a9
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jul 3 17:13:36 2012 +0100
main: Make get_video_widget() work from Python
docs/reference/totem-sections.txt | 2 +-
src/totem-object.c | 4 ++--
src/totem.h | 3 ++-
3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/totem-sections.txt b/docs/reference/totem-sections.txt
index 8a20182..4089387 100644
--- a/docs/reference/totem-sections.txt
+++ b/docs/reference/totem-sections.txt
@@ -43,8 +43,8 @@ totem_object_is_paused
totem_object_is_seekable
totem_object_get_main_window
totem_object_get_ui_manager
-totem_get_video_widget
totem_object_get_current_mrl
+totem_object_get_video_widget
totem_get_current_time
totem_object_set_current_subtitle
totem_object_get_playlist_length
diff --git a/src/totem-object.c b/src/totem-object.c
index 945b98a..264a79c 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -516,7 +516,7 @@ totem_object_get_ui_manager (TotemObject *totem)
}
/**
- * totem_get_video_widget:
+ * totem_object_get_video_widget:
* @totem: a #TotemObject
*
* Gets Totem's video widget and increments its reference count.
@@ -524,7 +524,7 @@ totem_object_get_ui_manager (TotemObject *totem)
* Return value: (transfer full): Totem's video widget
**/
GtkWidget *
-totem_get_video_widget (TotemObject *totem)
+totem_object_get_video_widget (TotemObject *totem)
{
g_return_val_if_fail (TOTEM_IS_OBJECT (totem), NULL);
diff --git a/src/totem.h b/src/totem.h
index a330beb..d2755a7 100644
--- a/src/totem.h
+++ b/src/totem.h
@@ -237,7 +237,8 @@ gboolean totem_object_is_seekable (TotemObject *totem);
GtkWindow *totem_object_get_main_window (TotemObject *totem);
#define totem_get_ui_manager totem_object_get_ui_manager
GtkUIManager *totem_object_get_ui_manager (TotemObject *totem);
-GtkWidget *totem_get_video_widget (TotemObject *totem);
+ #define totem_get_video_widget totem_object_get_video_widget
+GtkWidget *totem_object_get_video_widget (TotemObject *totem);
#define totem_get_version totem_object_get_version
char *totem_object_get_version (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]