[totem] main: Rename totem_get_short_title() function



commit b29186c622e0dd800ea1cea11ad96faccc64951d
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Mar 19 10:35:46 2013 +0100

    main: Rename totem_get_short_title() function
    
    To totem_object_get_short_title()

 .../brasero-disc-recorder/totem-disc-recorder.c    |    2 +-
 src/plugins/save-file/totem-save-file.c            |    4 ++--
 src/plugins/screenshot/totem-gallery.c             |    2 +-
 src/plugins/screenshot/totem-screenshot-plugin.c   |    2 +-
 src/totem-object.c                                 |    4 ++--
 src/totem.h                                        |    2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/plugins/brasero-disc-recorder/totem-disc-recorder.c 
b/src/plugins/brasero-disc-recorder/totem-disc-recorder.c
index 4dfcab0..097d17d 100644
--- a/src/plugins/brasero-disc-recorder/totem-disc-recorder.c
+++ b/src/plugins/brasero-disc-recorder/totem-disc-recorder.c
@@ -196,7 +196,7 @@ totem_disc_recorder_plugin_write_video_project (TotemDiscRecorderPlugin *pi,
        if (success < 0)
                goto error;
 
-       title = totem_get_short_title (pi->priv->totem);
+       title = totem_object_get_short_title (pi->priv->totem);
        if (title) {
                success = xmlTextWriterWriteElement (project,
                                                     (xmlChar *) "label",
diff --git a/src/plugins/save-file/totem-save-file.c b/src/plugins/save-file/totem-save-file.c
index 6ed05f7..f7a300c 100644
--- a/src/plugins/save-file/totem-save-file.c
+++ b/src/plugins/save-file/totem-save-file.c
@@ -228,7 +228,7 @@ totem_save_file_file_opened (TotemObject *totem,
                action = gtk_action_group_get_action (priv->action_group, "SaveFile");
                gtk_action_set_sensitive (action, TRUE);
                pi->priv->mrl = g_strdup (mrl);
-               pi->priv->name = totem_get_short_title (pi->priv->totem);
+               pi->priv->name = totem_object_get_short_title (pi->priv->totem);
                pi->priv->is_tmp = FALSE;
        }
 }
@@ -252,7 +252,7 @@ totem_save_file_download_filename (GObject    *gobject,
 
        pi->priv->mrl = g_filename_to_uri (filename, NULL, NULL);
        g_free (filename);
-       pi->priv->name = totem_get_short_title (pi->priv->totem);
+       pi->priv->name = totem_object_get_short_title (pi->priv->totem);
        pi->priv->is_tmp = TRUE;
 
        action = gtk_action_group_get_action (pi->priv->action_group, "SaveFile");
diff --git a/src/plugins/screenshot/totem-gallery.c b/src/plugins/screenshot/totem-gallery.c
index 50f1307..965ad13 100644
--- a/src/plugins/screenshot/totem-gallery.c
+++ b/src/plugins/screenshot/totem-gallery.c
@@ -106,7 +106,7 @@ totem_gallery_new (Totem *totem)
                                "gallery_dialog_content"));
        gtk_file_chooser_set_extra_widget (GTK_FILE_CHOOSER (gallery), container);
 
-       movie_title = totem_get_short_title (totem);
+       movie_title = totem_object_get_short_title (totem);
 
        /* Translators: The first argument is the movie title. The second
         * argument is a number which is used to prevent overwriting files.
diff --git a/src/plugins/screenshot/totem-screenshot-plugin.c 
b/src/plugins/screenshot/totem-screenshot-plugin.c
index 3c50f87..e83004e 100644
--- a/src/plugins/screenshot/totem-screenshot-plugin.c
+++ b/src/plugins/screenshot/totem-screenshot-plugin.c
@@ -230,7 +230,7 @@ take_screenshot_action_cb (GtkAction *action, TotemScreenshotPlugin *self)
                return;
        }
 
-       video_name = totem_get_short_title (self->priv->totem);
+       video_name = totem_object_get_short_title (self->priv->totem);
 
        job = g_slice_new (ScreenshotSaveJob);
        job->plugin = self;
diff --git a/src/totem-object.c b/src/totem-object.c
index e57b64e..660a5bd 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -702,7 +702,7 @@ totem_object_get_title_at_playlist_pos (TotemObject *totem, guint playlist_index
 }
 
 /**
- * totem_get_short_title:
+ * totem_object_get_short_title:
  * @totem: a #TotemObject
  *
  * Gets the title of the current entry in the playlist.
@@ -710,7 +710,7 @@ totem_object_get_title_at_playlist_pos (TotemObject *totem, guint playlist_index
  * Return value: the current entry's title, or %NULL; free with g_free()
  **/
 char *
-totem_get_short_title (TotemObject *totem)
+totem_object_get_short_title (TotemObject *totem)
 {
        return totem_playlist_get_current_title (totem->playlist);
 }
diff --git a/src/totem.h b/src/totem.h
index 903ac99..246cc06 100644
--- a/src/totem.h
+++ b/src/totem.h
@@ -211,7 +211,7 @@ GtkWidget *totem_object_get_video_widget    (TotemObject *totem);
 char *totem_object_get_version                 (void);
 
 /* Current media information */
-char * totem_get_short_title                   (TotemObject *totem);
+char * totem_object_get_short_title            (TotemObject *totem);
 gint64 totem_object_get_current_time           (TotemObject *totem);
 
 /* Playlist handling */


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