Commit b29186c6 authored by Bastien Nocera's avatar Bastien Nocera

main: Rename totem_get_short_title() function

To totem_object_get_short_title()
parent 58d259e0
......@@ -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",
......
......@@ -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");
......
......@@ -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.
......
......@@ -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;
......
......@@ -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);
}
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment