Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Enumerations | Functions | Variables
unity-previews.c File Reference
#include <glib.h>
#include <glib-object.h>
#include "unity.h"
#include <unity-protocol.h>
#include <stdlib.h>
#include <string.h>
#include <dee.h>
#include <gio/gio.h>
#include <float.h>
#include <math.h>

Go to the source code of this file.

Classes

struct  _UnityPreviewPrivate
struct  _UnityPreviewActionPrivate
struct  _UnityInfoHintPrivate
struct  _UnityApplicationPreviewPrivate
struct  _UnityMusicPreviewPrivate
struct  _UnityMoviePreviewPrivate
struct  _UnitySeriesItemPrivate
struct  _UnitySeriesPreviewPrivate
struct  _UnityAsyncPreview
struct  _UnityAsyncPreviewClass
struct  _UnityAsyncPreviewPrivate

Defines

#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_ptr_array_unref0(var)   ((var == NULL) ? NULL : (var = (g_ptr_array_unref (var), NULL)))
#define _g_free0(var)   (var = (g_free (var), NULL))
#define _g_variant_unref0(var)   ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define _g_hash_table_unref0(var)   ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define _g_error_free0(var)   ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_variant_type_free0(var)   ((var == NULL) ? NULL : (var = (g_variant_type_free (var), NULL)))
#define UNITY_MUSIC_PREVIEW_TYPE_TRACK_DATA_COLUMNS   (unity_music_preview_track_data_columns_get_type ())
#define UNITY_TYPE_ASYNC_PREVIEW   (unity_async_preview_get_type ())
#define UNITY_ASYNC_PREVIEW(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_ASYNC_PREVIEW, UnityAsyncPreview))
#define UNITY_ASYNC_PREVIEW_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_ASYNC_PREVIEW, UnityAsyncPreviewClass))
#define UNITY_IS_ASYNC_PREVIEW(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_ASYNC_PREVIEW))
#define UNITY_IS_ASYNC_PREVIEW_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_ASYNC_PREVIEW))
#define UNITY_ASYNC_PREVIEW_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_ASYNC_PREVIEW, UnityAsyncPreviewClass))
#define UNITY_PREVIEW_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_PREVIEW, UnityPreviewPrivate))
#define UNITY_PREVIEW_ACTION_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_PREVIEW_ACTION, UnityPreviewActionPrivate))
#define UNITY_INFO_HINT_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_INFO_HINT, UnityInfoHintPrivate))
#define UNITY_APPLICATION_PREVIEW_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_APPLICATION_PREVIEW, UnityApplicationPreviewPrivate))
#define UNITY_MUSIC_PREVIEW_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MUSIC_PREVIEW, UnityMusicPreviewPrivate))
#define UNITY_MOVIE_PREVIEW_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MOVIE_PREVIEW, UnityMoviePreviewPrivate))
#define UNITY_SERIES_ITEM_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SERIES_ITEM, UnitySeriesItemPrivate))
#define UNITY_SERIES_PREVIEW_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SERIES_PREVIEW, UnitySeriesPreviewPrivate))
#define UNITY_ASYNC_PREVIEW_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_ASYNC_PREVIEW, UnityAsyncPreviewPrivate))

Typedefs

typedef struct _UnityAsyncPreview
typedef struct _UnityAsyncPreviewClass
typedef struct _UnityAsyncPreviewPrivate

Enumerations

enum  UnityMusicPreviewTrackDataColumns {
  UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_URI, UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_TRACK_NO, UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_TITLE, UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_LENGTH,
  UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PLAYING, UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PROGRESS
}
enum  {
  UNITY_PREVIEW_DUMMY_PROPERTY, UNITY_PREVIEW_TITLE, UNITY_PREVIEW_SUBTITLE, UNITY_PREVIEW_DESCRIPTION_MARKUP,
  UNITY_PREVIEW_THUMBNAIL
}
enum  {
  UNITY_PREVIEW_ACTION_DUMMY_PROPERTY, UNITY_PREVIEW_ACTION_ID, UNITY_PREVIEW_ACTION_DISPLAY_NAME, UNITY_PREVIEW_ACTION_ICON_HINT,
  UNITY_PREVIEW_ACTION_LAYOUT_HINT
}
enum  {
  UNITY_INFO_HINT_DUMMY_PROPERTY, UNITY_INFO_HINT_ID, UNITY_INFO_HINT_DISPLAY_NAME, UNITY_INFO_HINT_ICON_HINT,
  UNITY_INFO_HINT_DATA
}
enum  { UNITY_GENERIC_PREVIEW_DUMMY_PROPERTY }
enum  {
  UNITY_APPLICATION_PREVIEW_DUMMY_PROPERTY, UNITY_APPLICATION_PREVIEW_APP_ICON, UNITY_APPLICATION_PREVIEW_LICENSE, UNITY_APPLICATION_PREVIEW_COPYRIGHT,
  UNITY_APPLICATION_PREVIEW_LAST_UPDATE
}
enum  { UNITY_MUSIC_PREVIEW_DUMMY_PROPERTY, UNITY_MUSIC_PREVIEW_CURRENT_TRACK_URI, UNITY_MUSIC_PREVIEW_CURRENT_PROGRESS, UNITY_MUSIC_PREVIEW_CURRENT_TRACK_STATE }
enum  { UNITY_SERIES_ITEM_DUMMY_PROPERTY, UNITY_SERIES_ITEM_URI, UNITY_SERIES_ITEM_TITLE, UNITY_SERIES_ITEM_ICON_HINT }
enum  { UNITY_SERIES_PREVIEW_DUMMY_PROPERTY, UNITY_SERIES_PREVIEW_CURRENT_ITEM_URI }

Functions

static void _g_object_unref0_ (gpointer var)
UnityProtocolPreview * unity_preview_get_raw (UnityPreview *self)
GObject * unity_preview_create_raw (UnityPreview *self)
static GObject * unity_preview_real_create_raw (UnityPreview *self)
GHashTable * unity_preview_update_property (UnityPreview *self, GHashTable *values)
static GHashTable * unity_preview_real_update_property (UnityPreview *self, GHashTable *values)
static void _g_free0_ (gpointer var)
static void _g_variant_unref0_ (gpointer var)
GPtrArray * unity_preview_get_actions (UnityPreview *self)
static GVariant * unity_preview_real_serialize (DeeSerializable *base)
void unity_preview_dummy1 (UnityPreview *self)
static void unity_preview_real_dummy1 (UnityPreview *self)
void unity_preview_dummy2 (UnityPreview *self)
static void unity_preview_real_dummy2 (UnityPreview *self)
void unity_preview_dummy3 (UnityPreview *self)
static void unity_preview_real_dummy3 (UnityPreview *self)
void unity_preview_dummy4 (UnityPreview *self)
static void unity_preview_real_dummy4 (UnityPreview *self)
static GObject * unity_preview_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void unity_preview_finalize (GObject *obj)
static void _vala_unity_preview_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_preview_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static GVariant * unity_preview_action_real_serialize (DeeSerializable *base)
static GVariant * _variant_new17 (const gchar *value)
static GVariant * _variant_new18 (const gchar *value)
static GVariant * _variant_new19 (guint value)
static GVariant * _variant_new20 (GHashTable *value)
void unity_preview_action_dummy1 (UnityPreviewAction *self)
static void unity_preview_action_real_dummy1 (UnityPreviewAction *self)
void unity_preview_action_dummy2 (UnityPreviewAction *self)
static void unity_preview_action_real_dummy2 (UnityPreviewAction *self)
void unity_preview_action_dummy3 (UnityPreviewAction *self)
static void unity_preview_action_real_dummy3 (UnityPreviewAction *self)
void unity_preview_action_dummy4 (UnityPreviewAction *self)
static void unity_preview_action_real_dummy4 (UnityPreviewAction *self)
static void g_cclosure_user_marshal_OBJECT__STRING (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data)
static GObject * _unity_preview_action___lambda4_ (GVariant *data)
static GObject * __unity_preview_action___lambda4__dee_serializable_parse_func (GVariant *data)
static void unity_preview_action_finalize (GObject *obj)
static void _vala_unity_preview_action_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_preview_action_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void unity_info_hint_finalize (GObject *obj)
static void _vala_unity_info_hint_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_info_hint_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static GObject * unity_generic_preview_real_create_raw (UnityPreview *base)
static GObject * unity_application_preview_real_create_raw (UnityPreview *base)
static void unity_application_preview_finalize (GObject *obj)
static void _vala_unity_application_preview_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_application_preview_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static GType unity_music_preview_track_data_columns_get_type (void)
static GObject * unity_movie_preview_real_create_raw (UnityPreview *base)
static void unity_movie_preview_finalize (GObject *obj)
static void _vala_unity_movie_preview_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_movie_preview_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void unity_series_item_finalize (GObject *obj)
static void _vala_unity_series_item_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_series_item_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void unity_series_preview_add_item (UnitySeriesPreview *self, UnitySeriesItem *item)
static void unity_series_preview_update_child_preview (UnitySeriesPreview *self, const gchar *uri, gint item_index)
static GHashTable * unity_series_preview_real_update_property (UnityPreview *base, GHashTable *values)
UnityPreview * unity_series_preview_get_active_preview (UnitySeriesPreview *self)
static GVariant * unity_series_preview_real_serialize (DeeSerializable *base)
static GObject * unity_series_preview_real_create_raw (UnityPreview *base)
static void unity_series_preview_finalize (GObject *obj)
static void _vala_unity_series_preview_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_series_preview_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
GType unity_async_preview_get_type (void)
UnityAsyncPreview * unity_async_preview_new (void)
UnityAsyncPreview * unity_async_preview_construct (GType object_type)
static GObject * unity_async_preview_real_create_raw (UnityPreview *base)
GCancellable * unity_async_preview_get_cancellable (UnityAsyncPreview *self)
static void unity_async_preview_set_cancellable (UnityAsyncPreview *self, GCancellable *value)
static void unity_async_preview_finalize (GObject *obj)
static void _vala_unity_async_preview_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_async_preview_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func)
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func)
static gint _vala_array_length (gpointer array)
static gpointer _g_object_ref0 (gpointer self)
void unity_preview_add_action (UnityPreview *self, UnityPreviewAction *action)
void unity_preview_add_info (UnityPreview *self, UnityInfoHint *info_hint)
UnityPreview * unity_preview_construct (GType object_type)
const gchar * unity_preview_get_title (UnityPreview *self)
void unity_preview_set_title (UnityPreview *self, const gchar *value)
const gchar * unity_preview_get_subtitle (UnityPreview *self)
void unity_preview_set_subtitle (UnityPreview *self, const gchar *value)
const gchar * unity_preview_get_description_markup (UnityPreview *self)
void unity_preview_set_description_markup (UnityPreview *self, const gchar *value)
GIcon * unity_preview_get_thumbnail (UnityPreview *self)
void unity_preview_set_thumbnail (UnityPreview *self, GIcon *value)
static void unity_preview_class_init (UnityPreviewClass *klass)
static void unity_preview_dee_serializable_interface_init (DeeSerializableIface *iface)
static void unity_preview_instance_init (UnityPreview *self)
GType unity_preview_get_type (void)
GType unity_layout_hint_get_type (void)
UnityPreviewAction * unity_preview_action_construct (GType object_type, const gchar *id, const gchar *display_name, GIcon *icon_hint)
UnityPreviewAction * unity_preview_action_new (const gchar *id, const gchar *display_name, GIcon *icon_hint)
UnityPreviewAction * unity_preview_action_construct_with_layout_hint (GType object_type, const gchar *id, const gchar *display_name, GIcon *icon_hint, UnityLayoutHint layout)
UnityPreviewAction * unity_preview_action_new_with_layout_hint (const gchar *id, const gchar *display_name, GIcon *icon_hint, UnityLayoutHint layout)
const gchar * unity_preview_action_get_id (UnityPreviewAction *self)
static void unity_preview_action_set_id (UnityPreviewAction *self, const gchar *value)
const gchar * unity_preview_action_get_display_name (UnityPreviewAction *self)
static void unity_preview_action_set_display_name (UnityPreviewAction *self, const gchar *value)
GIcon * unity_preview_action_get_icon_hint (UnityPreviewAction *self)
static void unity_preview_action_set_icon_hint (UnityPreviewAction *self, GIcon *value)
UnityLayoutHint unity_preview_action_get_layout_hint (UnityPreviewAction *self)
static void unity_preview_action_set_layout_hint (UnityPreviewAction *self, UnityLayoutHint value)
static void unity_preview_action_class_init (UnityPreviewActionClass *klass)
static void unity_preview_action_dee_serializable_interface_init (DeeSerializableIface *iface)
static void unity_preview_action_instance_init (UnityPreviewAction *self)
GType unity_preview_action_get_type (void)
UnityInfoHint * unity_info_hint_construct (GType object_type, const gchar *id, const gchar *display_name, GIcon *icon_hint, const gchar *data)
UnityInfoHint * unity_info_hint_new (const gchar *id, const gchar *display_name, GIcon *icon_hint, const gchar *data)
UnityInfoHint * unity_info_hint_construct_with_variant (GType object_type, const gchar *id, const gchar *display_name, GIcon *icon_hint, GVariant *data)
UnityInfoHint * unity_info_hint_new_with_variant (const gchar *id, const gchar *display_name, GIcon *icon_hint, GVariant *data)
const gchar * unity_info_hint_get_id (UnityInfoHint *self)
static void unity_info_hint_set_id (UnityInfoHint *self, const gchar *value)
const gchar * unity_info_hint_get_display_name (UnityInfoHint *self)
static void unity_info_hint_set_display_name (UnityInfoHint *self, const gchar *value)
GIcon * unity_info_hint_get_icon_hint (UnityInfoHint *self)
static void unity_info_hint_set_icon_hint (UnityInfoHint *self, GIcon *value)
GVariant * unity_info_hint_get_data (UnityInfoHint *self)
static gpointer _g_variant_ref0 (gpointer self)
static void unity_info_hint_set_data (UnityInfoHint *self, GVariant *value)
static void unity_info_hint_class_init (UnityInfoHintClass *klass)
static void unity_info_hint_instance_init (UnityInfoHint *self)
GType unity_info_hint_get_type (void)
UnityGenericPreview * unity_generic_preview_construct (GType object_type, const gchar *title, const gchar *description, GIcon *thumbnail)
UnityGenericPreview * unity_generic_preview_new (const gchar *title, const gchar *description, GIcon *thumbnail)
static void unity_generic_preview_class_init (UnityGenericPreviewClass *klass)
static void unity_generic_preview_instance_init (UnityGenericPreview *self)
GType unity_generic_preview_get_type (void)
UnityApplicationPreview * unity_application_preview_construct (GType object_type, const gchar *title, const gchar *subtitle, const gchar *description, GIcon *icon, GIcon *screenshot)
UnityApplicationPreview * unity_application_preview_new (const gchar *title, const gchar *subtitle, const gchar *description, GIcon *icon, GIcon *screenshot)
void unity_application_preview_set_rating (UnityApplicationPreview *self, gfloat rating, guint num_ratings)
GIcon * unity_application_preview_get_app_icon (UnityApplicationPreview *self)
void unity_application_preview_set_app_icon (UnityApplicationPreview *self, GIcon *value)
const gchar * unity_application_preview_get_license (UnityApplicationPreview *self)
void unity_application_preview_set_license (UnityApplicationPreview *self, const gchar *value)
const gchar * unity_application_preview_get_copyright (UnityApplicationPreview *self)
void unity_application_preview_set_copyright (UnityApplicationPreview *self, const gchar *value)
const gchar * unity_application_preview_get_last_update (UnityApplicationPreview *self)
void unity_application_preview_set_last_update (UnityApplicationPreview *self, const gchar *value)
static void unity_application_preview_class_init (UnityApplicationPreviewClass *klass)
static void unity_application_preview_instance_init (UnityApplicationPreview *self)
GType unity_application_preview_get_type (void)
GType unity_music_preview_track_state_get_type (void)
UnityMusicPreview * unity_music_preview_construct (GType object_type, const gchar *title, const gchar *subtitle, GIcon *thumbnail)
UnityMusicPreview * unity_music_preview_new (const gchar *title, const gchar *subtitle, GIcon *thumbnail)
static GObject * unity_music_preview_real_create_raw (UnityPreview *base)
void unity_music_preview_add_track (UnityMusicPreview *self, UnityTrackMetadata *track)
static GVariant * _variant_new21 (gboolean value)
static GVariant * _variant_new22 (gdouble value)
static GVariant * _variant_new23 (gboolean value)
static GVariant * _variant_new24 (gdouble value)
static void unity_music_preview_update_track_state (UnityMusicPreview *self)
static GHashTable * unity_music_preview_real_update_property (UnityPreview *base, GHashTable *values)
static void unity_music_preview_init_model (UnityMusicPreview *self)
const gchar * unity_music_preview_get_current_track_uri (UnityMusicPreview *self)
void unity_music_preview_set_current_track_uri (UnityMusicPreview *self, const gchar *value)
gfloat unity_music_preview_get_current_progress (UnityMusicPreview *self)
void unity_music_preview_set_current_progress (UnityMusicPreview *self, gfloat value)
UnityMusicPreviewTrackState unity_music_preview_get_current_track_state (UnityMusicPreview *self)
void unity_music_preview_set_current_track_state (UnityMusicPreview *self, UnityMusicPreviewTrackState value)
static void unity_music_preview_class_init (UnityMusicPreviewClass *klass)
static void unity_music_preview_instance_init (UnityMusicPreview *self)
static void unity_music_preview_finalize (GObject *obj)
GType unity_music_preview_get_type (void)
static void _vala_unity_music_preview_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_music_preview_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
UnityMoviePreview * unity_movie_preview_construct (GType object_type, const gchar *title, const gchar *subtitle, const gchar *description, GIcon *thumbnail)
UnityMoviePreview * unity_movie_preview_new (const gchar *title, const gchar *subtitle, const gchar *description, GIcon *thumbnail)
void unity_movie_preview_set_rating (UnityMoviePreview *self, gfloat rating, guint num_ratings)
const gchar * unity_movie_preview_get_year (UnityMoviePreview *self)
void unity_movie_preview_set_year (UnityMoviePreview *self, const gchar *value)
static void unity_movie_preview_class_init (UnityMoviePreviewClass *klass)
static void unity_movie_preview_instance_init (UnityMoviePreview *self)
GType unity_movie_preview_get_type (void)
UnitySeriesItem * unity_series_item_construct (GType object_type, const gchar *uri, const gchar *title, GIcon *icon_hint)
UnitySeriesItem * unity_series_item_new (const gchar *uri, const gchar *title, GIcon *icon_hint)
const gchar * unity_series_item_get_uri (UnitySeriesItem *self)
static void unity_series_item_set_uri (UnitySeriesItem *self, const gchar *value)
const gchar * unity_series_item_get_title (UnitySeriesItem *self)
static void unity_series_item_set_title (UnitySeriesItem *self, const gchar *value)
GIcon * unity_series_item_get_icon_hint (UnitySeriesItem *self)
static void unity_series_item_set_icon_hint (UnitySeriesItem *self, GIcon *value)
static void unity_series_item_class_init (UnitySeriesItemClass *klass)
static void unity_series_item_instance_init (UnitySeriesItem *self)
GType unity_series_item_get_type (void)
UnitySeriesPreview * unity_series_preview_construct (GType object_type, UnitySeriesItem **items, int items_length1, const gchar *selected_item_uri)
UnitySeriesPreview * unity_series_preview_new (UnitySeriesItem **items, int items_length1, const gchar *selected_item_uri)
const gchar * unity_series_preview_get_current_item_uri (UnitySeriesPreview *self)
static void unity_series_preview_set_current_item_uri (UnitySeriesPreview *self, const gchar *value)
static void unity_series_preview_class_init (UnitySeriesPreviewClass *klass)
static void unity_series_preview_dee_serializable_interface_init (DeeSerializableIface *iface)
static void unity_series_preview_instance_init (UnitySeriesPreview *self)
GType unity_series_preview_get_type (void)
static void unity_async_preview_class_init (UnityAsyncPreviewClass *klass)
static void unity_async_preview_instance_init (UnityAsyncPreview *self)

Variables

static gpointer unity_preview_parent_class = NULL
static DeeSerializableIface * unity_preview_dee_serializable_parent_iface = NULL
static gpointer unity_preview_action_parent_class = NULL
static DeeSerializableIface * unity_preview_action_dee_serializable_parent_iface = NULL
static gpointer unity_info_hint_parent_class = NULL
static gpointer unity_generic_preview_parent_class = NULL
static gpointer unity_application_preview_parent_class = NULL
static gpointer unity_music_preview_parent_class = NULL
static gpointer unity_movie_preview_parent_class = NULL
static gpointer unity_series_item_parent_class = NULL
static gpointer unity_series_preview_parent_class = NULL
static DeeSerializableIface * unity_series_preview_dee_serializable_parent_iface = NULL
static gpointer unity_async_preview_parent_class = NULL

Class Documentation

struct _UnityPreviewPrivate

Definition at line 56 of file unity-previews.c.

Class Members
GPtrArray * _actions
UnityProtocolPreview * _raw
struct _UnityPreviewActionPrivate

Definition at line 61 of file unity-previews.c.

Class Members
gchar * _display_name
GIcon * _icon_hint
gchar * _id
UnityLayoutHint _layout_hint
struct _UnityInfoHintPrivate

Definition at line 68 of file unity-previews.c.

Class Members
GVariant * _data
gchar * _display_name
GIcon * _icon_hint
gchar * _id
struct _UnityApplicationPreviewPrivate

Definition at line 75 of file unity-previews.c.

Class Members
UnityProtocolApplicationPreview * _raw
struct _UnityMusicPreviewPrivate

Definition at line 79 of file unity-previews.c.

Class Members
gfloat _current_progress
UnityMusicPreviewTrackState _current_track_state
gchar * _current_track_uri
UnityProtocolMusicPreview * _raw
DeeSharedModel * _track_data
struct _UnityMoviePreviewPrivate

Definition at line 96 of file unity-previews.c.

Class Members
UnityProtocolMoviePreview * _raw
struct _UnitySeriesItemPrivate

Definition at line 100 of file unity-previews.c.

Class Members
GIcon * _icon_hint
gchar * _title
gchar * _uri
struct _UnitySeriesPreviewPrivate

Definition at line 106 of file unity-previews.c.

Class Members
UnityPreview * _child_preview
gchar * _current_item_uri
UnityProtocolSeriesPreview * _raw
gint _selected_item
struct _UnityAsyncPreview

Definition at line 955 of file unity-internal.h.

Class Members
UnityPreview parent_instance
UnityAsyncPreviewPrivate * priv
struct _UnityAsyncPreviewClass

Definition at line 960 of file unity-internal.h.

Class Members
UnityPreviewClass parent_class
struct _UnityAsyncPreviewPrivate

Definition at line 122 of file unity-previews.c.

Class Members
GCancellable * _cancellable

Define Documentation

#define _g_error_free0 (   var)    ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

Definition at line 40 of file unity-previews.c.

#define _g_free0 (   var)    (var = (g_free (var), NULL))

Definition at line 37 of file unity-previews.c.

#define _g_hash_table_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))

Definition at line 39 of file unity-previews.c.

#define _g_object_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

Definition at line 35 of file unity-previews.c.

#define _g_ptr_array_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_ptr_array_unref (var), NULL)))

Definition at line 36 of file unity-previews.c.

#define _g_variant_type_free0 (   var)    ((var == NULL) ? NULL : (var = (g_variant_type_free (var), NULL)))

Definition at line 41 of file unity-previews.c.

#define _g_variant_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))

Definition at line 38 of file unity-previews.c.

#define UNITY_APPLICATION_PREVIEW_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_APPLICATION_PREVIEW, UnityApplicationPreviewPrivate))

Definition at line 213 of file unity-previews.c.

#define UNITY_ASYNC_PREVIEW (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_ASYNC_PREVIEW, UnityAsyncPreview))

Definition at line 46 of file unity-previews.c.

#define UNITY_ASYNC_PREVIEW_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_ASYNC_PREVIEW, UnityAsyncPreviewClass))

Definition at line 47 of file unity-previews.c.

#define UNITY_ASYNC_PREVIEW_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_ASYNC_PREVIEW, UnityAsyncPreviewClass))

Definition at line 50 of file unity-previews.c.

#define UNITY_ASYNC_PREVIEW_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_ASYNC_PREVIEW, UnityAsyncPreviewPrivate))
#define UNITY_INFO_HINT_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_INFO_HINT, UnityInfoHintPrivate))

Definition at line 198 of file unity-previews.c.

#define UNITY_IS_ASYNC_PREVIEW (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_ASYNC_PREVIEW))

Definition at line 48 of file unity-previews.c.

#define UNITY_IS_ASYNC_PREVIEW_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_ASYNC_PREVIEW))

Definition at line 49 of file unity-previews.c.

#define UNITY_MOVIE_PREVIEW_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MOVIE_PREVIEW, UnityMoviePreviewPrivate))
#define UNITY_MUSIC_PREVIEW_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MUSIC_PREVIEW, UnityMusicPreviewPrivate))

Definition at line 225 of file unity-previews.c.

Definition at line 43 of file unity-previews.c.

#define UNITY_PREVIEW_ACTION_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_PREVIEW_ACTION, UnityPreviewActionPrivate))

Definition at line 171 of file unity-previews.c.

#define UNITY_PREVIEW_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_PREVIEW, UnityPreviewPrivate))

Definition at line 141 of file unity-previews.c.

#define UNITY_SERIES_ITEM_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SERIES_ITEM, UnitySeriesItemPrivate))

Definition at line 253 of file unity-previews.c.

#define UNITY_SERIES_PREVIEW_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SERIES_PREVIEW, UnitySeriesPreviewPrivate))

Definition at line 263 of file unity-previews.c.

Definition at line 45 of file unity-previews.c.


Typedef Documentation

typedef struct _UnityAsyncPreview

Definition at line 52 of file unity-previews.c.

typedef struct _UnityAsyncPreviewClass

Definition at line 53 of file unity-previews.c.

typedef struct _UnityAsyncPreviewPrivate

Definition at line 54 of file unity-previews.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
UNITY_PREVIEW_DUMMY_PROPERTY 
UNITY_PREVIEW_TITLE 
UNITY_PREVIEW_SUBTITLE 
UNITY_PREVIEW_DESCRIPTION_MARKUP 
UNITY_PREVIEW_THUMBNAIL 

Definition at line 142 of file unity-previews.c.

anonymous enum
Enumerator:
UNITY_PREVIEW_ACTION_DUMMY_PROPERTY 
UNITY_PREVIEW_ACTION_ID 
UNITY_PREVIEW_ACTION_DISPLAY_NAME 
UNITY_PREVIEW_ACTION_ICON_HINT 
UNITY_PREVIEW_ACTION_LAYOUT_HINT 

Definition at line 172 of file unity-previews.c.

anonymous enum
Enumerator:
UNITY_INFO_HINT_DUMMY_PROPERTY 
UNITY_INFO_HINT_ID 
UNITY_INFO_HINT_DISPLAY_NAME 
UNITY_INFO_HINT_ICON_HINT 
UNITY_INFO_HINT_DATA 

Definition at line 199 of file unity-previews.c.

anonymous enum
Enumerator:
UNITY_GENERIC_PREVIEW_DUMMY_PROPERTY 

Definition at line 209 of file unity-previews.c.

anonymous enum
Enumerator:
UNITY_APPLICATION_PREVIEW_DUMMY_PROPERTY 
UNITY_APPLICATION_PREVIEW_APP_ICON 
UNITY_APPLICATION_PREVIEW_LICENSE 
UNITY_APPLICATION_PREVIEW_COPYRIGHT 
UNITY_APPLICATION_PREVIEW_LAST_UPDATE 

Definition at line 214 of file unity-previews.c.

anonymous enum
Enumerator:
UNITY_MUSIC_PREVIEW_DUMMY_PROPERTY 
UNITY_MUSIC_PREVIEW_CURRENT_TRACK_URI 
UNITY_MUSIC_PREVIEW_CURRENT_PROGRESS 
UNITY_MUSIC_PREVIEW_CURRENT_TRACK_STATE 

Definition at line 226 of file unity-previews.c.

anonymous enum
Enumerator:
UNITY_SERIES_ITEM_DUMMY_PROPERTY 
UNITY_SERIES_ITEM_URI 
UNITY_SERIES_ITEM_TITLE 
UNITY_SERIES_ITEM_ICON_HINT 

Definition at line 254 of file unity-previews.c.

anonymous enum
Enumerator:
UNITY_SERIES_PREVIEW_DUMMY_PROPERTY 
UNITY_SERIES_PREVIEW_CURRENT_ITEM_URI 

Definition at line 264 of file unity-previews.c.

Enumerator:
UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_URI 
UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_TRACK_NO 
UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_TITLE 
UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_LENGTH 
UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PLAYING 
UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PROGRESS 

Definition at line 87 of file unity-previews.c.


Function Documentation

static GObject * __unity_preview_action___lambda4__dee_serializable_parse_func ( GVariant *  data) [static]

Definition at line 1149 of file unity-previews.c.

                                                                                               {
       GObject* result;
       result = _unity_preview_action___lambda4_ (data);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _g_free0_ ( gpointer  var) [static]

Definition at line 408 of file unity-previews.c.

                                     {
       var = (g_free (var), NULL);
}

Here is the caller graph for this function:

static gpointer _g_object_ref0 ( gpointer  self) [static]

Definition at line 323 of file unity-previews.c.

                                               {
       return self ? g_object_ref (self) : NULL;
}

Here is the caller graph for this function:

static void _g_object_unref0_ ( gpointer  var) [static]

Definition at line 296 of file unity-previews.c.

                                             {
       (var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
}

Here is the caller graph for this function:

static gpointer _g_variant_ref0 ( gpointer  self) [static]

Definition at line 1390 of file unity-previews.c.

                                                {
       return self ? g_variant_ref (self) : NULL;
}

Here is the caller graph for this function:

static void _g_variant_unref0_ ( gpointer  var) [static]

Definition at line 413 of file unity-previews.c.

                                              {
       (var == NULL) ? NULL : (var = (g_variant_unref (var), NULL));
}

Here is the caller graph for this function:

static GObject * _unity_preview_action___lambda4_ ( GVariant *  data) [static]

Definition at line 1044 of file unity-previews.c.

                                                                  {
       GObject* result = NULL;
       GVariant* _tmp0_;
       GVariant* _tmp1_ = NULL;
       GVariant* _tmp2_;
       const gchar* _tmp3_ = NULL;
       const gchar* _tmp4_;
       const gchar* icon_hint;
       GIcon* icon;
       gboolean _tmp5_ = FALSE;
       const gchar* _tmp6_;
       gboolean _tmp8_;
       GVariant* _tmp14_;
       GVariant* _tmp15_ = NULL;
       GVariant* _tmp16_;
       const gchar* _tmp17_ = NULL;
       GVariant* _tmp18_;
       GVariant* _tmp19_ = NULL;
       GVariant* _tmp20_;
       const gchar* _tmp21_ = NULL;
       GIcon* _tmp22_;
       GVariant* _tmp23_;
       GVariant* _tmp24_ = NULL;
       GVariant* _tmp25_;
       guint32 _tmp26_ = 0U;
       UnityPreviewAction* _tmp27_;
       GObject* _tmp28_;
       GError * _inner_error_ = NULL;
       g_return_val_if_fail (data != NULL, NULL);
       _tmp0_ = data;
       _tmp1_ = g_variant_get_child_value (_tmp0_, (gsize) 2);
       _tmp2_ = _tmp1_;
       _tmp3_ = g_variant_get_string (_tmp2_, NULL);
       _tmp4_ = _tmp3_;
       _g_variant_unref0 (_tmp2_);
       icon_hint = _tmp4_;
       icon = NULL;
       _tmp6_ = icon_hint;
       if (_tmp6_ != NULL) {
              const gchar* _tmp7_;
              _tmp7_ = icon_hint;
              _tmp5_ = g_strcmp0 (_tmp7_, "") != 0;
       } else {
              _tmp5_ = FALSE;
       }
       _tmp8_ = _tmp5_;
       if (_tmp8_) {
              {
                     const gchar* _tmp9_;
                     GIcon* _tmp10_ = NULL;
                     GIcon* _tmp11_;
                     _tmp9_ = icon_hint;
                     _tmp10_ = g_icon_new_for_string (_tmp9_, &_inner_error_);
                     _tmp11_ = _tmp10_;
                     if (_inner_error_ != NULL) {
                            goto __catch18_g_error;
                     }
                     _g_object_unref0 (icon);
                     icon = _tmp11_;
              }
              goto __finally18;
              __catch18_g_error:
              {
                     GError* err = NULL;
                     GError* _tmp12_;
                     const gchar* _tmp13_;
                     err = _inner_error_;
                     _inner_error_ = NULL;
                     _tmp12_ = err;
                     _tmp13_ = _tmp12_->message;
                     g_warning ("unity-previews.vala:173: Failed to deserialize GIcon: %s", _tmp13_);
                     _g_error_free0 (err);
              }
              __finally18:
              if (_inner_error_ != NULL) {
                     _g_object_unref0 (icon);
                     g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
                     g_clear_error (&_inner_error_);
                     return NULL;
              }
       }
       _tmp14_ = data;
       _tmp15_ = g_variant_get_child_value (_tmp14_, (gsize) 0);
       _tmp16_ = _tmp15_;
       _tmp17_ = g_variant_get_string (_tmp16_, NULL);
       _tmp18_ = data;
       _tmp19_ = g_variant_get_child_value (_tmp18_, (gsize) 1);
       _tmp20_ = _tmp19_;
       _tmp21_ = g_variant_get_string (_tmp20_, NULL);
       _tmp22_ = icon;
       _tmp23_ = data;
       _tmp24_ = g_variant_get_child_value (_tmp23_, (gsize) 3);
       _tmp25_ = _tmp24_;
       _tmp26_ = g_variant_get_uint32 (_tmp25_);
       _tmp27_ = unity_preview_action_new_with_layout_hint (_tmp17_, _tmp21_, _tmp22_, (UnityLayoutHint) _tmp26_);
       _tmp28_ = (GObject*) _tmp27_;
       _g_variant_unref0 (_tmp25_);
       _g_variant_unref0 (_tmp20_);
       _g_variant_unref0 (_tmp16_);
       result = _tmp28_;
       _g_object_unref0 (icon);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_array_destroy ( gpointer  array,
gint  array_length,
GDestroyNotify  destroy_func 
) [static]

Definition at line 3185 of file unity-previews.c.

                                                                                                 {
       if ((array != NULL) && (destroy_func != NULL)) {
              int i;
              for (i = 0; i < array_length; i = i + 1) {
                     if (((gpointer*) array)[i] != NULL) {
                            destroy_func (((gpointer*) array)[i]);
                     }
              }
       }
}

Here is the caller graph for this function:

static void _vala_array_free ( gpointer  array,
gint  array_length,
GDestroyNotify  destroy_func 
) [static]

Definition at line 3197 of file unity-previews.c.

                                                                                              {
       _vala_array_destroy (array, array_length, destroy_func);
       g_free (array);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gint _vala_array_length ( gpointer  array) [static]

Definition at line 3203 of file unity-previews.c.

                                                {
       int length;
       length = 0;
       if (array) {
              while (((gpointer*) array)[length]) {
                     length++;
              }
       }
       return length;
}

Here is the caller graph for this function:

static void _vala_unity_application_preview_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1744 of file unity-previews.c.

                                                                                                                                   {
       UnityApplicationPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_APPLICATION_PREVIEW, UnityApplicationPreview);
       switch (property_id) {
              case UNITY_APPLICATION_PREVIEW_APP_ICON:
              g_value_set_object (value, unity_application_preview_get_app_icon (self));
              break;
              case UNITY_APPLICATION_PREVIEW_LICENSE:
              g_value_set_string (value, unity_application_preview_get_license (self));
              break;
              case UNITY_APPLICATION_PREVIEW_COPYRIGHT:
              g_value_set_string (value, unity_application_preview_get_copyright (self));
              break;
              case UNITY_APPLICATION_PREVIEW_LAST_UPDATE:
              g_value_set_string (value, unity_application_preview_get_last_update (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_application_preview_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1767 of file unity-previews.c.

                                                                                                                                         {
       UnityApplicationPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_APPLICATION_PREVIEW, UnityApplicationPreview);
       switch (property_id) {
              case UNITY_APPLICATION_PREVIEW_APP_ICON:
              unity_application_preview_set_app_icon (self, g_value_get_object (value));
              break;
              case UNITY_APPLICATION_PREVIEW_LICENSE:
              unity_application_preview_set_license (self, g_value_get_string (value));
              break;
              case UNITY_APPLICATION_PREVIEW_COPYRIGHT:
              unity_application_preview_set_copyright (self, g_value_get_string (value));
              break;
              case UNITY_APPLICATION_PREVIEW_LAST_UPDATE:
              unity_application_preview_set_last_update (self, g_value_get_string (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_async_preview_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 3157 of file unity-previews.c.

                                                                                                                             {
       UnityAsyncPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_ASYNC_PREVIEW, UnityAsyncPreview);
       switch (property_id) {
              case UNITY_ASYNC_PREVIEW_CANCELLABLE:
              g_value_set_object (value, unity_async_preview_get_cancellable (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_async_preview_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 3171 of file unity-previews.c.

                                                                                                                                   {
       UnityAsyncPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_ASYNC_PREVIEW, UnityAsyncPreview);
       switch (property_id) {
              case UNITY_ASYNC_PREVIEW_CANCELLABLE:
              unity_async_preview_set_cancellable (self, g_value_get_object (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_info_hint_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1448 of file unity-previews.c.

                                                                                                                         {
       UnityInfoHint * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_INFO_HINT, UnityInfoHint);
       switch (property_id) {
              case UNITY_INFO_HINT_ID:
              g_value_set_string (value, unity_info_hint_get_id (self));
              break;
              case UNITY_INFO_HINT_DISPLAY_NAME:
              g_value_set_string (value, unity_info_hint_get_display_name (self));
              break;
              case UNITY_INFO_HINT_ICON_HINT:
              g_value_set_object (value, unity_info_hint_get_icon_hint (self));
              break;
              case UNITY_INFO_HINT_DATA:
              g_value_set_variant (value, unity_info_hint_get_data (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_info_hint_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1471 of file unity-previews.c.

                                                                                                                               {
       UnityInfoHint * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_INFO_HINT, UnityInfoHint);
       switch (property_id) {
              case UNITY_INFO_HINT_ID:
              unity_info_hint_set_id (self, g_value_get_string (value));
              break;
              case UNITY_INFO_HINT_DISPLAY_NAME:
              unity_info_hint_set_display_name (self, g_value_get_string (value));
              break;
              case UNITY_INFO_HINT_ICON_HINT:
              unity_info_hint_set_icon_hint (self, g_value_get_object (value));
              break;
              case UNITY_INFO_HINT_DATA:
              unity_info_hint_set_data (self, g_value_get_variant (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_movie_preview_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 2464 of file unity-previews.c.

                                                                                                                             {
       UnityMoviePreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_MOVIE_PREVIEW, UnityMoviePreview);
       switch (property_id) {
              case UNITY_MOVIE_PREVIEW_YEAR:
              g_value_set_string (value, unity_movie_preview_get_year (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_movie_preview_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 2478 of file unity-previews.c.

                                                                                                                                   {
       UnityMoviePreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_MOVIE_PREVIEW, UnityMoviePreview);
       switch (property_id) {
              case UNITY_MOVIE_PREVIEW_YEAR:
              unity_movie_preview_set_year (self, g_value_get_string (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_music_preview_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 2307 of file unity-previews.c.

                                                                                                                             {
       UnityMusicPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_MUSIC_PREVIEW, UnityMusicPreview);
       switch (property_id) {
              case UNITY_MUSIC_PREVIEW_CURRENT_TRACK_URI:
              g_value_set_string (value, unity_music_preview_get_current_track_uri (self));
              break;
              case UNITY_MUSIC_PREVIEW_CURRENT_PROGRESS:
              g_value_set_float (value, unity_music_preview_get_current_progress (self));
              break;
              case UNITY_MUSIC_PREVIEW_CURRENT_TRACK_STATE:
              g_value_set_enum (value, unity_music_preview_get_current_track_state (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_music_preview_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 2327 of file unity-previews.c.

                                                                                                                                   {
       UnityMusicPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_MUSIC_PREVIEW, UnityMusicPreview);
       switch (property_id) {
              case UNITY_MUSIC_PREVIEW_CURRENT_TRACK_URI:
              unity_music_preview_set_current_track_uri (self, g_value_get_string (value));
              break;
              case UNITY_MUSIC_PREVIEW_CURRENT_PROGRESS:
              unity_music_preview_set_current_progress (self, g_value_get_float (value));
              break;
              case UNITY_MUSIC_PREVIEW_CURRENT_TRACK_STATE:
              unity_music_preview_set_current_track_state (self, g_value_get_enum (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_preview_action_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1215 of file unity-previews.c.

                                                                                                                              {
       UnityPreviewAction * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_PREVIEW_ACTION, UnityPreviewAction);
       switch (property_id) {
              case UNITY_PREVIEW_ACTION_ID:
              g_value_set_string (value, unity_preview_action_get_id (self));
              break;
              case UNITY_PREVIEW_ACTION_DISPLAY_NAME:
              g_value_set_string (value, unity_preview_action_get_display_name (self));
              break;
              case UNITY_PREVIEW_ACTION_ICON_HINT:
              g_value_set_object (value, unity_preview_action_get_icon_hint (self));
              break;
              case UNITY_PREVIEW_ACTION_LAYOUT_HINT:
              g_value_set_enum (value, unity_preview_action_get_layout_hint (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_preview_action_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1238 of file unity-previews.c.

                                                                                                                                    {
       UnityPreviewAction * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_PREVIEW_ACTION, UnityPreviewAction);
       switch (property_id) {
              case UNITY_PREVIEW_ACTION_ID:
              unity_preview_action_set_id (self, g_value_get_string (value));
              break;
              case UNITY_PREVIEW_ACTION_DISPLAY_NAME:
              unity_preview_action_set_display_name (self, g_value_get_string (value));
              break;
              case UNITY_PREVIEW_ACTION_ICON_HINT:
              unity_preview_action_set_icon_hint (self, g_value_get_object (value));
              break;
              case UNITY_PREVIEW_ACTION_LAYOUT_HINT:
              unity_preview_action_set_layout_hint (self, g_value_get_enum (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_preview_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 688 of file unity-previews.c.

                                                                                                                       {
       UnityPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_PREVIEW, UnityPreview);
       switch (property_id) {
              case UNITY_PREVIEW_TITLE:
              g_value_set_string (value, unity_preview_get_title (self));
              break;
              case UNITY_PREVIEW_SUBTITLE:
              g_value_set_string (value, unity_preview_get_subtitle (self));
              break;
              case UNITY_PREVIEW_DESCRIPTION_MARKUP:
              g_value_set_string (value, unity_preview_get_description_markup (self));
              break;
              case UNITY_PREVIEW_THUMBNAIL:
              g_value_set_object (value, unity_preview_get_thumbnail (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_preview_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 711 of file unity-previews.c.

                                                                                                                             {
       UnityPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_PREVIEW, UnityPreview);
       switch (property_id) {
              case UNITY_PREVIEW_TITLE:
              unity_preview_set_title (self, g_value_get_string (value));
              break;
              case UNITY_PREVIEW_SUBTITLE:
              unity_preview_set_subtitle (self, g_value_get_string (value));
              break;
              case UNITY_PREVIEW_DESCRIPTION_MARKUP:
              unity_preview_set_description_markup (self, g_value_get_string (value));
              break;
              case UNITY_PREVIEW_THUMBNAIL:
              unity_preview_set_thumbnail (self, g_value_get_object (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_series_item_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 2617 of file unity-previews.c.

                                                                                                                           {
       UnitySeriesItem * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SERIES_ITEM, UnitySeriesItem);
       switch (property_id) {
              case UNITY_SERIES_ITEM_URI:
              g_value_set_string (value, unity_series_item_get_uri (self));
              break;
              case UNITY_SERIES_ITEM_TITLE:
              g_value_set_string (value, unity_series_item_get_title (self));
              break;
              case UNITY_SERIES_ITEM_ICON_HINT:
              g_value_set_object (value, unity_series_item_get_icon_hint (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_series_item_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 2637 of file unity-previews.c.

                                                                                                                                 {
       UnitySeriesItem * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SERIES_ITEM, UnitySeriesItem);
       switch (property_id) {
              case UNITY_SERIES_ITEM_URI:
              unity_series_item_set_uri (self, g_value_get_string (value));
              break;
              case UNITY_SERIES_ITEM_TITLE:
              unity_series_item_set_title (self, g_value_get_string (value));
              break;
              case UNITY_SERIES_ITEM_ICON_HINT:
              unity_series_item_set_icon_hint (self, g_value_get_object (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_series_preview_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 3047 of file unity-previews.c.

                                                                                                                              {
       UnitySeriesPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SERIES_PREVIEW, UnitySeriesPreview);
       switch (property_id) {
              case UNITY_SERIES_PREVIEW_CURRENT_ITEM_URI:
              g_value_set_string (value, unity_series_preview_get_current_item_uri (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_series_preview_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 3061 of file unity-previews.c.

                                                                                                                                    {
       UnitySeriesPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SERIES_PREVIEW, UnitySeriesPreview);
       switch (property_id) {
              case UNITY_SERIES_PREVIEW_CURRENT_ITEM_URI:
              unity_series_preview_set_current_item_uri (self, g_value_get_string (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _variant_new17 ( const gchar *  value) [static]

Definition at line 788 of file unity-previews.c.

                                                     {
       return g_variant_ref_sink (g_variant_new_string (value));
}

Here is the caller graph for this function:

static GVariant * _variant_new18 ( const gchar *  value) [static]

Definition at line 793 of file unity-previews.c.

                                                     {
       return g_variant_ref_sink (g_variant_new_string (value));
}

Here is the caller graph for this function:

static GVariant * _variant_new19 ( guint  value) [static]

Definition at line 798 of file unity-previews.c.

                                              {
       return g_variant_ref_sink (g_variant_new_uint32 (value));
}

Here is the caller graph for this function:

static GVariant * _variant_new20 ( GHashTable *  value) [static]

Definition at line 803 of file unity-previews.c.

                                                    {
       GVariantBuilder _tmp18_;
       GHashTableIter _tmp19_;
       gpointer _tmp20_;
       gpointer _tmp21_;
       g_hash_table_iter_init (&_tmp19_, value);
       g_variant_builder_init (&_tmp18_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp19_, &_tmp20_, &_tmp21_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp20_;
              _value = (GVariant*) _tmp21_;
              g_variant_builder_add (&_tmp18_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       return g_variant_ref_sink (g_variant_builder_end (&_tmp18_));
}

Here is the caller graph for this function:

static GVariant* _variant_new21 ( gboolean  value) [static]

Definition at line 1887 of file unity-previews.c.

                                                 {
       return g_variant_ref_sink (g_variant_new_boolean (value));
}

Here is the caller graph for this function:

static GVariant* _variant_new22 ( gdouble  value) [static]

Definition at line 1892 of file unity-previews.c.

                                                {
       return g_variant_ref_sink (g_variant_new_double (value));
}

Here is the caller graph for this function:

static GVariant* _variant_new23 ( gboolean  value) [static]

Definition at line 1897 of file unity-previews.c.

                                                 {
       return g_variant_ref_sink (g_variant_new_boolean (value));
}

Here is the caller graph for this function:

static GVariant* _variant_new24 ( gdouble  value) [static]

Definition at line 1902 of file unity-previews.c.

                                                {
       return g_variant_ref_sink (g_variant_new_double (value));
}

Here is the caller graph for this function:

static void g_cclosure_user_marshal_OBJECT__STRING ( GClosure *  closure,
GValue *  return_value,
guint  n_param_values,
const GValue *  param_values,
gpointer  invocation_hint,
gpointer  marshal_data 
) [static]

Definition at line 1021 of file unity-previews.c.

                                                                                                                                                                                                   {
       typedef gpointer (*GMarshalFunc_OBJECT__STRING) (gpointer data1, const char* arg_1, gpointer data2);
       register GMarshalFunc_OBJECT__STRING callback;
       register GCClosure * cc;
       register gpointer data1;
       register gpointer data2;
       gpointer v_return;
       cc = (GCClosure *) closure;
       g_return_if_fail (return_value != NULL);
       g_return_if_fail (n_param_values == 2);
       if (G_CCLOSURE_SWAP_DATA (closure)) {
              data1 = closure->data;
              data2 = param_values->data[0].v_pointer;
       } else {
              data1 = param_values->data[0].v_pointer;
              data2 = closure->data;
       }
       callback = (GMarshalFunc_OBJECT__STRING) (marshal_data ? marshal_data : cc->callback);
       v_return = callback (data1, g_value_get_string (param_values + 1), data2);
       g_value_take_object (return_value, v_return);
}

Here is the caller graph for this function:

static void unity_application_preview_class_init ( UnityApplicationPreviewClass *  klass) [static]

Definition at line 1706 of file unity-previews.c.

                                                                                        {
       unity_application_preview_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityApplicationPreviewPrivate));
       UNITY_PREVIEW_CLASS (klass)->create_raw = unity_application_preview_real_create_raw;
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_application_preview_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_application_preview_set_property;
       G_OBJECT_CLASS (klass)->finalize = unity_application_preview_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_APPLICATION_PREVIEW_APP_ICON, g_param_spec_object ("app-icon", "app-icon", "app-icon", G_TYPE_ICON, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_APPLICATION_PREVIEW_LICENSE, g_param_spec_string ("license", "license", "license", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_APPLICATION_PREVIEW_COPYRIGHT, g_param_spec_string ("copyright", "copyright", "copyright", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_APPLICATION_PREVIEW_LAST_UPDATE, g_param_spec_string ("last-update", "last-update", "last-update", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityApplicationPreview* unity_application_preview_construct ( GType  object_type,
const gchar *  title,
const gchar *  subtitle,
const gchar *  description,
GIcon *  icon,
GIcon *  screenshot 
)

Definition at line 1547 of file unity-previews.c.

                                                                                                                                                                                      {
       UnityApplicationPreview * self = NULL;
       const gchar* _tmp0_;
       const gchar* _tmp1_;
       GIcon* _tmp2_;
       const gchar* _tmp3_;
       GIcon* _tmp4_;
       g_return_val_if_fail (title != NULL, NULL);
       g_return_val_if_fail (subtitle != NULL, NULL);
       g_return_val_if_fail (description != NULL, NULL);
       _tmp0_ = title;
       _tmp1_ = subtitle;
       _tmp2_ = screenshot;
       _tmp3_ = description;
       _tmp4_ = icon;
       self = (UnityApplicationPreview*) g_object_new (object_type, "title", _tmp0_, "subtitle", _tmp1_, "thumbnail", _tmp2_, "description-markup", _tmp3_, "app-icon", _tmp4_, NULL);
       return self;
}

Here is the caller graph for this function:

static void unity_application_preview_finalize ( GObject *  obj) [static]

Definition at line 1725 of file unity-previews.c.

                                                              {
       UnityApplicationPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_APPLICATION_PREVIEW, UnityApplicationPreview);
       G_OBJECT_CLASS (unity_application_preview_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GIcon* unity_application_preview_get_app_icon ( UnityApplicationPreview *  self)

Definition at line 1606 of file unity-previews.c.

                                                                              {
       GIcon* result;
       UnityProtocolApplicationPreview* _tmp0_;
       GIcon* _tmp1_;
       GIcon* _tmp2_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = unity_protocol_application_preview_get_app_icon (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

const gchar* unity_application_preview_get_copyright ( UnityApplicationPreview *  self)

Definition at line 1656 of file unity-previews.c.

                                                                                     {
       const gchar* result;
       UnityProtocolApplicationPreview* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = unity_protocol_application_preview_get_copyright (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

const gchar* unity_application_preview_get_last_update ( UnityApplicationPreview *  self)

Definition at line 1681 of file unity-previews.c.

                                                                                       {
       const gchar* result;
       UnityProtocolApplicationPreview* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = unity_protocol_application_preview_get_last_update (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

const gchar* unity_application_preview_get_license ( UnityApplicationPreview *  self)

Definition at line 1631 of file unity-previews.c.

                                                                                   {
       const gchar* result;
       UnityProtocolApplicationPreview* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = unity_protocol_application_preview_get_license (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1732 of file unity-previews.c.

                                                {
       static volatile gsize unity_application_preview_type_id__volatile = 0;
       if (g_once_init_enter (&unity_application_preview_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityApplicationPreviewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_application_preview_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityApplicationPreview), 0, (GInstanceInitFunc) unity_application_preview_instance_init, NULL };
              GType unity_application_preview_type_id;
              unity_application_preview_type_id = g_type_register_static (UNITY_TYPE_PREVIEW, "UnityApplicationPreview", &g_define_type_info, 0);
              g_once_init_leave (&unity_application_preview_type_id__volatile, unity_application_preview_type_id);
       }
       return unity_application_preview_type_id__volatile;
}

Here is the call graph for this function:

static void unity_application_preview_instance_init ( UnityApplicationPreview *  self) [static]

Definition at line 1720 of file unity-previews.c.

                                                                                     {
       self->priv = UNITY_APPLICATION_PREVIEW_GET_PRIVATE (self);
}

Here is the caller graph for this function:

UnityApplicationPreview* unity_application_preview_new ( const gchar *  title,
const gchar *  subtitle,
const gchar *  description,
GIcon *  icon,
GIcon *  screenshot 
)

Definition at line 1567 of file unity-previews.c.

                                                                                                                                                             {
       return unity_application_preview_construct (UNITY_TYPE_APPLICATION_PREVIEW, title, subtitle, description, icon, screenshot);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GObject * unity_application_preview_real_create_raw ( UnityPreview *  base) [static]

Definition at line 1587 of file unity-previews.c.

                                                                               {
       UnityApplicationPreview * self;
       GObject* result = NULL;
       UnityProtocolApplicationPreview* _tmp0_;
       UnityProtocolApplicationPreview* raw;
       UnityProtocolApplicationPreview* _tmp1_;
       GObject* _tmp2_;
       self = (UnityApplicationPreview*) base;
       _tmp0_ = unity_protocol_application_preview_new ();
       raw = _tmp0_;
       self->priv->_raw = raw;
       _tmp1_ = self->priv->_raw;
       _tmp2_ = _g_object_ref0 ((GObject*) _tmp1_);
       result = _tmp2_;
       _g_object_unref0 (raw);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_application_preview_set_app_icon ( UnityApplicationPreview *  self,
GIcon *  value 
)

Definition at line 1620 of file unity-previews.c.

                                                                                          {
       UnityProtocolApplicationPreview* _tmp0_;
       GIcon* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = value;
       unity_protocol_application_preview_set_app_icon (_tmp0_, _tmp1_);
       g_object_notify ((GObject *) self, "app-icon");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_application_preview_set_copyright ( UnityApplicationPreview *  self,
const gchar *  value 
)

Definition at line 1670 of file unity-previews.c.

                                                                                                 {
       UnityProtocolApplicationPreview* _tmp0_;
       const gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = value;
       unity_protocol_application_preview_set_copyright (_tmp0_, _tmp1_);
       g_object_notify ((GObject *) self, "copyright");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_application_preview_set_last_update ( UnityApplicationPreview *  self,
const gchar *  value 
)

Definition at line 1695 of file unity-previews.c.

                                                                                                   {
       UnityProtocolApplicationPreview* _tmp0_;
       const gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = value;
       unity_protocol_application_preview_set_last_update (_tmp0_, _tmp1_);
       g_object_notify ((GObject *) self, "last-update");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_application_preview_set_license ( UnityApplicationPreview *  self,
const gchar *  value 
)

Definition at line 1645 of file unity-previews.c.

                                                                                               {
       UnityProtocolApplicationPreview* _tmp0_;
       const gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = value;
       unity_protocol_application_preview_set_license (_tmp0_, _tmp1_);
       g_object_notify ((GObject *) self, "license");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_application_preview_set_rating ( UnityApplicationPreview *  self,
gfloat  rating,
guint  num_ratings 
)

Definition at line 1572 of file unity-previews.c.

                                                                                                            {
       UnityProtocolApplicationPreview* _tmp0_;
       gfloat _tmp1_;
       UnityProtocolApplicationPreview* _tmp2_;
       guint _tmp3_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = rating;
       unity_protocol_application_preview_set_rating (_tmp0_, _tmp1_);
       _tmp2_ = self->priv->_raw;
       _tmp3_ = num_ratings;
       unity_protocol_application_preview_set_num_ratings (_tmp2_, _tmp3_);
}

Here is the call graph for this function:

static void unity_async_preview_class_init ( UnityAsyncPreviewClass *  klass) [static]

Definition at line 3120 of file unity-previews.c.

                                                                            {
       unity_async_preview_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityAsyncPreviewPrivate));
       UNITY_PREVIEW_CLASS (klass)->create_raw = unity_async_preview_real_create_raw;
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_async_preview_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_async_preview_set_property;
       G_OBJECT_CLASS (klass)->finalize = unity_async_preview_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_ASYNC_PREVIEW_CANCELLABLE, g_param_spec_object ("cancellable", "cancellable", "cancellable", g_cancellable_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_signal_new ("preview_ready", UNITY_TYPE_ASYNC_PREVIEW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, UNITY_TYPE_PREVIEW);
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityAsyncPreview* unity_async_preview_construct ( GType  object_type)

Definition at line 3075 of file unity-previews.c.

                                                                     {
       UnityAsyncPreview * self = NULL;
       self = (UnityAsyncPreview*) g_object_new (object_type, NULL);
       return self;
}

Here is the caller graph for this function:

static void unity_async_preview_finalize ( GObject *  obj) [static]

Definition at line 3137 of file unity-previews.c.

                                                        {
       UnityAsyncPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_ASYNC_PREVIEW, UnityAsyncPreview);
       _g_object_unref0 (self->priv->_cancellable);
       G_OBJECT_CLASS (unity_async_preview_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GCancellable* unity_async_preview_get_cancellable ( UnityAsyncPreview *  self)

Definition at line 3098 of file unity-previews.c.

                                                                            {
       GCancellable* result;
       GCancellable* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_cancellable;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

GType unity_async_preview_get_type ( void  )

Definition at line 277 of file unity-previews.c.

      {
       UNITY_ASYNC_PREVIEW_DUMMY_PROPERTY,
       UNITY_ASYNC_PREVIEW_CANCELLABLE
};

Here is the call graph for this function:

static void unity_async_preview_instance_init ( UnityAsyncPreview *  self) [static]

Definition at line 3132 of file unity-previews.c.

                                                                         {
       self->priv = UNITY_ASYNC_PREVIEW_GET_PRIVATE (self);
}

Here is the caller graph for this function:

UnityAsyncPreview* unity_async_preview_new ( void  )

Definition at line 3082 of file unity-previews.c.

Here is the call graph for this function:

static GObject * unity_async_preview_real_create_raw ( UnityPreview *  base) [static]

Definition at line 3087 of file unity-previews.c.

                                                                         {
       UnityAsyncPreview * self;
       GObject* result = NULL;
       UnityProtocolGenericPreview* _tmp0_;
       self = (UnityAsyncPreview*) base;
       _tmp0_ = unity_protocol_generic_preview_new ();
       result = (GObject*) _tmp0_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_async_preview_set_cancellable ( UnityAsyncPreview *  self,
GCancellable *  value 
) [static]

Definition at line 3108 of file unity-previews.c.

                                                                                               {
       GCancellable* _tmp0_;
       GCancellable* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_cancellable);
       self->priv->_cancellable = _tmp1_;
       g_object_notify ((GObject *) self, "cancellable");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_generic_preview_class_init ( UnityGenericPreviewClass *  klass) [static]

Definition at line 1525 of file unity-previews.c.

                                                                                {
       unity_generic_preview_parent_class = g_type_class_peek_parent (klass);
       UNITY_PREVIEW_CLASS (klass)->create_raw = unity_generic_preview_real_create_raw;
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityGenericPreview* unity_generic_preview_construct ( GType  object_type,
const gchar *  title,
const gchar *  description,
GIcon *  thumbnail 
)

Definition at line 1494 of file unity-previews.c.

                                                                                                                                         {
       UnityGenericPreview * self = NULL;
       const gchar* _tmp0_;
       GIcon* _tmp1_;
       const gchar* _tmp2_;
       g_return_val_if_fail (title != NULL, NULL);
       g_return_val_if_fail (description != NULL, NULL);
       _tmp0_ = title;
       _tmp1_ = thumbnail;
       _tmp2_ = description;
       self = (UnityGenericPreview*) g_object_new (object_type, "title", _tmp0_, "thumbnail", _tmp1_, "description-markup", _tmp2_, NULL);
       return self;
}

Here is the caller graph for this function:

Definition at line 1535 of file unity-previews.c.

                                            {
       static volatile gsize unity_generic_preview_type_id__volatile = 0;
       if (g_once_init_enter (&unity_generic_preview_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityGenericPreviewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_generic_preview_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityGenericPreview), 0, (GInstanceInitFunc) unity_generic_preview_instance_init, NULL };
              GType unity_generic_preview_type_id;
              unity_generic_preview_type_id = g_type_register_static (UNITY_TYPE_PREVIEW, "UnityGenericPreview", &g_define_type_info, 0);
              g_once_init_leave (&unity_generic_preview_type_id__volatile, unity_generic_preview_type_id);
       }
       return unity_generic_preview_type_id__volatile;
}

Here is the call graph for this function:

static void unity_generic_preview_instance_init ( UnityGenericPreview *  self) [static]

Definition at line 1531 of file unity-previews.c.

                                                                             {
}

Here is the caller graph for this function:

UnityGenericPreview* unity_generic_preview_new ( const gchar *  title,
const gchar *  description,
GIcon *  thumbnail 
)

Definition at line 1509 of file unity-previews.c.

                                                                                                                {
       return unity_generic_preview_construct (UNITY_TYPE_GENERIC_PREVIEW, title, description, thumbnail);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GObject * unity_generic_preview_real_create_raw ( UnityPreview *  base) [static]

Definition at line 1514 of file unity-previews.c.

                                                                           {
       UnityGenericPreview * self;
       GObject* result = NULL;
       UnityProtocolGenericPreview* _tmp0_;
       self = (UnityGenericPreview*) base;
       _tmp0_ = unity_protocol_generic_preview_new ();
       result = (GObject*) _tmp0_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_info_hint_class_init ( UnityInfoHintClass *  klass) [static]

Definition at line 1407 of file unity-previews.c.

                                                                    {
       unity_info_hint_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityInfoHintPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_info_hint_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_info_hint_set_property;
       G_OBJECT_CLASS (klass)->finalize = unity_info_hint_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_INFO_HINT_ID, g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_INFO_HINT_DISPLAY_NAME, g_param_spec_string ("display-name", "display-name", "display-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_INFO_HINT_ICON_HINT, g_param_spec_object ("icon-hint", "icon-hint", "icon-hint", G_TYPE_ICON, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_INFO_HINT_DATA, g_param_spec_variant ("data", "data", "data", G_VARIANT_TYPE_ANY, NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityInfoHint* unity_info_hint_construct ( GType  object_type,
const gchar *  id,
const gchar *  display_name,
GIcon *  icon_hint,
const gchar *  data 
)

Definition at line 1261 of file unity-previews.c.

                                                                                                                                              {
       UnityInfoHint * self = NULL;
       const gchar* _tmp0_;
       const gchar* _tmp1_;
       GIcon* _tmp2_;
       const gchar* _tmp3_;
       GVariant* _tmp4_;
       GVariant* _tmp5_;
       g_return_val_if_fail (id != NULL, NULL);
       g_return_val_if_fail (display_name != NULL, NULL);
       g_return_val_if_fail (data != NULL, NULL);
       _tmp0_ = id;
       _tmp1_ = display_name;
       _tmp2_ = icon_hint;
       _tmp3_ = data;
       _tmp4_ = g_variant_new_string (_tmp3_);
       g_variant_ref_sink (_tmp4_);
       g_variant_ref_sink (_tmp4_);
       _tmp5_ = _tmp4_;
       self = (UnityInfoHint*) g_object_new (object_type, "id", _tmp0_, "display-name", _tmp1_, "icon-hint", _tmp2_, "data", _tmp5_, NULL);
       _g_variant_unref0 (_tmp5_);
       return self;
}

Here is the caller graph for this function:

UnityInfoHint* unity_info_hint_construct_with_variant ( GType  object_type,
const gchar *  id,
const gchar *  display_name,
GIcon *  icon_hint,
GVariant *  data 
)

Definition at line 1291 of file unity-previews.c.

                                                                                                                                                        {
       UnityInfoHint * self = NULL;
       const gchar* _tmp0_;
       const gchar* _tmp1_;
       GIcon* _tmp2_;
       GVariant* _tmp3_;
       g_return_val_if_fail (id != NULL, NULL);
       g_return_val_if_fail (display_name != NULL, NULL);
       g_return_val_if_fail (data != NULL, NULL);
       _tmp0_ = id;
       _tmp1_ = display_name;
       _tmp2_ = icon_hint;
       _tmp3_ = data;
       self = (UnityInfoHint*) g_object_new (object_type, "id", _tmp0_, "display-name", _tmp1_, "icon-hint", _tmp2_, "data", _tmp3_, NULL);
       return self;
}

Here is the caller graph for this function:

static void unity_info_hint_finalize ( GObject *  obj) [static]

Definition at line 1425 of file unity-previews.c.

                                                    {
       UnityInfoHint * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_INFO_HINT, UnityInfoHint);
       _g_free0 (self->priv->_id);
       _g_free0 (self->priv->_display_name);
       _g_object_unref0 (self->priv->_icon_hint);
       _g_variant_unref0 (self->priv->_data);
       G_OBJECT_CLASS (unity_info_hint_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GVariant* unity_info_hint_get_data ( UnityInfoHint *  self)

Definition at line 1380 of file unity-previews.c.

                                                         {
       GVariant* result;
       GVariant* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_data;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar* unity_info_hint_get_display_name ( UnityInfoHint *  self)

Definition at line 1336 of file unity-previews.c.

                                                                    {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_display_name;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

GIcon* unity_info_hint_get_icon_hint ( UnityInfoHint *  self)

Definition at line 1358 of file unity-previews.c.

                                                           {
       GIcon* result;
       GIcon* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_icon_hint;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar* unity_info_hint_get_id ( UnityInfoHint *  self)

Definition at line 1314 of file unity-previews.c.

                                                          {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_id;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

GType unity_info_hint_get_type ( void  )

Definition at line 1436 of file unity-previews.c.

                                      {
       static volatile gsize unity_info_hint_type_id__volatile = 0;
       if (g_once_init_enter (&unity_info_hint_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityInfoHintClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_info_hint_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityInfoHint), 0, (GInstanceInitFunc) unity_info_hint_instance_init, NULL };
              GType unity_info_hint_type_id;
              unity_info_hint_type_id = g_type_register_static (G_TYPE_INITIALLY_UNOWNED, "UnityInfoHint", &g_define_type_info, 0);
              g_once_init_leave (&unity_info_hint_type_id__volatile, unity_info_hint_type_id);
       }
       return unity_info_hint_type_id__volatile;
}

Here is the call graph for this function:

static void unity_info_hint_instance_init ( UnityInfoHint *  self) [static]

Definition at line 1420 of file unity-previews.c.

                                                                 {
       self->priv = UNITY_INFO_HINT_GET_PRIVATE (self);
}

Here is the caller graph for this function:

UnityInfoHint* unity_info_hint_new ( const gchar *  id,
const gchar *  display_name,
GIcon *  icon_hint,
const gchar *  data 
)

Definition at line 1286 of file unity-previews.c.

                                                                                                                     {
       return unity_info_hint_construct (UNITY_TYPE_INFO_HINT, id, display_name, icon_hint, data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityInfoHint* unity_info_hint_new_with_variant ( const gchar *  id,
const gchar *  display_name,
GIcon *  icon_hint,
GVariant *  data 
)

Definition at line 1309 of file unity-previews.c.

                                                                                                                               {
       return unity_info_hint_construct_with_variant (UNITY_TYPE_INFO_HINT, id, display_name, icon_hint, data);
}

Here is the call graph for this function:

static void unity_info_hint_set_data ( UnityInfoHint *  self,
GVariant *  value 
) [static]

Definition at line 1395 of file unity-previews.c.

                                                                            {
       GVariant* _tmp0_;
       GVariant* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_variant_ref0 (_tmp0_);
       _g_variant_unref0 (self->priv->_data);
       self->priv->_data = _tmp1_;
       g_object_notify ((GObject *) self, "data");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_info_hint_set_display_name ( UnityInfoHint *  self,
const gchar *  value 
) [static]

Definition at line 1346 of file unity-previews.c.

                                                                                       {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_display_name);
       self->priv->_display_name = _tmp1_;
       g_object_notify ((GObject *) self, "display-name");
}

Here is the caller graph for this function:

static void unity_info_hint_set_icon_hint ( UnityInfoHint *  self,
GIcon *  value 
) [static]

Definition at line 1368 of file unity-previews.c.

                                                                              {
       GIcon* _tmp0_;
       GIcon* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_icon_hint);
       self->priv->_icon_hint = _tmp1_;
       g_object_notify ((GObject *) self, "icon-hint");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_info_hint_set_id ( UnityInfoHint *  self,
const gchar *  value 
) [static]

Definition at line 1324 of file unity-previews.c.

                                                                             {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_id);
       self->priv->_id = _tmp1_;
       g_object_notify ((GObject *) self, "id");
}

Here is the caller graph for this function:

GType unity_layout_hint_get_type ( void  )

Definition at line 734 of file unity-previews.c.

                                        {
       static volatile gsize unity_layout_hint_type_id__volatile = 0;
       if (g_once_init_enter (&unity_layout_hint_type_id__volatile)) {
              static const GEnumValue values[] = {{UNITY_LAYOUT_HINT_NONE, "UNITY_LAYOUT_HINT_NONE", "none"}, {UNITY_LAYOUT_HINT_LEFT, "UNITY_LAYOUT_HINT_LEFT", "left"}, {UNITY_LAYOUT_HINT_RIGHT, "UNITY_LAYOUT_HINT_RIGHT", "right"}, {UNITY_LAYOUT_HINT_TOP, "UNITY_LAYOUT_HINT_TOP", "top"}, {UNITY_LAYOUT_HINT_BOTTOM, "UNITY_LAYOUT_HINT_BOTTOM", "bottom"}, {0, NULL, NULL}};
              GType unity_layout_hint_type_id;
              unity_layout_hint_type_id = g_enum_register_static ("UnityLayoutHint", values);
              g_once_init_leave (&unity_layout_hint_type_id__volatile, unity_layout_hint_type_id);
       }
       return unity_layout_hint_type_id__volatile;
}
static void unity_movie_preview_class_init ( UnityMoviePreviewClass *  klass) [static]

Definition at line 2429 of file unity-previews.c.

                                                                            {
       unity_movie_preview_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityMoviePreviewPrivate));
       UNITY_PREVIEW_CLASS (klass)->create_raw = unity_movie_preview_real_create_raw;
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_movie_preview_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_movie_preview_set_property;
       G_OBJECT_CLASS (klass)->finalize = unity_movie_preview_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MOVIE_PREVIEW_YEAR, g_param_spec_string ("year", "year", "year", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMoviePreview* unity_movie_preview_construct ( GType  object_type,
const gchar *  title,
const gchar *  subtitle,
const gchar *  description,
GIcon *  thumbnail 
)

Definition at line 2347 of file unity-previews.c.

                                                                                                                                                            {
       UnityMoviePreview * self = NULL;
       const gchar* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       GIcon* _tmp3_;
       g_return_val_if_fail (title != NULL, NULL);
       g_return_val_if_fail (subtitle != NULL, NULL);
       g_return_val_if_fail (description != NULL, NULL);
       _tmp0_ = title;
       _tmp1_ = subtitle;
       _tmp2_ = description;
       _tmp3_ = thumbnail;
       self = (UnityMoviePreview*) g_object_new (object_type, "title", _tmp0_, "subtitle", _tmp1_, "description-markup", _tmp2_, "thumbnail", _tmp3_, NULL);
       return self;
}

Here is the caller graph for this function:

static void unity_movie_preview_finalize ( GObject *  obj) [static]

Definition at line 2445 of file unity-previews.c.

                                                        {
       UnityMoviePreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_MOVIE_PREVIEW, UnityMoviePreview);
       G_OBJECT_CLASS (unity_movie_preview_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GType unity_movie_preview_get_type ( void  )

Definition at line 2452 of file unity-previews.c.

                                          {
       static volatile gsize unity_movie_preview_type_id__volatile = 0;
       if (g_once_init_enter (&unity_movie_preview_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityMoviePreviewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_movie_preview_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityMoviePreview), 0, (GInstanceInitFunc) unity_movie_preview_instance_init, NULL };
              GType unity_movie_preview_type_id;
              unity_movie_preview_type_id = g_type_register_static (UNITY_TYPE_PREVIEW, "UnityMoviePreview", &g_define_type_info, 0);
              g_once_init_leave (&unity_movie_preview_type_id__volatile, unity_movie_preview_type_id);
       }
       return unity_movie_preview_type_id__volatile;
}

Here is the call graph for this function:

const gchar* unity_movie_preview_get_year ( UnityMoviePreview *  self)

Definition at line 2404 of file unity-previews.c.

                                                                    {
       const gchar* result;
       UnityProtocolMoviePreview* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = unity_protocol_movie_preview_get_year (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_movie_preview_instance_init ( UnityMoviePreview *  self) [static]

Definition at line 2440 of file unity-previews.c.

                                                                         {
       self->priv = UNITY_MOVIE_PREVIEW_GET_PRIVATE (self);
}

Here is the caller graph for this function:

UnityMoviePreview* unity_movie_preview_new ( const gchar *  title,
const gchar *  subtitle,
const gchar *  description,
GIcon *  thumbnail 
)

Definition at line 2365 of file unity-previews.c.

                                                                                                                                   {
       return unity_movie_preview_construct (UNITY_TYPE_MOVIE_PREVIEW, title, subtitle, description, thumbnail);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GObject * unity_movie_preview_real_create_raw ( UnityPreview *  base) [static]

Definition at line 2385 of file unity-previews.c.

                                                                         {
       UnityMoviePreview * self;
       GObject* result = NULL;
       UnityProtocolMoviePreview* _tmp0_;
       UnityProtocolMoviePreview* raw;
       UnityProtocolMoviePreview* _tmp1_;
       GObject* _tmp2_;
       self = (UnityMoviePreview*) base;
       _tmp0_ = unity_protocol_movie_preview_new ();
       raw = _tmp0_;
       self->priv->_raw = raw;
       _tmp1_ = self->priv->_raw;
       _tmp2_ = _g_object_ref0 ((GObject*) _tmp1_);
       result = _tmp2_;
       _g_object_unref0 (raw);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_movie_preview_set_rating ( UnityMoviePreview *  self,
gfloat  rating,
guint  num_ratings 
)

Definition at line 2370 of file unity-previews.c.

                                                                                                {
       UnityProtocolMoviePreview* _tmp0_;
       gfloat _tmp1_;
       UnityProtocolMoviePreview* _tmp2_;
       guint _tmp3_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = rating;
       unity_protocol_movie_preview_set_rating (_tmp0_, _tmp1_);
       _tmp2_ = self->priv->_raw;
       _tmp3_ = num_ratings;
       unity_protocol_movie_preview_set_num_ratings (_tmp2_, _tmp3_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_movie_preview_set_year ( UnityMoviePreview *  self,
const gchar *  value 
)

Definition at line 2418 of file unity-previews.c.

                                                                                {
       UnityProtocolMoviePreview* _tmp0_;
       const gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = value;
       unity_protocol_movie_preview_set_year (_tmp0_, _tmp1_);
       g_object_notify ((GObject *) self, "year");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_music_preview_add_track ( UnityMusicPreview *  self,
UnityTrackMetadata *  track 
)

Definition at line 1853 of file unity-previews.c.

                                                                                        {
       DeeSharedModel* _tmp0_;
       UnityTrackMetadata* _tmp1_;
       const gchar* _tmp2_;
       const gchar* _tmp3_;
       UnityTrackMetadata* _tmp4_;
       gint _tmp5_;
       gint _tmp6_;
       UnityTrackMetadata* _tmp7_;
       const gchar* _tmp8_;
       const gchar* _tmp9_;
       UnityTrackMetadata* _tmp10_;
       guint _tmp11_;
       guint _tmp12_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (track != NULL);
       unity_music_preview_init_model (self);
       _tmp0_ = self->priv->_track_data;
       _tmp1_ = track;
       _tmp2_ = unity_track_metadata_get_uri (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = track;
       _tmp5_ = unity_track_metadata_get_track_no (_tmp4_);
       _tmp6_ = _tmp5_;
       _tmp7_ = track;
       _tmp8_ = unity_track_metadata_get_title (_tmp7_);
       _tmp9_ = _tmp8_;
       _tmp10_ = track;
       _tmp11_ = unity_track_metadata_get_length (_tmp10_);
       _tmp12_ = _tmp11_;
       dee_model_append ((DeeModel*) _tmp0_, _tmp3_, _tmp6_, _tmp9_, _tmp12_, FALSE, 0.0, NULL);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_music_preview_class_init ( UnityMusicPreviewClass *  klass) [static]

Definition at line 2265 of file unity-previews.c.

                                                                            {
       unity_music_preview_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityMusicPreviewPrivate));
       UNITY_PREVIEW_CLASS (klass)->create_raw = unity_music_preview_real_create_raw;
       UNITY_PREVIEW_CLASS (klass)->update_property = unity_music_preview_real_update_property;
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_music_preview_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_music_preview_set_property;
       G_OBJECT_CLASS (klass)->finalize = unity_music_preview_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_PREVIEW_CURRENT_TRACK_URI, g_param_spec_string ("current-track-uri", "current-track-uri", "current-track-uri", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_PREVIEW_CURRENT_PROGRESS, g_param_spec_float ("current-progress", "current-progress", "current-progress", -G_MAXFLOAT, G_MAXFLOAT, 0.0F, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MUSIC_PREVIEW_CURRENT_TRACK_STATE, g_param_spec_enum ("current-track-state", "current-track-state", "current-track-state", UNITY_MUSIC_PREVIEW_TYPE_TRACK_STATE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_signal_new ("play", UNITY_TYPE_MUSIC_PREVIEW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
       g_signal_new ("pause", UNITY_TYPE_MUSIC_PREVIEW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMusicPreview* unity_music_preview_construct ( GType  object_type,
const gchar *  title,
const gchar *  subtitle,
GIcon *  thumbnail 
)

Definition at line 1814 of file unity-previews.c.

                                                                                                                                  {
       UnityMusicPreview * self = NULL;
       const gchar* _tmp0_;
       const gchar* _tmp1_;
       GIcon* _tmp2_;
       g_return_val_if_fail (title != NULL, NULL);
       g_return_val_if_fail (subtitle != NULL, NULL);
       _tmp0_ = title;
       _tmp1_ = subtitle;
       _tmp2_ = thumbnail;
       self = (UnityMusicPreview*) g_object_new (object_type, "title", _tmp0_, "subtitle", _tmp1_, "thumbnail", _tmp2_, NULL);
       return self;
}

Here is the caller graph for this function:

static void unity_music_preview_finalize ( GObject *  obj) [static]

Definition at line 2286 of file unity-previews.c.

                                                        {
       UnityMusicPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_MUSIC_PREVIEW, UnityMusicPreview);
       _g_object_unref0 (self->priv->_track_data);
       _g_free0 (self->priv->_current_track_uri);
       G_OBJECT_CLASS (unity_music_preview_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

gfloat unity_music_preview_get_current_progress ( UnityMusicPreview *  self)

Definition at line 2220 of file unity-previews.c.

                                                                          {
       gfloat result;
       gfloat _tmp0_;
       g_return_val_if_fail (self != NULL, 0.0F);
       _tmp0_ = self->priv->_current_progress;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

Definition at line 2240 of file unity-previews.c.

                                                                                                  {
       UnityMusicPreviewTrackState result;
       UnityMusicPreviewTrackState _tmp0_;
       g_return_val_if_fail (self != NULL, 0);
       _tmp0_ = self->priv->_current_track_state;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar* unity_music_preview_get_current_track_uri ( UnityMusicPreview *  self)

Definition at line 2191 of file unity-previews.c.

                                                                                 {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_current_track_uri;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

GType unity_music_preview_get_type ( void  )

Definition at line 2295 of file unity-previews.c.

                                          {
       static volatile gsize unity_music_preview_type_id__volatile = 0;
       if (g_once_init_enter (&unity_music_preview_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityMusicPreviewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_music_preview_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityMusicPreview), 0, (GInstanceInitFunc) unity_music_preview_instance_init, NULL };
              GType unity_music_preview_type_id;
              unity_music_preview_type_id = g_type_register_static (UNITY_TYPE_PREVIEW, "UnityMusicPreview", &g_define_type_info, 0);
              g_once_init_leave (&unity_music_preview_type_id__volatile, unity_music_preview_type_id);
       }
       return unity_music_preview_type_id__volatile;
}

Here is the call graph for this function:

static void unity_music_preview_init_model ( UnityMusicPreview *  self) [static]

Definition at line 2161 of file unity-previews.c.

                                                                     {
       DeeSharedModel* _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_track_data;
       if (_tmp0_ == NULL) {
              gint64 _tmp1_ = 0LL;
              gchar* _tmp2_ = NULL;
              gchar* name;
              const gchar* _tmp3_;
              DeeSharedModel* _tmp4_;
              DeeSharedModel* _tmp5_;
              UnityProtocolMusicPreview* _tmp6_;
              const gchar* _tmp7_;
              _tmp1_ = g_get_monotonic_time ();
              _tmp2_ = g_strdup_printf ("com.canonical.Unity.Scope.TrackData.T%" G_GINT64_FORMAT, _tmp1_);
              name = _tmp2_;
              _tmp3_ = name;
              _tmp4_ = (DeeSharedModel*) dee_shared_model_new (_tmp3_);
              _g_object_unref0 (self->priv->_track_data);
              self->priv->_track_data = _tmp4_;
              _tmp5_ = self->priv->_track_data;
              dee_model_set_schema ((DeeModel*) _tmp5_, "s", "i", "s", "u", "b", "d", NULL);
              _tmp6_ = self->priv->_raw;
              _tmp7_ = name;
              unity_protocol_music_preview_set_track_data_swarm_name (_tmp6_, _tmp7_);
              _g_free0 (name);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_music_preview_instance_init ( UnityMusicPreview *  self) [static]

Definition at line 2281 of file unity-previews.c.

                                                                         {
       self->priv = UNITY_MUSIC_PREVIEW_GET_PRIVATE (self);
}

Here is the caller graph for this function:

UnityMusicPreview* unity_music_preview_new ( const gchar *  title,
const gchar *  subtitle,
GIcon *  thumbnail 
)

Definition at line 1829 of file unity-previews.c.

                                                                                                         {
       return unity_music_preview_construct (UNITY_TYPE_MUSIC_PREVIEW, title, subtitle, thumbnail);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GObject* unity_music_preview_real_create_raw ( UnityPreview *  base) [static]

Definition at line 1834 of file unity-previews.c.

                                                                         {
       UnityMusicPreview * self;
       GObject* result = NULL;
       UnityProtocolMusicPreview* _tmp0_;
       UnityProtocolMusicPreview* raw;
       UnityProtocolMusicPreview* _tmp1_;
       GObject* _tmp2_;
       self = (UnityMusicPreview*) base;
       _tmp0_ = unity_protocol_music_preview_new ();
       raw = _tmp0_;
       self->priv->_raw = raw;
       _tmp1_ = self->priv->_raw;
       _tmp2_ = _g_object_ref0 ((GObject*) _tmp1_);
       result = _tmp2_;
       _g_object_unref0 (raw);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GHashTable* unity_music_preview_real_update_property ( UnityPreview *  base,
GHashTable *  values 
) [static]

Definition at line 2068 of file unity-previews.c.

                                                                                                     {
       UnityMusicPreview * self;
       GHashTable* result = NULL;
       GHashTable* _tmp0_;
       gconstpointer _tmp1_ = NULL;
       GVariant* _tmp2_;
       GVariant* action_v;
       GHashTable* _tmp3_;
       gconstpointer _tmp4_ = NULL;
       GVariant* _tmp5_;
       GVariant* uri_v;
       gboolean _tmp6_ = FALSE;
       GVariant* _tmp7_;
       gboolean _tmp9_;
       GHashTable* _tmp21_;
       GHashTable* _tmp22_ = NULL;
       self = (UnityMusicPreview*) base;
       g_return_val_if_fail (values != NULL, NULL);
       _tmp0_ = values;
       _tmp1_ = g_hash_table_lookup (_tmp0_, "action");
       _tmp2_ = _g_variant_ref0 ((GVariant*) _tmp1_);
       action_v = _tmp2_;
       _tmp3_ = values;
       _tmp4_ = g_hash_table_lookup (_tmp3_, "uri");
       _tmp5_ = _g_variant_ref0 ((GVariant*) _tmp4_);
       uri_v = _tmp5_;
       _tmp7_ = action_v;
       if (_tmp7_ != NULL) {
              GVariant* _tmp8_;
              _tmp8_ = uri_v;
              _tmp6_ = _tmp8_ != NULL;
       } else {
              _tmp6_ = FALSE;
       }
       _tmp9_ = _tmp6_;
       if (_tmp9_) {
              GVariant* _tmp10_;
              const gchar* _tmp11_ = NULL;
              const gchar* _tmp12_;
              GQuark _tmp14_ = 0U;
              static GQuark _tmp13_label0 = 0;
              static GQuark _tmp13_label1 = 0;
              _tmp10_ = action_v;
              _tmp11_ = g_variant_get_string (_tmp10_, NULL);
              _tmp12_ = _tmp11_;
              _tmp14_ = (NULL == _tmp12_) ? 0 : g_quark_from_string (_tmp12_);
              if (_tmp14_ == ((0 != _tmp13_label0) ? _tmp13_label0 : (_tmp13_label0 = g_quark_from_static_string ("play")))) {
                     switch (0) {
                            default:
                            {
                                   GVariant* _tmp15_;
                                   const gchar* _tmp16_ = NULL;
                                   _tmp15_ = uri_v;
                                   _tmp16_ = g_variant_get_string (_tmp15_, NULL);
                                   g_signal_emit_by_name (self, "play", _tmp16_);
                                   break;
                            }
                     }
              } else if (_tmp14_ == ((0 != _tmp13_label1) ? _tmp13_label1 : (_tmp13_label1 = g_quark_from_static_string ("pause")))) {
                     switch (0) {
                            default:
                            {
                                   GVariant* _tmp17_;
                                   const gchar* _tmp18_ = NULL;
                                   _tmp17_ = uri_v;
                                   _tmp18_ = g_variant_get_string (_tmp17_, NULL);
                                   g_signal_emit_by_name (self, "pause", _tmp18_);
                                   break;
                            }
                     }
              } else {
                     switch (0) {
                            default:
                            {
                                   GVariant* _tmp19_;
                                   const gchar* _tmp20_ = NULL;
                                   _tmp19_ = action_v;
                                   _tmp20_ = g_variant_get_string (_tmp19_, NULL);
                                   g_warning ("unity-previews.vala:397: Unknown MusicPreview action: %s", _tmp20_);
                                   break;
                            }
                     }
              }
       }
       _tmp21_ = values;
       _tmp22_ = UNITY_PREVIEW_CLASS (unity_music_preview_parent_class)->update_property (G_TYPE_CHECK_INSTANCE_CAST (self, UNITY_TYPE_PREVIEW, UnityPreview), _tmp21_);
       result = _tmp22_;
       _g_variant_unref0 (uri_v);
       _g_variant_unref0 (action_v);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_music_preview_set_current_progress ( UnityMusicPreview *  self,
gfloat  value 
)

Definition at line 2230 of file unity-previews.c.

                                                                                      {
       gfloat _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       self->priv->_current_progress = _tmp0_;
       unity_music_preview_update_track_state (self);
       g_object_notify ((GObject *) self, "current-progress");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_music_preview_set_current_track_state ( UnityMusicPreview *  self,
UnityMusicPreviewTrackState  value 
)

Definition at line 2250 of file unity-previews.c.

                                                                                                              {
       UnityMusicPreviewTrackState _tmp0_;
       UnityMusicPreviewTrackState _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       self->priv->_current_track_state = _tmp0_;
       _tmp1_ = self->priv->_current_track_state;
       if (_tmp1_ == UNITY_MUSIC_PREVIEW_TRACK_STATE_STOPPED) {
              self->priv->_current_progress = 0.0f;
       }
       unity_music_preview_update_track_state (self);
       g_object_notify ((GObject *) self, "current-track-state");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_music_preview_set_current_track_uri ( UnityMusicPreview *  self,
const gchar *  value 
)

Definition at line 2201 of file unity-previews.c.

                                                                                             {
       const gchar* _tmp0_;
       const gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_current_track_uri;
       _tmp1_ = value;
       if (g_strcmp0 (_tmp0_, _tmp1_) != 0) {
              const gchar* _tmp2_;
              gchar* _tmp3_;
              _tmp2_ = value;
              _tmp3_ = g_strdup (_tmp2_);
              _g_free0 (self->priv->_current_track_uri);
              self->priv->_current_track_uri = _tmp3_;
              unity_music_preview_update_track_state (self);
       }
       g_object_notify ((GObject *) self, "current-track-uri");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GType unity_music_preview_track_data_columns_get_type ( void  ) [static]

Definition at line 232 of file unity-previews.c.

      {
       UNITY_MOVIE_PREVIEW_DUMMY_PROPERTY,
       UNITY_MOVIE_PREVIEW_YEAR
};

Definition at line 1790 of file unity-previews.c.

                                                      {
       static volatile gsize unity_music_preview_track_state_type_id__volatile = 0;
       if (g_once_init_enter (&unity_music_preview_track_state_type_id__volatile)) {
              static const GEnumValue values[] = {{UNITY_MUSIC_PREVIEW_TRACK_STATE_STOPPED, "UNITY_MUSIC_PREVIEW_TRACK_STATE_STOPPED", "stopped"}, {UNITY_MUSIC_PREVIEW_TRACK_STATE_PLAYING, "UNITY_MUSIC_PREVIEW_TRACK_STATE_PLAYING", "playing"}, {UNITY_MUSIC_PREVIEW_TRACK_STATE_PAUSED, "UNITY_MUSIC_PREVIEW_TRACK_STATE_PAUSED", "paused"}, {0, NULL, NULL}};
              GType unity_music_preview_track_state_type_id;
              unity_music_preview_track_state_type_id = g_enum_register_static ("UnityMusicPreviewTrackState", values);
              g_once_init_leave (&unity_music_preview_track_state_type_id__volatile, unity_music_preview_track_state_type_id);
       }
       return unity_music_preview_track_state_type_id__volatile;
}
static void unity_music_preview_update_track_state ( UnityMusicPreview *  self) [static]

Definition at line 1907 of file unity-previews.c.

                                                                             {
       DeeSharedModel* _tmp0_;
       DeeSharedModel* _tmp1_;
       DeeSharedModel* _tmp2_;
       DeeSharedModel* model;
       DeeSharedModel* _tmp3_;
       DeeModelIter* _tmp4_ = NULL;
       DeeModelIter* iter;
       DeeSharedModel* _tmp5_;
       DeeModelIter* _tmp6_ = NULL;
       DeeModelIter* end_iter;
       gboolean found_last_playing;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_track_data;
       g_return_if_fail (_tmp0_ != NULL);
       _tmp1_ = self->priv->_track_data;
       _tmp2_ = _g_object_ref0 (_tmp1_);
       model = _tmp2_;
       _tmp3_ = model;
       _tmp4_ = dee_model_get_first_iter ((DeeModel*) _tmp3_);
       iter = _tmp4_;
       _tmp5_ = model;
       _tmp6_ = dee_model_get_last_iter ((DeeModel*) _tmp5_);
       end_iter = _tmp6_;
       found_last_playing = FALSE;
       while (TRUE) {
              DeeModelIter* _tmp7_;
              DeeModelIter* _tmp8_;
              DeeSharedModel* _tmp9_;
              DeeModelIter* _tmp10_;
              const gchar* _tmp11_ = NULL;
              const gchar* _tmp12_;
              DeeSharedModel* _tmp45_;
              DeeModelIter* _tmp46_;
              DeeModelIter* _tmp47_ = NULL;
              _tmp7_ = iter;
              _tmp8_ = end_iter;
              if (!(_tmp7_ != _tmp8_)) {
                     break;
              }
              _tmp9_ = model;
              _tmp10_ = iter;
              _tmp11_ = dee_model_get_string ((DeeModel*) _tmp9_, _tmp10_, (guint) UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_URI);
              _tmp12_ = self->priv->_current_track_uri;
              if (g_strcmp0 (_tmp11_, _tmp12_) == 0) {
                     DeeSharedModel* _tmp13_;
                     DeeModelIter* _tmp14_;
                     GVariant** _tmp15_;
                     GVariant** _tmp16_ = NULL;
                     GVariant** row;
                     gint row_length1;
                     gint _row_size_;
                     GVariant** _tmp17_;
                     gint _tmp17__length1;
                     UnityMusicPreviewTrackState _tmp18_;
                     GVariant* _tmp19_;
                     GVariant* _tmp20_;
                     GVariant** _tmp21_;
                     gint _tmp21__length1;
                     gfloat _tmp22_;
                     GVariant* _tmp23_;
                     GVariant* _tmp24_;
                     DeeSharedModel* _tmp25_;
                     DeeModelIter* _tmp26_;
                     GVariant** _tmp27_;
                     gint _tmp27__length1;
                     gboolean _tmp28_;
                     _tmp13_ = model;
                     _tmp14_ = iter;
                     _tmp16_ = _tmp15_ = dee_model_get_row ((DeeModel*) _tmp13_, _tmp14_, NULL);
                     row = _tmp16_;
                     row_length1 = _vala_array_length (_tmp15_);
                     _row_size_ = row_length1;
                     _tmp17_ = row;
                     _tmp17__length1 = row_length1;
                     _tmp18_ = self->priv->_current_track_state;
                     _tmp19_ = _variant_new21 (_tmp18_ == UNITY_MUSIC_PREVIEW_TRACK_STATE_PLAYING);
                     _g_variant_unref0 (_tmp17_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PLAYING]);
                     _tmp17_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PLAYING] = _tmp19_;
                     _tmp20_ = _tmp17_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PLAYING];
                     _tmp21_ = row;
                     _tmp21__length1 = row_length1;
                     _tmp22_ = self->priv->_current_progress;
                     _tmp23_ = _variant_new22 ((gdouble) _tmp22_);
                     _g_variant_unref0 (_tmp21_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PROGRESS]);
                     _tmp21_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PROGRESS] = _tmp23_;
                     _tmp24_ = _tmp21_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PROGRESS];
                     _tmp25_ = model;
                     _tmp26_ = iter;
                     _tmp27_ = row;
                     _tmp27__length1 = row_length1;
                     dee_model_set_row ((DeeModel*) _tmp25_, _tmp26_, _tmp27_);
                     _tmp28_ = found_last_playing;
                     if (_tmp28_) {
                            row = (_vala_array_free (row, row_length1, (GDestroyNotify) g_variant_unref), NULL);
                            break;
                     }
                     row = (_vala_array_free (row, row_length1, (GDestroyNotify) g_variant_unref), NULL);
              } else {
                     DeeSharedModel* _tmp29_;
                     DeeModelIter* _tmp30_;
                     gboolean _tmp31_ = FALSE;
                     _tmp29_ = model;
                     _tmp30_ = iter;
                     _tmp31_ = dee_model_get_bool ((DeeModel*) _tmp29_, _tmp30_, (guint) UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PLAYING);
                     if (_tmp31_) {
                            DeeSharedModel* _tmp32_;
                            DeeModelIter* _tmp33_;
                            GVariant** _tmp34_;
                            GVariant** _tmp35_ = NULL;
                            GVariant** row;
                            gint row_length1;
                            gint _row_size_;
                            GVariant** _tmp36_;
                            gint _tmp36__length1;
                            GVariant* _tmp37_;
                            GVariant* _tmp38_;
                            GVariant** _tmp39_;
                            gint _tmp39__length1;
                            GVariant* _tmp40_;
                            GVariant* _tmp41_;
                            DeeSharedModel* _tmp42_;
                            DeeModelIter* _tmp43_;
                            GVariant** _tmp44_;
                            gint _tmp44__length1;
                            found_last_playing = TRUE;
                            _tmp32_ = model;
                            _tmp33_ = iter;
                            _tmp35_ = _tmp34_ = dee_model_get_row ((DeeModel*) _tmp32_, _tmp33_, NULL);
                            row = _tmp35_;
                            row_length1 = _vala_array_length (_tmp34_);
                            _row_size_ = row_length1;
                            _tmp36_ = row;
                            _tmp36__length1 = row_length1;
                            _tmp37_ = _variant_new23 (FALSE);
                            _g_variant_unref0 (_tmp36_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PLAYING]);
                            _tmp36_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PLAYING] = _tmp37_;
                            _tmp38_ = _tmp36_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PLAYING];
                            _tmp39_ = row;
                            _tmp39__length1 = row_length1;
                            _tmp40_ = _variant_new24 (0.0);
                            _g_variant_unref0 (_tmp39_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PROGRESS]);
                            _tmp39_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PROGRESS] = _tmp40_;
                            _tmp41_ = _tmp39_[UNITY_MUSIC_PREVIEW_TRACK_DATA_COLUMNS_PROGRESS];
                            _tmp42_ = model;
                            _tmp43_ = iter;
                            _tmp44_ = row;
                            _tmp44__length1 = row_length1;
                            dee_model_set_row ((DeeModel*) _tmp42_, _tmp43_, _tmp44_);
                            row = (_vala_array_free (row, row_length1, (GDestroyNotify) g_variant_unref), NULL);
                     }
              }
              _tmp45_ = model;
              _tmp46_ = iter;
              _tmp47_ = dee_model_next ((DeeModel*) _tmp45_, _tmp46_);
              iter = _tmp47_;
       }
       _g_object_unref0 (model);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_preview_action_class_init ( UnityPreviewActionClass *  klass) [static]

Definition at line 1156 of file unity-previews.c.

                                                                              {
       GVariantType* _tmp0_;
       GVariantType* _tmp1_;
       unity_preview_action_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityPreviewActionPrivate));
       UNITY_PREVIEW_ACTION_CLASS (klass)->dummy1 = unity_preview_action_real_dummy1;
       UNITY_PREVIEW_ACTION_CLASS (klass)->dummy2 = unity_preview_action_real_dummy2;
       UNITY_PREVIEW_ACTION_CLASS (klass)->dummy3 = unity_preview_action_real_dummy3;
       UNITY_PREVIEW_ACTION_CLASS (klass)->dummy4 = unity_preview_action_real_dummy4;
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_preview_action_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_preview_action_set_property;
       G_OBJECT_CLASS (klass)->finalize = unity_preview_action_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_PREVIEW_ACTION_ID, g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_PREVIEW_ACTION_DISPLAY_NAME, g_param_spec_string ("display-name", "display-name", "display-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_PREVIEW_ACTION_ICON_HINT, g_param_spec_object ("icon-hint", "icon-hint", "icon-hint", G_TYPE_ICON, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_PREVIEW_ACTION_LAYOUT_HINT, g_param_spec_enum ("layout-hint", "layout-hint", "layout-hint", UNITY_TYPE_LAYOUT_HINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_signal_new ("activated", UNITY_TYPE_PREVIEW_ACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_OBJECT__STRING, UNITY_TYPE_ACTIVATION_RESPONSE, 1, G_TYPE_STRING);
       _tmp0_ = g_variant_type_new ("(sssua{sv})");
       _tmp1_ = _tmp0_;
       dee_serializable_register_parser (UNITY_TYPE_PREVIEW_ACTION, _tmp1_, __unity_preview_action___lambda4__dee_serializable_parse_func);
       _g_variant_type_free0 (_tmp1_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityPreviewAction* unity_preview_action_construct ( GType  object_type,
const gchar *  id,
const gchar *  display_name,
GIcon *  icon_hint 
)

Definition at line 746 of file unity-previews.c.

                                                                                                                                     {
       UnityPreviewAction * self = NULL;
       const gchar* _tmp0_;
       const gchar* _tmp1_;
       GIcon* _tmp2_;
       g_return_val_if_fail (id != NULL, NULL);
       g_return_val_if_fail (display_name != NULL, NULL);
       _tmp0_ = id;
       _tmp1_ = display_name;
       _tmp2_ = icon_hint;
       self = (UnityPreviewAction*) g_object_new (object_type, "id", _tmp0_, "display-name", _tmp1_, "icon-hint", _tmp2_, NULL);
       return self;
}

Here is the caller graph for this function:

UnityPreviewAction* unity_preview_action_construct_with_layout_hint ( GType  object_type,
const gchar *  id,
const gchar *  display_name,
GIcon *  icon_hint,
UnityLayoutHint  layout 
)

Definition at line 766 of file unity-previews.c.

                                                                                                                                                                              {
       UnityPreviewAction * self = NULL;
       const gchar* _tmp0_;
       const gchar* _tmp1_;
       GIcon* _tmp2_;
       UnityLayoutHint _tmp3_;
       g_return_val_if_fail (id != NULL, NULL);
       g_return_val_if_fail (display_name != NULL, NULL);
       _tmp0_ = id;
       _tmp1_ = display_name;
       _tmp2_ = icon_hint;
       _tmp3_ = layout;
       self = (UnityPreviewAction*) g_object_new (object_type, "id", _tmp0_, "display-name", _tmp1_, "icon-hint", _tmp2_, "layout-hint", _tmp3_, NULL);
       return self;
}

Here is the caller graph for this function:

static void unity_preview_action_dee_serializable_interface_init ( DeeSerializableIface *  iface) [static]

Definition at line 1180 of file unity-previews.c.

                                                                                                {
       unity_preview_action_dee_serializable_parent_iface = g_type_interface_peek_parent (iface);
       iface->serialize = (GVariant* (*)(DeeSerializable*)) unity_preview_action_real_serialize;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_preview_action_dummy1 ( UnityPreviewAction *  self)

Definition at line 900 of file unity-previews.c.

                                                            {
       g_return_if_fail (self != NULL);
       UNITY_PREVIEW_ACTION_GET_CLASS (self)->dummy1 (self);
}
void unity_preview_action_dummy2 ( UnityPreviewAction *  self)

Definition at line 910 of file unity-previews.c.

                                                            {
       g_return_if_fail (self != NULL);
       UNITY_PREVIEW_ACTION_GET_CLASS (self)->dummy2 (self);
}
void unity_preview_action_dummy3 ( UnityPreviewAction *  self)

Definition at line 920 of file unity-previews.c.

                                                            {
       g_return_if_fail (self != NULL);
       UNITY_PREVIEW_ACTION_GET_CLASS (self)->dummy3 (self);
}
void unity_preview_action_dummy4 ( UnityPreviewAction *  self)

Definition at line 930 of file unity-previews.c.

                                                            {
       g_return_if_fail (self != NULL);
       UNITY_PREVIEW_ACTION_GET_CLASS (self)->dummy4 (self);
}
static void unity_preview_action_finalize ( GObject *  obj) [static]

Definition at line 1191 of file unity-previews.c.

                                                         {
       UnityPreviewAction * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_PREVIEW_ACTION, UnityPreviewAction);
       _g_free0 (self->priv->_id);
       _g_free0 (self->priv->_display_name);
       _g_object_unref0 (self->priv->_icon_hint);
       G_OBJECT_CLASS (unity_preview_action_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

const gchar* unity_preview_action_get_display_name ( UnityPreviewAction *  self)

Definition at line 958 of file unity-previews.c.

                                                                              {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_display_name;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

GIcon* unity_preview_action_get_icon_hint ( UnityPreviewAction *  self)

Definition at line 980 of file unity-previews.c.

                                                                     {
       GIcon* result;
       GIcon* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_icon_hint;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar* unity_preview_action_get_id ( UnityPreviewAction *  self)

Definition at line 936 of file unity-previews.c.

                                                                    {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_id;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

UnityLayoutHint unity_preview_action_get_layout_hint ( UnityPreviewAction *  self)

Definition at line 1002 of file unity-previews.c.

                                                                                {
       UnityLayoutHint result;
       UnityLayoutHint _tmp0_;
       g_return_val_if_fail (self != NULL, 0);
       _tmp0_ = self->priv->_layout_hint;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

Definition at line 1201 of file unity-previews.c.

                                           {
       static volatile gsize unity_preview_action_type_id__volatile = 0;
       if (g_once_init_enter (&unity_preview_action_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityPreviewActionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_preview_action_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityPreviewAction), 0, (GInstanceInitFunc) unity_preview_action_instance_init, NULL };
              static const GInterfaceInfo dee_serializable_info = { (GInterfaceInitFunc) unity_preview_action_dee_serializable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
              GType unity_preview_action_type_id;
              unity_preview_action_type_id = g_type_register_static (G_TYPE_OBJECT, "UnityPreviewAction", &g_define_type_info, 0);
              g_type_add_interface_static (unity_preview_action_type_id, dee_serializable_get_type (), &dee_serializable_info);
              g_once_init_leave (&unity_preview_action_type_id__volatile, unity_preview_action_type_id);
       }
       return unity_preview_action_type_id__volatile;
}

Here is the call graph for this function:

static void unity_preview_action_instance_init ( UnityPreviewAction *  self) [static]

Definition at line 1186 of file unity-previews.c.

                                                                           {
       self->priv = UNITY_PREVIEW_ACTION_GET_PRIVATE (self);
}

Here is the caller graph for this function:

UnityPreviewAction* unity_preview_action_new ( const gchar *  id,
const gchar *  display_name,
GIcon *  icon_hint 
)

Definition at line 761 of file unity-previews.c.

                                                                                                            {
       return unity_preview_action_construct (UNITY_TYPE_PREVIEW_ACTION, id, display_name, icon_hint);
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityPreviewAction* unity_preview_action_new_with_layout_hint ( const gchar *  id,
const gchar *  display_name,
GIcon *  icon_hint,
UnityLayoutHint  layout 
)

Definition at line 783 of file unity-previews.c.

                                                                                                                                                     {
       return unity_preview_action_construct_with_layout_hint (UNITY_TYPE_PREVIEW_ACTION, id, display_name, icon_hint, layout);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_preview_action_real_dummy1 ( UnityPreviewAction *  self) [static]

Definition at line 896 of file unity-previews.c.

                                                                        {
}

Here is the caller graph for this function:

static void unity_preview_action_real_dummy2 ( UnityPreviewAction *  self) [static]

Definition at line 906 of file unity-previews.c.

                                                                        {
}

Here is the caller graph for this function:

static void unity_preview_action_real_dummy3 ( UnityPreviewAction *  self) [static]

Definition at line 916 of file unity-previews.c.

                                                                        {
}

Here is the caller graph for this function:

static void unity_preview_action_real_dummy4 ( UnityPreviewAction *  self) [static]

Definition at line 926 of file unity-previews.c.

                                                                        {
}

Here is the caller graph for this function:

static GVariant * unity_preview_action_real_serialize ( DeeSerializable *  base) [static]

Definition at line 821 of file unity-previews.c.

                                                                             {
       UnityPreviewAction * self;
       GVariant* result = NULL;
       GVariant* tuple[5] = {0};
       const gchar* _tmp0_;
       GVariant* _tmp1_;
       GVariant* _tmp2_;
       const gchar* _tmp3_;
       GVariant* _tmp4_;
       GVariant* _tmp5_;
       gchar* _tmp6_ = NULL;
       GIcon* _tmp7_;
       const gchar* _tmp11_;
       GVariant* _tmp12_;
       GVariant* _tmp13_;
       UnityLayoutHint _tmp14_;
       GVariant* _tmp15_;
       GVariant* _tmp16_;
       GHashTable* _tmp17_;
       GHashTable* hints;
       GVariant* _tmp22_;
       GVariant* _tmp23_;
       GVariant* _tmp24_;
       self = (UnityPreviewAction*) base;
       _tmp0_ = self->priv->_id;
       _tmp1_ = _variant_new17 (_tmp0_);
       _g_variant_unref0 (tuple[0]);
       tuple[0] = _tmp1_;
       _tmp2_ = tuple[0];
       _tmp3_ = self->priv->_display_name;
       _tmp4_ = _variant_new18 (_tmp3_);
       _g_variant_unref0 (tuple[1]);
       tuple[1] = _tmp4_;
       _tmp5_ = tuple[1];
       _tmp7_ = self->priv->_icon_hint;
       if (_tmp7_ != NULL) {
              GIcon* _tmp8_;
              gchar* _tmp9_ = NULL;
              _tmp8_ = self->priv->_icon_hint;
              _tmp9_ = g_icon_to_string (_tmp8_);
              _g_free0 (_tmp6_);
              _tmp6_ = _tmp9_;
       } else {
              gchar* _tmp10_;
              _tmp10_ = g_strdup ("");
              _g_free0 (_tmp6_);
              _tmp6_ = _tmp10_;
       }
       _tmp11_ = _tmp6_;
       _tmp12_ = g_variant_new_string (_tmp11_);
       g_variant_ref_sink (_tmp12_);
       _g_variant_unref0 (tuple[2]);
       tuple[2] = _tmp12_;
       _tmp13_ = tuple[2];
       _tmp14_ = self->priv->_layout_hint;
       _tmp15_ = _variant_new19 ((guint) _tmp14_);
       _g_variant_unref0 (tuple[3]);
       tuple[3] = _tmp15_;
       _tmp16_ = tuple[3];
       _tmp17_ = g_hash_table_new_full (NULL, NULL, _g_free0_, _g_variant_unref0_);
       hints = _tmp17_;
       _tmp22_ = _variant_new20 (hints);
       _g_variant_unref0 (tuple[4]);
       tuple[4] = _tmp22_;
       _tmp23_ = tuple[4];
       _tmp24_ = g_variant_new_tuple (tuple, 5);
       g_variant_ref_sink (_tmp24_);
       result = _tmp24_;
       _g_hash_table_unref0 (hints);
       _g_free0 (_tmp6_);
       _vala_array_destroy (tuple, 5, (GDestroyNotify) g_variant_unref);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_preview_action_set_display_name ( UnityPreviewAction *  self,
const gchar *  value 
) [static]

Definition at line 968 of file unity-previews.c.

                                                                                                 {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_display_name);
       self->priv->_display_name = _tmp1_;
       g_object_notify ((GObject *) self, "display-name");
}

Here is the caller graph for this function:

static void unity_preview_action_set_icon_hint ( UnityPreviewAction *  self,
GIcon *  value 
) [static]

Definition at line 990 of file unity-previews.c.

                                                                                        {
       GIcon* _tmp0_;
       GIcon* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_icon_hint);
       self->priv->_icon_hint = _tmp1_;
       g_object_notify ((GObject *) self, "icon-hint");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_preview_action_set_id ( UnityPreviewAction *  self,
const gchar *  value 
) [static]

Definition at line 946 of file unity-previews.c.

                                                                                       {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_id);
       self->priv->_id = _tmp1_;
       g_object_notify ((GObject *) self, "id");
}

Here is the caller graph for this function:

static void unity_preview_action_set_layout_hint ( UnityPreviewAction *  self,
UnityLayoutHint  value 
) [static]

Definition at line 1012 of file unity-previews.c.

                                                                                                   {
       UnityLayoutHint _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       self->priv->_layout_hint = _tmp0_;
       g_object_notify ((GObject *) self, "layout-hint");
}

Here is the caller graph for this function:

void unity_preview_add_action ( UnityPreview *  self,
UnityPreviewAction *  action 
)

Definition at line 328 of file unity-previews.c.

                                                                               {
       GPtrArray* _tmp0_;
       UnityPreviewAction* _tmp1_;
       UnityPreviewAction* _tmp2_;
       UnityProtocolPreview* _tmp3_;
       UnityPreviewAction* _tmp4_;
       const gchar* _tmp5_;
       const gchar* _tmp6_;
       UnityPreviewAction* _tmp7_;
       const gchar* _tmp8_;
       const gchar* _tmp9_;
       UnityPreviewAction* _tmp10_;
       GIcon* _tmp11_;
       GIcon* _tmp12_;
       UnityPreviewAction* _tmp13_;
       UnityLayoutHint _tmp14_;
       UnityLayoutHint _tmp15_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (action != NULL);
       _tmp0_ = self->priv->_actions;
       _tmp1_ = action;
       _tmp2_ = _g_object_ref0 (_tmp1_);
       g_ptr_array_add (_tmp0_, _tmp2_);
       _tmp3_ = self->priv->_raw;
       _tmp4_ = action;
       _tmp5_ = unity_preview_action_get_id (_tmp4_);
       _tmp6_ = _tmp5_;
       _tmp7_ = action;
       _tmp8_ = unity_preview_action_get_display_name (_tmp7_);
       _tmp9_ = _tmp8_;
       _tmp10_ = action;
       _tmp11_ = unity_preview_action_get_icon_hint (_tmp10_);
       _tmp12_ = _tmp11_;
       _tmp13_ = action;
       _tmp14_ = unity_preview_action_get_layout_hint (_tmp13_);
       _tmp15_ = _tmp14_;
       unity_protocol_preview_add_action (_tmp3_, _tmp6_, _tmp9_, _tmp12_, (guint) _tmp15_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_preview_add_info ( UnityPreview *  self,
UnityInfoHint *  info_hint 
)

Definition at line 368 of file unity-previews.c.

                                                                           {
       UnityInfoHint* _tmp0_;
       GObject* _tmp1_ = NULL;
       GObject* _tmp2_;
       UnityProtocolPreview* _tmp3_;
       UnityInfoHint* _tmp4_;
       const gchar* _tmp5_;
       const gchar* _tmp6_;
       UnityInfoHint* _tmp7_;
       const gchar* _tmp8_;
       const gchar* _tmp9_;
       UnityInfoHint* _tmp10_;
       GIcon* _tmp11_;
       GIcon* _tmp12_;
       UnityInfoHint* _tmp13_;
       GVariant* _tmp14_;
       GVariant* _tmp15_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (info_hint != NULL);
       _tmp0_ = info_hint;
       _tmp1_ = g_object_ref_sink ((GObject*) _tmp0_);
       _tmp2_ = _tmp1_;
       _g_object_unref0 (_tmp2_);
       _tmp3_ = self->priv->_raw;
       _tmp4_ = info_hint;
       _tmp5_ = unity_info_hint_get_id (_tmp4_);
       _tmp6_ = _tmp5_;
       _tmp7_ = info_hint;
       _tmp8_ = unity_info_hint_get_display_name (_tmp7_);
       _tmp9_ = _tmp8_;
       _tmp10_ = info_hint;
       _tmp11_ = unity_info_hint_get_icon_hint (_tmp10_);
       _tmp12_ = _tmp11_;
       _tmp13_ = info_hint;
       _tmp14_ = unity_info_hint_get_data (_tmp13_);
       _tmp15_ = _tmp14_;
       unity_protocol_preview_add_info_hint (_tmp3_, _tmp6_, _tmp9_, _tmp12_, _tmp15_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_preview_class_init ( UnityPreviewClass *  klass) [static]

Definition at line 631 of file unity-previews.c.

                                                                 {
       unity_preview_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityPreviewPrivate));
       UNITY_PREVIEW_CLASS (klass)->create_raw = unity_preview_real_create_raw;
       UNITY_PREVIEW_CLASS (klass)->update_property = unity_preview_real_update_property;
       UNITY_PREVIEW_CLASS (klass)->dummy1 = unity_preview_real_dummy1;
       UNITY_PREVIEW_CLASS (klass)->dummy2 = unity_preview_real_dummy2;
       UNITY_PREVIEW_CLASS (klass)->dummy3 = unity_preview_real_dummy3;
       UNITY_PREVIEW_CLASS (klass)->dummy4 = unity_preview_real_dummy4;
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_preview_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_preview_set_property;
       G_OBJECT_CLASS (klass)->constructor = unity_preview_constructor;
       G_OBJECT_CLASS (klass)->finalize = unity_preview_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_PREVIEW_TITLE, g_param_spec_string ("title", "title", "title", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_PREVIEW_SUBTITLE, g_param_spec_string ("subtitle", "subtitle", "subtitle", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_PREVIEW_DESCRIPTION_MARKUP, g_param_spec_string ("description-markup", "description-markup", "description-markup", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_PREVIEW_THUMBNAIL, g_param_spec_object ("thumbnail", "thumbnail", "thumbnail", G_TYPE_ICON, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityPreview* unity_preview_construct ( GType  object_type)

Definition at line 506 of file unity-previews.c.

                                                          {
       UnityPreview * self = NULL;
       self = (UnityPreview*) g_object_new (object_type, NULL);
       return self;
}
static GObject * unity_preview_constructor ( GType  type,
guint  n_construct_properties,
GObjectConstructParam *  construct_properties 
) [static]

Definition at line 613 of file unity-previews.c.

                                                                                                                                    {
       GObject * obj;
       GObjectClass * parent_class;
       UnityPreview * self;
       GObject* _tmp0_ = NULL;
       UnityProtocolPreview* _tmp1_;
       parent_class = G_OBJECT_CLASS (unity_preview_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_PREVIEW, UnityPreview);
       _tmp0_ = unity_preview_create_raw (self);
       _g_object_unref0 (self->priv->_raw);
       self->priv->_raw = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, UNITY_PROTOCOL_TYPE_PREVIEW) ? ((UnityProtocolPreview*) _tmp0_) : NULL;
       _tmp1_ = self->priv->_raw;
       g_warn_if_fail (_tmp1_ != NULL);
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

GObject* unity_preview_create_raw ( UnityPreview *  self)

Definition at line 317 of file unity-previews.c.

                                                       {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_PREVIEW_GET_CLASS (self)->create_raw (self);
}

Here is the caller graph for this function:

static void unity_preview_dee_serializable_interface_init ( DeeSerializableIface *  iface) [static]

Definition at line 651 of file unity-previews.c.

                                                                                         {
       unity_preview_dee_serializable_parent_iface = g_type_interface_peek_parent (iface);
       iface->serialize = (GVariant* (*)(DeeSerializable*)) unity_preview_real_serialize;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_preview_dummy1 ( UnityPreview *  self)

Definition at line 470 of file unity-previews.c.

                                               {
       g_return_if_fail (self != NULL);
       UNITY_PREVIEW_GET_CLASS (self)->dummy1 (self);
}
void unity_preview_dummy2 ( UnityPreview *  self)

Definition at line 480 of file unity-previews.c.

                                               {
       g_return_if_fail (self != NULL);
       UNITY_PREVIEW_GET_CLASS (self)->dummy2 (self);
}
void unity_preview_dummy3 ( UnityPreview *  self)

Definition at line 490 of file unity-previews.c.

                                               {
       g_return_if_fail (self != NULL);
       UNITY_PREVIEW_GET_CLASS (self)->dummy3 (self);
}
void unity_preview_dummy4 ( UnityPreview *  self)

Definition at line 500 of file unity-previews.c.

                                               {
       g_return_if_fail (self != NULL);
       UNITY_PREVIEW_GET_CLASS (self)->dummy4 (self);
}
static void unity_preview_finalize ( GObject *  obj) [static]

Definition at line 665 of file unity-previews.c.

                                                  {
       UnityPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_PREVIEW, UnityPreview);
       _g_object_unref0 (self->priv->_raw);
       _g_ptr_array_unref0 (self->priv->_actions);
       G_OBJECT_CLASS (unity_preview_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GPtrArray* unity_preview_get_actions ( UnityPreview *  self)

Definition at line 443 of file unity-previews.c.

                                                          {
       GPtrArray* result = NULL;
       GPtrArray* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_actions;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar* unity_preview_get_description_markup ( UnityPreview *  self)

Definition at line 563 of file unity-previews.c.

                                                                       {
       const gchar* result;
       UnityProtocolPreview* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = unity_protocol_preview_get_description (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityProtocolPreview* unity_preview_get_raw ( UnityPreview *  self)

Definition at line 301 of file unity-previews.c.

                                                                 {
       UnityProtocolPreview* result = NULL;
       UnityProtocolPreview* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_raw;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar* unity_preview_get_subtitle ( UnityPreview *  self)

Definition at line 538 of file unity-previews.c.

                                                             {
       const gchar* result;
       UnityProtocolPreview* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = unity_protocol_preview_get_subtitle (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

GIcon* unity_preview_get_thumbnail ( UnityPreview *  self)

Definition at line 588 of file unity-previews.c.

                                                        {
       GIcon* result;
       UnityProtocolPreview* _tmp0_;
       GIcon* _tmp1_;
       GIcon* _tmp2_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = unity_protocol_preview_get_thumbnail (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

const gchar* unity_preview_get_title ( UnityPreview *  self)

Definition at line 513 of file unity-previews.c.

                                                          {
       const gchar* result;
       UnityProtocolPreview* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = unity_protocol_preview_get_title (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

GType unity_preview_get_type ( void  )

Definition at line 674 of file unity-previews.c.

                                    {
       static volatile gsize unity_preview_type_id__volatile = 0;
       if (g_once_init_enter (&unity_preview_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityPreviewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_preview_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityPreview), 0, (GInstanceInitFunc) unity_preview_instance_init, NULL };
              static const GInterfaceInfo dee_serializable_info = { (GInterfaceInitFunc) unity_preview_dee_serializable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
              GType unity_preview_type_id;
              unity_preview_type_id = g_type_register_static (G_TYPE_OBJECT, "UnityPreview", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
              g_type_add_interface_static (unity_preview_type_id, dee_serializable_get_type (), &dee_serializable_info);
              g_once_init_leave (&unity_preview_type_id__volatile, unity_preview_type_id);
       }
       return unity_preview_type_id__volatile;
}

Here is the call graph for this function:

static void unity_preview_instance_init ( UnityPreview *  self) [static]

Definition at line 657 of file unity-previews.c.

                                                              {
       GPtrArray* _tmp0_;
       self->priv = UNITY_PREVIEW_GET_PRIVATE (self);
       _tmp0_ = g_ptr_array_new_with_free_func (_g_object_unref0_);
       self->priv->_actions = _tmp0_;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GObject * unity_preview_real_create_raw ( UnityPreview *  self) [static]

Definition at line 311 of file unity-previews.c.

                                                                   {
       g_critical ("Type `%s' does not implement abstract method `unity_preview_create_raw'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
       return NULL;
}

Here is the caller graph for this function:

static void unity_preview_real_dummy1 ( UnityPreview *  self) [static]

Definition at line 466 of file unity-previews.c.

                                                           {
}

Here is the caller graph for this function:

static void unity_preview_real_dummy2 ( UnityPreview *  self) [static]

Definition at line 476 of file unity-previews.c.

                                                           {
}

Here is the caller graph for this function:

static void unity_preview_real_dummy3 ( UnityPreview *  self) [static]

Definition at line 486 of file unity-previews.c.

                                                           {
}

Here is the caller graph for this function:

static void unity_preview_real_dummy4 ( UnityPreview *  self) [static]

Definition at line 496 of file unity-previews.c.

                                                           {
}

Here is the caller graph for this function:

static GVariant * unity_preview_real_serialize ( DeeSerializable *  base) [static]

Definition at line 453 of file unity-previews.c.

                                                                      {
       UnityPreview * self;
       GVariant* result = NULL;
       UnityProtocolPreview* _tmp0_;
       GVariant* _tmp1_ = NULL;
       self = (UnityPreview*) base;
       _tmp0_ = self->priv->_raw;
       _tmp1_ = dee_serializable_serialize ((DeeSerializable*) _tmp0_);
       result = _tmp1_;
       return result;
}

Here is the caller graph for this function:

static GHashTable * unity_preview_real_update_property ( UnityPreview *  self,
GHashTable *  values 
) [static]

Definition at line 418 of file unity-previews.c.

                                                                                               {
       GHashTable* result = NULL;
       UnityProtocolPreview* _tmp0_;
       GHashTable* _tmp1_;
       GHashFunc _tmp2_;
       GEqualFunc _tmp3_;
       GHashTable* _tmp4_;
       g_return_val_if_fail (values != NULL, NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = values;
       unity_protocol_preview_update_property (_tmp0_, _tmp1_);
       _tmp2_ = g_str_hash;
       _tmp3_ = g_str_equal;
       _tmp4_ = g_hash_table_new_full (_tmp2_, _tmp3_, _g_free0_, _g_variant_unref0_);
       result = _tmp4_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_preview_set_description_markup ( UnityPreview *  self,
const gchar *  value 
)

Definition at line 577 of file unity-previews.c.

                                                                                   {
       UnityProtocolPreview* _tmp0_;
       const gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = value;
       unity_protocol_preview_set_description (_tmp0_, _tmp1_);
       g_object_notify ((GObject *) self, "description-markup");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_preview_set_subtitle ( UnityPreview *  self,
const gchar *  value 
)

Definition at line 552 of file unity-previews.c.

                                                                         {
       UnityProtocolPreview* _tmp0_;
       const gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = value;
       unity_protocol_preview_set_subtitle (_tmp0_, _tmp1_);
       g_object_notify ((GObject *) self, "subtitle");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_preview_set_thumbnail ( UnityPreview *  self,
GIcon *  value 
)

Definition at line 602 of file unity-previews.c.

                                                                    {
       UnityProtocolPreview* _tmp0_;
       GIcon* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = value;
       unity_protocol_preview_set_thumbnail (_tmp0_, _tmp1_);
       g_object_notify ((GObject *) self, "thumbnail");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_preview_set_title ( UnityPreview *  self,
const gchar *  value 
)

Definition at line 527 of file unity-previews.c.

                                                                      {
       UnityProtocolPreview* _tmp0_;
       const gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = value;
       unity_protocol_preview_set_title (_tmp0_, _tmp1_);
       g_object_notify ((GObject *) self, "title");
}

Here is the call graph for this function:

Here is the caller graph for this function:

GHashTable* unity_preview_update_property ( UnityPreview *  self,
GHashTable *  values 
)

Definition at line 437 of file unity-previews.c.

                                                                                   {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_PREVIEW_GET_CLASS (self)->update_property (self, values);
}

Here is the caller graph for this function:

static void unity_series_item_class_init ( UnitySeriesItemClass *  klass) [static]

Definition at line 2578 of file unity-previews.c.

                                                                        {
       unity_series_item_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnitySeriesItemPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_series_item_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_series_item_set_property;
       G_OBJECT_CLASS (klass)->finalize = unity_series_item_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SERIES_ITEM_URI, g_param_spec_string ("uri", "uri", "uri", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SERIES_ITEM_TITLE, g_param_spec_string ("title", "title", "title", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SERIES_ITEM_ICON_HINT, g_param_spec_object ("icon-hint", "icon-hint", "icon-hint", G_TYPE_ICON, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnitySeriesItem* unity_series_item_construct ( GType  object_type,
const gchar *  uri,
const gchar *  title,
GIcon *  icon_hint 
)

Definition at line 2492 of file unity-previews.c.

                                                                                                                         {
       UnitySeriesItem * self = NULL;
       const gchar* _tmp0_;
       const gchar* _tmp1_;
       GIcon* _tmp2_;
       g_return_val_if_fail (uri != NULL, NULL);
       g_return_val_if_fail (title != NULL, NULL);
       _tmp0_ = uri;
       _tmp1_ = title;
       _tmp2_ = icon_hint;
       self = (UnitySeriesItem*) g_object_new (object_type, "uri", _tmp0_, "title", _tmp1_, "icon-hint", _tmp2_, NULL);
       return self;
}

Here is the caller graph for this function:

static void unity_series_item_finalize ( GObject *  obj) [static]

Definition at line 2595 of file unity-previews.c.

                                                      {
       UnitySeriesItem * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_SERIES_ITEM, UnitySeriesItem);
       _g_free0 (self->priv->_uri);
       _g_free0 (self->priv->_title);
       _g_object_unref0 (self->priv->_icon_hint);
       G_OBJECT_CLASS (unity_series_item_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GIcon* unity_series_item_get_icon_hint ( UnitySeriesItem *  self)

Definition at line 2556 of file unity-previews.c.

                                                               {
       GIcon* result;
       GIcon* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_icon_hint;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar* unity_series_item_get_title ( UnitySeriesItem *  self)

Definition at line 2534 of file unity-previews.c.

                                                                 {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_title;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

GType unity_series_item_get_type ( void  )

Definition at line 2605 of file unity-previews.c.

                                        {
       static volatile gsize unity_series_item_type_id__volatile = 0;
       if (g_once_init_enter (&unity_series_item_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnitySeriesItemClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_series_item_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnitySeriesItem), 0, (GInstanceInitFunc) unity_series_item_instance_init, NULL };
              GType unity_series_item_type_id;
              unity_series_item_type_id = g_type_register_static (G_TYPE_OBJECT, "UnitySeriesItem", &g_define_type_info, 0);
              g_once_init_leave (&unity_series_item_type_id__volatile, unity_series_item_type_id);
       }
       return unity_series_item_type_id__volatile;
}

Here is the call graph for this function:

const gchar* unity_series_item_get_uri ( UnitySeriesItem *  self)

Definition at line 2512 of file unity-previews.c.

                                                               {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_uri;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

static void unity_series_item_instance_init ( UnitySeriesItem *  self) [static]

Definition at line 2590 of file unity-previews.c.

                                                                     {
       self->priv = UNITY_SERIES_ITEM_GET_PRIVATE (self);
}

Here is the caller graph for this function:

UnitySeriesItem* unity_series_item_new ( const gchar *  uri,
const gchar *  title,
GIcon *  icon_hint 
)

Definition at line 2507 of file unity-previews.c.

                                                                                                {
       return unity_series_item_construct (UNITY_TYPE_SERIES_ITEM, uri, title, icon_hint);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_series_item_set_icon_hint ( UnitySeriesItem *  self,
GIcon *  value 
) [static]

Definition at line 2566 of file unity-previews.c.

                                                                                  {
       GIcon* _tmp0_;
       GIcon* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_icon_hint);
       self->priv->_icon_hint = _tmp1_;
       g_object_notify ((GObject *) self, "icon-hint");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_series_item_set_title ( UnitySeriesItem *  self,
const gchar *  value 
) [static]

Definition at line 2544 of file unity-previews.c.

                                                                                    {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_title);
       self->priv->_title = _tmp1_;
       g_object_notify ((GObject *) self, "title");
}

Here is the caller graph for this function:

static void unity_series_item_set_uri ( UnitySeriesItem *  self,
const gchar *  value 
) [static]

Definition at line 2522 of file unity-previews.c.

                                                                                  {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_uri);
       self->priv->_uri = _tmp1_;
       g_object_notify ((GObject *) self, "uri");
}

Here is the caller graph for this function:

static void unity_series_preview_add_item ( UnitySeriesPreview *  self,
UnitySeriesItem *  item 
) [static]

Definition at line 2693 of file unity-previews.c.

                                                                                            {
       UnityProtocolSeriesPreview* _tmp0_;
       UnitySeriesItem* _tmp1_;
       const gchar* _tmp2_;
       const gchar* _tmp3_;
       UnitySeriesItem* _tmp4_;
       const gchar* _tmp5_;
       const gchar* _tmp6_;
       UnitySeriesItem* _tmp7_;
       GIcon* _tmp8_;
       GIcon* _tmp9_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (item != NULL);
       _tmp0_ = self->priv->_raw;
       _tmp1_ = item;
       _tmp2_ = unity_series_item_get_title (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = item;
       _tmp5_ = unity_series_item_get_uri (_tmp4_);
       _tmp6_ = _tmp5_;
       _tmp7_ = item;
       _tmp8_ = unity_series_item_get_icon_hint (_tmp7_);
       _tmp9_ = _tmp8_;
       unity_protocol_series_preview_add_series_item (_tmp0_, _tmp3_, _tmp6_, _tmp9_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_series_preview_class_init ( UnitySeriesPreviewClass *  klass) [static]

Definition at line 2999 of file unity-previews.c.

                                                                              {
       unity_series_preview_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnitySeriesPreviewPrivate));
       UNITY_PREVIEW_CLASS (klass)->update_property = unity_series_preview_real_update_property;
       UNITY_PREVIEW_CLASS (klass)->create_raw = unity_series_preview_real_create_raw;
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_series_preview_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_series_preview_set_property;
       G_OBJECT_CLASS (klass)->finalize = unity_series_preview_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SERIES_PREVIEW_CURRENT_ITEM_URI, g_param_spec_string ("current-item-uri", "current-item-uri", "current-item-uri", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_signal_new ("request_item_preview", UNITY_TYPE_SERIES_PREVIEW, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_OBJECT__STRING, UNITY_TYPE_PREVIEW, 1, G_TYPE_STRING);
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnitySeriesPreview* unity_series_preview_construct ( GType  object_type,
UnitySeriesItem **  items,
int  items_length1,
const gchar *  selected_item_uri 
)

Definition at line 2657 of file unity-previews.c.

                                                                                                                                                   {
       UnitySeriesPreview * self = NULL;
       const gchar* _tmp0_;
       UnitySeriesItem** _tmp1_;
       gint _tmp1__length1;
       g_return_val_if_fail (selected_item_uri != NULL, NULL);
       _tmp0_ = selected_item_uri;
       self = (UnitySeriesPreview*) g_object_new (object_type, "current-item-uri", _tmp0_, NULL);
       _tmp1_ = items;
       _tmp1__length1 = items_length1;
       {
              UnitySeriesItem** item_collection = NULL;
              gint item_collection_length1 = 0;
              gint _item_collection_size_ = 0;
              gint item_it = 0;
              item_collection = _tmp1_;
              item_collection_length1 = _tmp1__length1;
              for (item_it = 0; item_it < _tmp1__length1; item_it = item_it + 1) {
                     UnitySeriesItem* item = NULL;
                     item = item_collection[item_it];
                     {
                            UnitySeriesItem* _tmp2_;
                            _tmp2_ = item;
                            unity_series_preview_add_item (self, _tmp2_);
                     }
              }
       }
       return self;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_series_preview_dee_serializable_interface_init ( DeeSerializableIface *  iface) [static]

Definition at line 3012 of file unity-previews.c.

                                                                                                {
       unity_series_preview_dee_serializable_parent_iface = g_type_interface_peek_parent (iface);
       iface->serialize = (GVariant* (*)(DeeSerializable*)) unity_series_preview_real_serialize;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_series_preview_finalize ( GObject *  obj) [static]

Definition at line 3024 of file unity-previews.c.

                                                         {
       UnitySeriesPreview * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_SERIES_PREVIEW, UnitySeriesPreview);
       _g_free0 (self->priv->_current_item_uri);
       _g_object_unref0 (self->priv->_child_preview);
       G_OBJECT_CLASS (unity_series_preview_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

UnityPreview* unity_series_preview_get_active_preview ( UnitySeriesPreview *  self)

Definition at line 2911 of file unity-previews.c.

                                                                                 {
       UnityPreview* result = NULL;
       UnityPreview* _tmp0_;
       UnityPreview* _tmp1_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_child_preview;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       result = _tmp1_;
       return result;
}

Here is the call graph for this function:

const gchar* unity_series_preview_get_current_item_uri ( UnitySeriesPreview *  self)

Definition at line 2977 of file unity-previews.c.

                                                                                  {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_current_item_uri;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

Definition at line 3033 of file unity-previews.c.

                                           {
       static volatile gsize unity_series_preview_type_id__volatile = 0;
       if (g_once_init_enter (&unity_series_preview_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnitySeriesPreviewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_series_preview_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnitySeriesPreview), 0, (GInstanceInitFunc) unity_series_preview_instance_init, NULL };
              static const GInterfaceInfo dee_serializable_info = { (GInterfaceInitFunc) unity_series_preview_dee_serializable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
              GType unity_series_preview_type_id;
              unity_series_preview_type_id = g_type_register_static (UNITY_TYPE_PREVIEW, "UnitySeriesPreview", &g_define_type_info, 0);
              g_type_add_interface_static (unity_series_preview_type_id, dee_serializable_get_type (), &dee_serializable_info);
              g_once_init_leave (&unity_series_preview_type_id__volatile, unity_series_preview_type_id);
       }
       return unity_series_preview_type_id__volatile;
}

Here is the call graph for this function:

static void unity_series_preview_instance_init ( UnitySeriesPreview *  self) [static]

Definition at line 3018 of file unity-previews.c.

                                                                           {
       self->priv = UNITY_SERIES_PREVIEW_GET_PRIVATE (self);
       self->priv->_selected_item = -1;
}

Here is the caller graph for this function:

UnitySeriesPreview* unity_series_preview_new ( UnitySeriesItem **  items,
int  items_length1,
const gchar *  selected_item_uri 
)

Definition at line 2688 of file unity-previews.c.

                                                                                                                          {
       return unity_series_preview_construct (UNITY_TYPE_SERIES_PREVIEW, items, items_length1, selected_item_uri);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GObject * unity_series_preview_real_create_raw ( UnityPreview *  base) [static]

Definition at line 2958 of file unity-previews.c.

                                                                          {
       UnitySeriesPreview * self;
       GObject* result = NULL;
       UnityProtocolSeriesPreview* _tmp0_;
       UnityProtocolSeriesPreview* raw;
       UnityProtocolSeriesPreview* _tmp1_;
       GObject* _tmp2_;
       self = (UnitySeriesPreview*) base;
       _tmp0_ = unity_protocol_series_preview_new ();
       raw = _tmp0_;
       self->priv->_raw = raw;
       _tmp1_ = self->priv->_raw;
       _tmp2_ = _g_object_ref0 ((GObject*) _tmp1_);
       result = _tmp2_;
       _g_object_unref0 (raw);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * unity_series_preview_real_serialize ( DeeSerializable *  base) [static]

Definition at line 2923 of file unity-previews.c.

                                                                             {
       UnitySeriesPreview * self;
       GVariant* result = NULL;
       gboolean _tmp0_ = FALSE;
       gint _tmp1_;
       gboolean _tmp5_;
       UnityProtocolSeriesPreview* _tmp8_;
       GVariant* _tmp9_ = NULL;
       self = (UnitySeriesPreview*) base;
       _tmp1_ = self->priv->_selected_item;
       if (_tmp1_ < 0) {
              UnityProtocolSeriesPreview* _tmp2_;
              gint _tmp3_ = 0;
              UnityProtocolSeriesItemRaw* _tmp4_ = NULL;
              _tmp2_ = self->priv->_raw;
              _tmp4_ = unity_protocol_series_preview_get_items (_tmp2_, &_tmp3_);
              _tmp0_ = _tmp3_ > 0;
       } else {
              _tmp0_ = FALSE;
       }
       _tmp5_ = _tmp0_;
       if (_tmp5_) {
              const gchar* _tmp6_;
              const gchar* _tmp7_;
              _tmp6_ = unity_series_preview_get_current_item_uri (self);
              _tmp7_ = _tmp6_;
              unity_series_preview_update_child_preview (self, _tmp7_, -1);
       }
       _tmp8_ = self->priv->_raw;
       _tmp9_ = dee_serializable_serialize ((DeeSerializable*) _tmp8_);
       result = _tmp9_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GHashTable * unity_series_preview_real_update_property ( UnityPreview *  base,
GHashTable *  values 
) [static]

Definition at line 2830 of file unity-previews.c.

                                                                                                      {
       UnitySeriesPreview * self;
       GHashTable* result = NULL;
       GHashTable* _tmp0_;
       GHashTable* _tmp1_ = NULL;
       GHashTable* response;
       UnityProtocolSeriesPreview* _tmp2_;
       gint _tmp3_;
       gint _tmp4_;
       gint new_selected_item;
       UnityPreview* preview;
       gboolean _tmp5_ = FALSE;
       gint _tmp6_;
       gint _tmp7_;
       gboolean _tmp12_;
       UnityPreview* _tmp21_;
       UnityPreview* _tmp22_;
       GHashTable* _tmp23_;
       gchar* _tmp24_;
       UnityPreview* _tmp25_;
       GVariant* _tmp26_ = NULL;
       self = (UnitySeriesPreview*) base;
       g_return_val_if_fail (values != NULL, NULL);
       _tmp0_ = values;
       _tmp1_ = UNITY_PREVIEW_CLASS (unity_series_preview_parent_class)->update_property (G_TYPE_CHECK_INSTANCE_CAST (self, UNITY_TYPE_PREVIEW, UnityPreview), _tmp0_);
       response = _tmp1_;
       _tmp2_ = self->priv->_raw;
       _tmp3_ = unity_protocol_series_preview_get_selected_item (_tmp2_);
       _tmp4_ = _tmp3_;
       new_selected_item = _tmp4_;
       preview = NULL;
       _tmp6_ = new_selected_item;
       _tmp7_ = self->priv->_selected_item;
       if (_tmp6_ != _tmp7_) {
              gint _tmp8_;
              UnityProtocolSeriesPreview* _tmp9_;
              gint _tmp10_ = 0;
              UnityProtocolSeriesItemRaw* _tmp11_ = NULL;
              _tmp8_ = new_selected_item;
              _tmp9_ = self->priv->_raw;
              _tmp11_ = unity_protocol_series_preview_get_items (_tmp9_, &_tmp10_);
              _tmp5_ = _tmp8_ < _tmp10_;
       } else {
              _tmp5_ = FALSE;
       }
       _tmp12_ = _tmp5_;
       if (_tmp12_) {
              UnityProtocolSeriesPreview* _tmp13_;
              gint _tmp14_ = 0;
              UnityProtocolSeriesItemRaw* _tmp15_ = NULL;
              gint _tmp16_;
              UnityProtocolSeriesItemRaw _tmp17_;
              UnityProtocolSeriesItemRaw item;
              UnityProtocolSeriesItemRaw _tmp18_;
              const gchar* _tmp19_;
              gint _tmp20_;
              _tmp13_ = self->priv->_raw;
              _tmp15_ = unity_protocol_series_preview_get_items (_tmp13_, &_tmp14_);
              _tmp16_ = new_selected_item;
              _tmp17_ = _tmp15_[_tmp16_];
              item = _tmp17_;
              _tmp18_ = item;
              _tmp19_ = _tmp18_.uri;
              _tmp20_ = new_selected_item;
              unity_series_preview_update_child_preview (self, _tmp19_, _tmp20_);
       }
       _tmp21_ = self->priv->_child_preview;
       _tmp22_ = _g_object_ref0 (_tmp21_);
       _g_object_unref0 (preview);
       preview = _tmp22_;
       _tmp23_ = response;
       _tmp24_ = g_strdup ("preview");
       _tmp25_ = preview;
       _tmp26_ = dee_serializable_serialize ((DeeSerializable*) _tmp25_);
       g_hash_table_insert (_tmp23_, _tmp24_, _tmp26_);
       result = response;
       _g_object_unref0 (preview);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_series_preview_set_current_item_uri ( UnitySeriesPreview *  self,
const gchar *  value 
) [static]

Definition at line 2987 of file unity-previews.c.

                                                                                                     {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_current_item_uri);
       self->priv->_current_item_uri = _tmp1_;
       g_object_notify ((GObject *) self, "current-item-uri");
}

Here is the caller graph for this function:

static void unity_series_preview_update_child_preview ( UnitySeriesPreview *  self,
const gchar *  uri,
gint  item_index 
) [static]

Definition at line 2720 of file unity-previews.c.

                                                                                                                    {
       const gchar* _tmp0_;
       UnityPreview* _tmp1_ = NULL;
       UnityPreview* preview;
       UnityPreview* _tmp2_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (uri != NULL);
       _tmp0_ = uri;
       g_signal_emit_by_name (self, "request-item-preview", _tmp0_, &_tmp1_);
       preview = _tmp1_;
       _tmp2_ = preview;
       if (_tmp2_ != NULL) {
              gint _tmp3_;
              UnityPreview* _tmp14_;
              UnityPreview* _tmp15_;
              UnityProtocolSeriesPreview* _tmp16_;
              UnityPreview* _tmp17_;
              UnityProtocolPreview* _tmp18_ = NULL;
              gboolean _tmp19_ = FALSE;
              gint _tmp20_;
              gboolean _tmp25_;
              const gchar* _tmp28_;
              gchar* _tmp29_;
              _tmp3_ = item_index;
              if (_tmp3_ < 0) {
                     gint i;
                     UnityProtocolSeriesPreview* _tmp4_;
                     gint _tmp5_ = 0;
                     UnityProtocolSeriesItemRaw* _tmp6_ = NULL;
                     gint _tmp12_;
                     i = 0;
                     _tmp4_ = self->priv->_raw;
                     _tmp6_ = unity_protocol_series_preview_get_items (_tmp4_, &_tmp5_);
                     {
                            UnityProtocolSeriesItemRaw* item_collection = NULL;
                            gint item_collection_length1 = 0;
                            gint _item_collection_size_ = 0;
                            gint item_it = 0;
                            item_collection = _tmp6_;
                            item_collection_length1 = _tmp5_;
                            for (item_it = 0; item_it < _tmp5_; item_it = item_it + 1) {
                                   UnityProtocolSeriesItemRaw item = {0};
                                   item = item_collection[item_it];
                                   {
                                          UnityProtocolSeriesItemRaw _tmp7_;
                                          const gchar* _tmp8_;
                                          const gchar* _tmp9_;
                                          gint _tmp11_;
                                          _tmp7_ = item;
                                          _tmp8_ = _tmp7_.uri;
                                          _tmp9_ = uri;
                                          if (g_strcmp0 (_tmp8_, _tmp9_) == 0) {
                                                 gint _tmp10_;
                                                 _tmp10_ = i;
                                                 self->priv->_selected_item = _tmp10_;
                                                 break;
                                          }
                                          _tmp11_ = i;
                                          i = _tmp11_ + 1;
                                   }
                            }
                     }
                     _tmp12_ = self->priv->_selected_item;
                     if (_tmp12_ < 0) {
                            g_warning ("unity-previews.vala:524: Unable to find URI in series items");
                     }
              } else {
                     gint _tmp13_;
                     _tmp13_ = item_index;
                     self->priv->_selected_item = _tmp13_;
              }
              _tmp14_ = preview;
              _tmp15_ = _g_object_ref0 (_tmp14_);
              _g_object_unref0 (self->priv->_child_preview);
              self->priv->_child_preview = _tmp15_;
              _tmp16_ = self->priv->_raw;
              _tmp17_ = preview;
              _tmp18_ = unity_preview_get_raw (_tmp17_);
              unity_protocol_series_preview_set_child_preview (_tmp16_, _tmp18_);
              _tmp20_ = self->priv->_selected_item;
              if (_tmp20_ >= 0) {
                     UnityProtocolSeriesPreview* _tmp21_;
                     gint _tmp22_;
                     gint _tmp23_;
                     gint _tmp24_;
                     _tmp21_ = self->priv->_raw;
                     _tmp22_ = unity_protocol_series_preview_get_selected_item (_tmp21_);
                     _tmp23_ = _tmp22_;
                     _tmp24_ = self->priv->_selected_item;
                     _tmp19_ = _tmp23_ != _tmp24_;
              } else {
                     _tmp19_ = FALSE;
              }
              _tmp25_ = _tmp19_;
              if (_tmp25_) {
                     UnityProtocolSeriesPreview* _tmp26_;
                     gint _tmp27_;
                     _tmp26_ = self->priv->_raw;
                     _tmp27_ = self->priv->_selected_item;
                     unity_protocol_series_preview_set_selected_item (_tmp26_, _tmp27_);
              }
              _tmp28_ = uri;
              _tmp29_ = g_strdup (_tmp28_);
              _g_free0 (self->priv->_current_item_uri);
              self->priv->_current_item_uri = _tmp29_;
       }
       _g_object_unref0 (preview);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

gpointer unity_application_preview_parent_class = NULL [static]

Definition at line 133 of file unity-previews.c.

gpointer unity_async_preview_parent_class = NULL [static]

Definition at line 139 of file unity-previews.c.

gpointer unity_generic_preview_parent_class = NULL [static]

Definition at line 132 of file unity-previews.c.

gpointer unity_info_hint_parent_class = NULL [static]

Definition at line 131 of file unity-previews.c.

gpointer unity_movie_preview_parent_class = NULL [static]

Definition at line 135 of file unity-previews.c.

gpointer unity_music_preview_parent_class = NULL [static]

Definition at line 134 of file unity-previews.c.

DeeSerializableIface* unity_preview_action_dee_serializable_parent_iface = NULL [static]

Definition at line 130 of file unity-previews.c.

gpointer unity_preview_action_parent_class = NULL [static]

Definition at line 129 of file unity-previews.c.

DeeSerializableIface* unity_preview_dee_serializable_parent_iface = NULL [static]

Definition at line 128 of file unity-previews.c.

gpointer unity_preview_parent_class = NULL [static]

Definition at line 127 of file unity-previews.c.

gpointer unity_series_item_parent_class = NULL [static]

Definition at line 136 of file unity-previews.c.

DeeSerializableIface* unity_series_preview_dee_serializable_parent_iface = NULL [static]

Definition at line 138 of file unity-previews.c.

gpointer unity_series_preview_parent_class = NULL [static]

Definition at line 137 of file unity-previews.c.