#include <config.h>
#include "ev-media.h"
Go to the source code of this file.
Definition at line 43 of file ev-media.c.
45 GObjectClass *g_object_class = G_OBJECT_CLASS (klass);
49 g_type_class_add_private (g_object_class,
sizeof (
EvMediaPrivate));
static void ev_media_finalize |
( |
GObject * |
object) | |
|
|
static |
Definition at line 33 of file ev-media.c.
37 g_clear_pointer (&media->priv->uri, g_free);
39 G_OBJECT_CLASS (ev_media_parent_class)->finalize (
object);
guint ev_media_get_page_index |
( |
EvMedia * |
media) | |
|
Definition at line 83 of file ev-media.c.
87 return media->priv->page;
gboolean ev_media_get_show_controls |
( |
EvMedia * |
media) | |
|
Definition at line 91 of file ev-media.c.
95 return media->priv->show_controls;
const gchar* ev_media_get_uri |
( |
EvMedia * |
media) | |
|
Definition at line 75 of file ev-media.c.
79 return media->priv->uri;
static void ev_media_init |
( |
EvMedia * |
media) | |
|
|
static |
EvMedia* ev_media_new_for_uri |
( |
EvPage * |
page, |
|
|
const gchar * |
uri |
|
) |
| |
Definition at line 59 of file ev-media.c.
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);
void ev_media_set_show_controls |
( |
EvMedia * |
media, |
|
|
gboolean |
show_controls |
|
) |
| |
Definition at line 99 of file ev-media.c.
104 media->priv->show_controls = show_controls;