summaryrefslogtreecommitdiff
path: root/src/plugins/skipto/totem-skipto-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/skipto/totem-skipto-plugin.c')
-rw-r--r--src/plugins/skipto/totem-skipto-plugin.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/skipto/totem-skipto-plugin.c b/src/plugins/skipto/totem-skipto-plugin.c
index 80252d757..b5129d77f 100644
--- a/src/plugins/skipto/totem-skipto-plugin.c
+++ b/src/plugins/skipto/totem-skipto-plugin.c
@@ -139,7 +139,7 @@ skip_to_response_callback (GtkDialog *dialog, gint response, TotemSkiptoPlugin *
gtk_widget_hide (GTK_WIDGET (dialog));
- totem_action_seek_time (plugin->totem,
+ totem_object_seek_time (plugin->totem,
totem_skipto_get_range (plugin->priv->st),
TRUE);
destroy_dialog (plugin);
@@ -150,12 +150,12 @@ run_skip_to_dialog (TotemSkiptoPlugin *plugin)
{
TotemSkiptoPluginPrivate *priv = plugin->priv;
- if (totem_is_seekable (plugin->totem) == FALSE)
+ if (totem_object_is_seekable (plugin->totem) == FALSE)
return;
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
(plugin->totem));
return;
}
@@ -169,7 +169,7 @@ run_skip_to_dialog (TotemSkiptoPlugin *plugin)
(gpointer *)&(priv->st));
totem_skipto_update_from_state (plugin->totem, plugin);
totem_skipto_set_current (priv->st,
- totem_get_current_time (plugin->totem));
+ totem_object_get_current_time (plugin->totem));
}
static void
@@ -220,7 +220,7 @@ impl_activate (PeasActivatable *plugin)
pi);
/* Key press handler */
- window = totem_get_main_window (pi->totem);
+ window = totem_object_get_main_window (pi->totem);
priv->handler_id_key_press = g_signal_connect (G_OBJECT(window),
"key-press-event",
G_CALLBACK (on_window_key_press_event),
@@ -233,7 +233,7 @@ impl_activate (PeasActivatable *plugin)
gtk_action_group_add_actions (priv->action_group, menu_entries,
G_N_ELEMENTS (menu_entries), pi);
- manager = totem_get_ui_manager (pi->totem);
+ manager = totem_object_get_ui_manager (pi->totem);
gtk_ui_manager_insert_action_group (manager, priv->action_group, -1);
g_object_unref (priv->action_group);
@@ -262,7 +262,7 @@ impl_deactivate (PeasActivatable *plugin)
priv->handler_id_seekable);
if (priv->handler_id_key_press != 0) {
- window = totem_get_main_window (totem);
+ window = totem_object_get_main_window (totem);
g_signal_handler_disconnect (G_OBJECT(window),
priv->handler_id_key_press);
priv->handler_id_key_press = 0;
@@ -270,7 +270,7 @@ impl_deactivate (PeasActivatable *plugin)
}
/* Remove the menu */
- manager = totem_get_ui_manager (totem);
+ manager = totem_object_get_ui_manager (totem);
gtk_ui_manager_remove_ui (manager, priv->ui_merge_id);
gtk_ui_manager_remove_action_group (manager, priv->action_group);
}