[totem] main: Rename totem_get_current_time() function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Rename totem_get_current_time() function
- Date: Tue, 19 Mar 2013 09:59:11 +0000 (UTC)
commit 58d259e03a74459aec5deb402d5ac453b57d6378
Author: Bastien Nocera <hadess hadess net>
Date: Tue Mar 19 10:34:17 2013 +0100
main: Rename totem_get_current_time() function
To totem_object_get_current_time()
src/plugins/skipto/totem-skipto-plugin.c | 4 ++--
src/totem-object.c | 4 ++--
src/totem.h | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/skipto/totem-skipto-plugin.c b/src/plugins/skipto/totem-skipto-plugin.c
index a087c18..f2c6c76 100644
--- a/src/plugins/skipto/totem-skipto-plugin.c
+++ b/src/plugins/skipto/totem-skipto-plugin.c
@@ -128,7 +128,7 @@ run_skip_to_dialog (TotemSkiptoPlugin *plugin)
if (priv->st != NULL) {
gtk_window_present (GTK_WINDOW (priv->st));
- totem_skipto_set_current (priv->st, totem_get_current_time
+ totem_skipto_set_current (priv->st, totem_object_get_current_time
(priv->totem));
return;
}
@@ -142,7 +142,7 @@ run_skip_to_dialog (TotemSkiptoPlugin *plugin)
(gpointer *)&(priv->st));
totem_skipto_update_from_state (priv->totem, plugin);
totem_skipto_set_current (priv->st,
- totem_get_current_time (priv->totem));
+ totem_object_get_current_time (priv->totem));
}
static void
diff --git a/src/totem-object.c b/src/totem-object.c
index 0020c0c..e57b64e 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -557,7 +557,7 @@ totem_object_get_version (void)
}
/**
- * totem_get_current_time:
+ * totem_object_get_current_time:
* @totem: a #TotemObject
*
* Gets the current position's time in the stream as a gint64.
@@ -565,7 +565,7 @@ totem_object_get_version (void)
* Return value: the current position in the stream
**/
gint64
-totem_get_current_time (TotemObject *totem)
+totem_object_get_current_time (TotemObject *totem)
{
g_return_val_if_fail (TOTEM_IS_OBJECT (totem), 0);
diff --git a/src/totem.h b/src/totem.h
index 8d900a4..903ac99 100644
--- a/src/totem.h
+++ b/src/totem.h
@@ -212,7 +212,7 @@ char *totem_object_get_version (void);
/* Current media information */
char * totem_get_short_title (TotemObject *totem);
-gint64 totem_get_current_time (TotemObject *totem);
+gint64 totem_object_get_current_time (TotemObject *totem);
/* Playlist handling */
guint totem_object_get_playlist_length (TotemObject *totem);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]