37 g_clear_pointer (&media->priv->uri, g_free);
39 G_OBJECT_CLASS (ev_media_parent_class)->finalize (
object);
45 GObjectClass *g_object_class = G_OBJECT_CLASS (klass);
49 g_type_class_add_private (g_object_class,
sizeof (
EvMediaPrivate));
64 g_return_val_if_fail (
EV_IS_PAGE (page), NULL);
65 g_return_val_if_fail (uri != NULL, NULL);
68 media->priv->page = page->
index;
69 media->priv->uri = g_strdup (uri);
79 return media->priv->uri;
87 return media->priv->page;
95 return media->priv->show_controls;
100 gboolean show_controls)
104 media->priv->show_controls = show_controls;