Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Enumerations | Functions | Variables
test-mpris-backend-prop-updates-server.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <unity-internal.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>

Go to the source code of this file.

Classes

struct  _MprisServer
struct  _MprisServerClass
struct  _MprisServerPrivate
struct  _TypicalPlayer
struct  _TypicalPlayerClass
struct  _TypicalPlayerPrivate

Defines

#define TYPE_MPRIS_SERVER   (mpris_server_get_type ())
#define MPRIS_SERVER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_SERVER, MprisServer))
#define MPRIS_SERVER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS_SERVER, MprisServerClass))
#define IS_MPRIS_SERVER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_SERVER))
#define IS_MPRIS_SERVER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS_SERVER))
#define MPRIS_SERVER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS_SERVER, MprisServerClass))
#define TYPE_TYPICAL_PLAYER   (typical_player_get_type ())
#define TYPICAL_PLAYER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TYPICAL_PLAYER, TypicalPlayer))
#define TYPICAL_PLAYER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TYPICAL_PLAYER, TypicalPlayerClass))
#define IS_TYPICAL_PLAYER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TYPICAL_PLAYER))
#define IS_TYPICAL_PLAYER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TYPICAL_PLAYER))
#define TYPICAL_PLAYER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TYPICAL_PLAYER, TypicalPlayerClass))
#define _g_main_loop_unref0(var)   ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var)   ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_free0(var)   (var = (g_free (var), NULL))
#define MPRIS_SERVER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS_SERVER, MprisServerPrivate))
#define TYPICAL_PLAYER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_TYPICAL_PLAYER, TypicalPlayerPrivate))

Typedefs

typedef struct _MprisServer
typedef struct _MprisServerClass
typedef struct _MprisServerPrivate
typedef struct _TypicalPlayer
typedef struct _TypicalPlayerClass
typedef struct _TypicalPlayerPrivate

Enumerations

enum  { TYPICAL_PLAYER_DUMMY_PROPERTY, TYPICAL_PLAYER_MENU_PLAYER }

Functions

GType mpris_server_get_type (void)
MprisServer * mpris_server_new (GMainLoop *loop, TypicalPlayer *p)
MprisServer * mpris_server_construct (GType object_type, GMainLoop *loop, TypicalPlayer *p)
gboolean mpris_server_escape (MprisServer *self)
GMainLoop * mpris_server_get_mainloop (MprisServer *self)
gboolean mpris_server_set_up_typical_consumer (MprisServer *self)
TypicalPlayer * mpris_server_get_player (MprisServer *self)
UnityMusicPlayer * typical_player_get_menu_player (TypicalPlayer *self)
static gboolean _mpris_server_escape_gsource_func (gpointer self)
gboolean mpris_server_change_playlist_names (MprisServer *self)
gint mpris_server_main (gchar **args, int args_length1)
TypicalPlayer * typical_player_new (void)
TypicalPlayer * typical_player_construct (GType object_type)
static void mpris_server_set_mainloop (MprisServer *self, GMainLoop *value)
static void mpris_server_set_player (MprisServer *self, TypicalPlayer *value)
static GObject * mpris_server_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static gboolean _mpris_server_set_up_typical_consumer_gsource_func (gpointer self)
static void mpris_server_finalize (GObject *obj)
static void _vala_mpris_server_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_mpris_server_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void typical_player_on_raise (TypicalPlayer *self)
static void typical_player_on_play_pause (TypicalPlayer *self)
static void typical_player_on_previous (TypicalPlayer *self)
static void typical_player_on_next (TypicalPlayer *self)
static void typical_player_on_activate_playlist (TypicalPlayer *self, const char *playlist_id)
static void typical_player_set_menu_player (TypicalPlayer *self, UnityMusicPlayer *value)
static GObject * typical_player_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void _typical_player_on_raise_unity_music_player_raise (UnityMusicPlayer *_sender, gpointer self)
static void _typical_player_on_play_pause_unity_music_player_play_pause (UnityMusicPlayer *_sender, gpointer self)
static void _typical_player_on_previous_unity_music_player_previous (UnityMusicPlayer *_sender, gpointer self)
static void _typical_player_on_next_unity_music_player_next (UnityMusicPlayer *_sender, gpointer self)
static void _typical_player_on_activate_playlist_unity_music_player_activate_playlist (UnityMusicPlayer *_sender, const char *playlist_id, gpointer self)
static void typical_player_finalize (GObject *obj)
static void _vala_typical_player_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_typical_player_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 gpointer _g_object_ref0 (gpointer self)
int main (int argc, char **argv)
static gpointer _g_main_loop_ref0 (gpointer self)
static void mpris_server_class_init (MprisServerClass *klass)
static void mpris_server_instance_init (MprisServer *self)
static void typical_player_class_init (TypicalPlayerClass *klass)
static void typical_player_instance_init (TypicalPlayer *self)
GType typical_player_get_type (void)

Variables

static gpointer mpris_server_parent_class = NULL
static gpointer typical_player_parent_class = NULL

Class Documentation

struct _MprisServer

Definition at line 40 of file test-mpris-backend-prop-updates-server.c.

Collaboration diagram for _MprisServer:
Class Members
GObject parent_instance
MprisServerPrivate * priv
struct _MprisServerClass

Definition at line 45 of file test-mpris-backend-prop-updates-server.c.

Class Members
GObjectClass parent_class
struct _MprisServerPrivate

Definition at line 49 of file test-mpris-backend-prop-updates-server.c.

Class Members
GMainLoop * _mainloop
TypicalPlayer * _player
struct _TypicalPlayer

Definition at line 54 of file test-mpris-backend-prop-updates-server.c.

Collaboration diagram for _TypicalPlayer:
Class Members
GObject parent_instance
TypicalPlayerPrivate * priv
struct _TypicalPlayerClass

Definition at line 59 of file test-mpris-backend-prop-updates-server.c.

Class Members
GObjectClass parent_class
struct _TypicalPlayerPrivate

Definition at line 63 of file test-mpris-backend-prop-updates-server.c.

Class Members
UnityMusicPlayer * _menu_player

Define Documentation

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

Definition at line 36 of file test-mpris-backend-prop-updates-server.c.

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

Definition at line 37 of file test-mpris-backend-prop-updates-server.c.

#define _g_main_loop_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))

Definition at line 34 of file test-mpris-backend-prop-updates-server.c.

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

Definition at line 35 of file test-mpris-backend-prop-updates-server.c.

#define IS_MPRIS_SERVER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_SERVER))

Definition at line 17 of file test-mpris-backend-prop-updates-server.c.

#define IS_MPRIS_SERVER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS_SERVER))

Definition at line 18 of file test-mpris-backend-prop-updates-server.c.

#define IS_TYPICAL_PLAYER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TYPICAL_PLAYER))

Definition at line 28 of file test-mpris-backend-prop-updates-server.c.

#define IS_TYPICAL_PLAYER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TYPICAL_PLAYER))

Definition at line 29 of file test-mpris-backend-prop-updates-server.c.

#define MPRIS_SERVER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_SERVER, MprisServer))

Definition at line 15 of file test-mpris-backend-prop-updates-server.c.

#define MPRIS_SERVER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS_SERVER, MprisServerClass))

Definition at line 16 of file test-mpris-backend-prop-updates-server.c.

#define MPRIS_SERVER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS_SERVER, MprisServerClass))

Definition at line 19 of file test-mpris-backend-prop-updates-server.c.

#define MPRIS_SERVER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS_SERVER, MprisServerPrivate))

Definition at line 14 of file test-mpris-backend-prop-updates-server.c.

Definition at line 25 of file test-mpris-backend-prop-updates-server.c.

#define TYPICAL_PLAYER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TYPICAL_PLAYER, TypicalPlayer))

Definition at line 26 of file test-mpris-backend-prop-updates-server.c.

#define TYPICAL_PLAYER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TYPICAL_PLAYER, TypicalPlayerClass))

Definition at line 27 of file test-mpris-backend-prop-updates-server.c.

#define TYPICAL_PLAYER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_TYPICAL_PLAYER, TypicalPlayerClass))

Definition at line 30 of file test-mpris-backend-prop-updates-server.c.

#define TYPICAL_PLAYER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_TYPICAL_PLAYER, TypicalPlayerPrivate))

Definition at line 98 of file test-mpris-backend-prop-updates-server.c.


Typedef Documentation

typedef struct _MprisServer

Definition at line 21 of file test-mpris-backend-prop-updates-server.c.

typedef struct _MprisServerClass

Definition at line 22 of file test-mpris-backend-prop-updates-server.c.

typedef struct _MprisServerPrivate

Definition at line 23 of file test-mpris-backend-prop-updates-server.c.

typedef struct _TypicalPlayer

Definition at line 32 of file test-mpris-backend-prop-updates-server.c.

typedef struct _TypicalPlayerClass

Definition at line 33 of file test-mpris-backend-prop-updates-server.c.

typedef struct _TypicalPlayerPrivate

Definition at line 38 of file test-mpris-backend-prop-updates-server.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
TYPICAL_PLAYER_DUMMY_PROPERTY 
TYPICAL_PLAYER_MENU_PLAYER 

Definition at line 99 of file test-mpris-backend-prop-updates-server.c.


Function Documentation

static gpointer _g_main_loop_ref0 ( gpointer  self) [static]

Definition at line 457 of file test-mpris-backend-prop-updates-server.c.

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

Here is the caller graph for this function:

static gpointer _g_object_ref0 ( gpointer  self) [static]

Definition at line 325 of file test-mpris-backend-prop-updates-server.c.

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

Here is the caller graph for this function:

static gboolean _mpris_server_escape_gsource_func ( gpointer  self) [static]

Definition at line 151 of file test-mpris-backend-prop-updates-server.c.

                                                                  {
       gboolean result;
       result = mpris_server_escape (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean _mpris_server_set_up_typical_consumer_gsource_func ( gpointer  self) [static]

Definition at line 496 of file test-mpris-backend-prop-updates-server.c.

                                                                                   {
       gboolean result;
       result = mpris_server_set_up_typical_consumer (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _typical_player_on_activate_playlist_unity_music_player_activate_playlist ( UnityMusicPlayer *  _sender,
const char *  playlist_id,
gpointer  self 
) [static]

Definition at line 742 of file test-mpris-backend-prop-updates-server.c.

                                                                                                                                                          {
       typical_player_on_activate_playlist (self, playlist_id);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _typical_player_on_next_unity_music_player_next ( UnityMusicPlayer *  _sender,
gpointer  self 
) [static]

Definition at line 737 of file test-mpris-backend-prop-updates-server.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _typical_player_on_play_pause_unity_music_player_play_pause ( UnityMusicPlayer *  _sender,
gpointer  self 
) [static]

Definition at line 727 of file test-mpris-backend-prop-updates-server.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _typical_player_on_previous_unity_music_player_previous ( UnityMusicPlayer *  _sender,
gpointer  self 
) [static]

Definition at line 732 of file test-mpris-backend-prop-updates-server.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _typical_player_on_raise_unity_music_player_raise ( UnityMusicPlayer *  _sender,
gpointer  self 
) [static]

Definition at line 722 of file test-mpris-backend-prop-updates-server.c.

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 843 of file test-mpris-backend-prop-updates-server.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 855 of file test-mpris-backend-prop-updates-server.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 void _vala_mpris_server_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 553 of file test-mpris-backend-prop-updates-server.c.

                                                                                                                      {
       MprisServer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MPRIS_SERVER, MprisServer);
       switch (property_id) {
              case MPRIS_SERVER_MAINLOOP:
              g_value_set_pointer (value, mpris_server_get_mainloop (self));
              break;
              case MPRIS_SERVER_PLAYER:
              g_value_set_object (value, mpris_server_get_player (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_mpris_server_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 570 of file test-mpris-backend-prop-updates-server.c.

                                                                                                                            {
       MprisServer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MPRIS_SERVER, MprisServer);
       switch (property_id) {
              case MPRIS_SERVER_MAINLOOP:
              mpris_server_set_mainloop (self, g_value_get_pointer (value));
              break;
              case MPRIS_SERVER_PLAYER:
              mpris_server_set_player (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_typical_player_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 815 of file test-mpris-backend-prop-updates-server.c.

                                                                                                                        {
       TypicalPlayer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_TYPICAL_PLAYER, TypicalPlayer);
       switch (property_id) {
              case TYPICAL_PLAYER_MENU_PLAYER:
              g_value_set_object (value, typical_player_get_menu_player (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_typical_player_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 829 of file test-mpris-backend-prop-updates-server.c.

                                                                                                                              {
       TypicalPlayer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_TYPICAL_PLAYER, TypicalPlayer);
       switch (property_id) {
              case TYPICAL_PLAYER_MENU_PLAYER:
              typical_player_set_menu_player (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:

int main ( int  argc,
char **  argv 
)

Definition at line 441 of file test-mpris-backend-prop-updates-server.c.

                                  {
       g_type_init ();
       return mpris_server_main (argv, argc);
}

Here is the call graph for this function:

gboolean mpris_server_change_playlist_names ( MprisServer *  self)

Definition at line 330 of file test-mpris-backend-prop-updates-server.c.

                                                                {
       gboolean result = FALSE;
       gint i;
       TypicalPlayer* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       UnityMusicPlayer* _tmp2_;
       gint _tmp3_ = 0;
       UnityPlaylist** _tmp4_ = NULL;
       g_return_val_if_fail (self != NULL, FALSE);
       i = 0;
       _tmp0_ = self->priv->_player;
       _tmp1_ = typical_player_get_menu_player (_tmp0_);
       _tmp2_ = _tmp1_;
       _tmp4_ = unity_music_player_get_playlists (_tmp2_, &_tmp3_);
       {
              UnityPlaylist** pl_collection = NULL;
              gint pl_collection_length1 = 0;
              gint _pl_collection_size_ = 0;
              gint pl_it = 0;
              pl_collection = _tmp4_;
              pl_collection_length1 = _tmp3_;
              for (pl_it = 0; pl_it < _tmp3_; pl_it = pl_it + 1) {
                     UnityPlaylist* _tmp5_;
                     UnityPlaylist* pl = NULL;
                     _tmp5_ = _g_object_ref0 (pl_collection[pl_it]);
                     pl = _tmp5_;
                     {
                            UnityPlaylist* _tmp6_;
                            const gchar* _tmp7_;
                            const gchar* _tmp8_;
                            UnityPlaylist* _tmp9_;
                            gint _tmp10_;
                            gchar* _tmp11_ = NULL;
                            gchar* _tmp12_;
                            gchar* _tmp13_;
                            gchar* _tmp14_;
                            gint _tmp15_;
                            _tmp6_ = pl;
                            _tmp7_ = unity_playlist_get_name (_tmp6_);
                            _tmp8_ = _tmp7_;
                            g_debug ("test-mpris-backend-prop-updates-server.vala:66: old playlist name = %s", _tmp8_);
                            _tmp9_ = pl;
                            _tmp10_ = i;
                            _tmp11_ = g_strdup_printf ("%i", _tmp10_);
                            _tmp12_ = _tmp11_;
                            _tmp13_ = g_strconcat ("name-changed-", _tmp12_, NULL);
                            _tmp14_ = _tmp13_;
                            unity_playlist_set_name (_tmp9_, _tmp14_);
                            _g_free0 (_tmp14_);
                            _g_free0 (_tmp12_);
                            _tmp15_ = i;
                            i = _tmp15_ + 1;
                            _g_object_unref0 (pl);
                     }
              }
              pl_collection = (_vala_array_free (pl_collection, pl_collection_length1, (GDestroyNotify) g_object_unref), NULL);
       }
       result = FALSE;
       return result;
}

Here is the call graph for this function:

static void mpris_server_class_init ( MprisServerClass *  klass) [static]

Definition at line 515 of file test-mpris-backend-prop-updates-server.c.

                                                               {
       mpris_server_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (MprisServerPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_mpris_server_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_mpris_server_set_property;
       G_OBJECT_CLASS (klass)->constructor = mpris_server_constructor;
       G_OBJECT_CLASS (klass)->finalize = mpris_server_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), MPRIS_SERVER_MAINLOOP, g_param_spec_pointer ("mainloop", "mainloop", "mainloop", 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), MPRIS_SERVER_PLAYER, g_param_spec_object ("player", "player", "player", TYPE_TYPICAL_PLAYER, 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:

MprisServer * mpris_server_construct ( GType  object_type,
GMainLoop *  loop,
TypicalPlayer *  p 
)

Definition at line 122 of file test-mpris-backend-prop-updates-server.c.

                                                                                           {
       MprisServer * self = NULL;
       GMainLoop* _tmp0_;
       TypicalPlayer* _tmp1_;
       g_return_val_if_fail (loop != NULL, NULL);
       g_return_val_if_fail (p != NULL, NULL);
       _tmp0_ = loop;
       _tmp1_ = p;
       self = (MprisServer*) g_object_new (object_type, "mainloop", _tmp0_, "player", _tmp1_, NULL);
       return self;
}

Here is the caller graph for this function:

static GObject * mpris_server_constructor ( GType  type,
guint  n_construct_properties,
GObjectConstructParam *  construct_properties 
) [static]

Definition at line 503 of file test-mpris-backend-prop-updates-server.c.

                                                                                                                                   {
       GObject * obj;
       GObjectClass * parent_class;
       MprisServer * self;
       parent_class = G_OBJECT_CLASS (mpris_server_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS_SERVER, MprisServer);
       g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 2, _mpris_server_set_up_typical_consumer_gsource_func, g_object_ref (self), g_object_unref);
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

gboolean mpris_server_escape ( MprisServer *  self)

Definition at line 140 of file test-mpris-backend-prop-updates-server.c.

                                                 {
       gboolean result = FALSE;
       GMainLoop* _tmp0_;
       g_return_val_if_fail (self != NULL, FALSE);
       _tmp0_ = self->priv->_mainloop;
       g_main_loop_quit (_tmp0_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void mpris_server_finalize ( GObject *  obj) [static]

Definition at line 532 of file test-mpris-backend-prop-updates-server.c.

                                                 {
       MprisServer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS_SERVER, MprisServer);
       _g_main_loop_unref0 (self->priv->_mainloop);
       _g_object_unref0 (self->priv->_player);
       G_OBJECT_CLASS (mpris_server_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GMainLoop * mpris_server_get_mainloop ( MprisServer *  self)

Definition at line 447 of file test-mpris-backend-prop-updates-server.c.

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

Here is the caller graph for this function:

TypicalPlayer * mpris_server_get_player ( MprisServer *  self)

Definition at line 474 of file test-mpris-backend-prop-updates-server.c.

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

Here is the caller graph for this function:

GType mpris_server_get_type ( void  )

Definition at line 71 of file test-mpris-backend-prop-updates-server.c.

      {
       MPRIS_SERVER_DUMMY_PROPERTY,
       MPRIS_SERVER_MAINLOOP,
       MPRIS_SERVER_PLAYER
};
static void mpris_server_instance_init ( MprisServer *  self) [static]

Definition at line 527 of file test-mpris-backend-prop-updates-server.c.

                                                            {
       self->priv = MPRIS_SERVER_GET_PRIVATE (self);
}
gint mpris_server_main ( gchar **  args,
int  args_length1 
)

Definition at line 392 of file test-mpris-backend-prop-updates-server.c.

                                                        {
       gint result = 0;
       GMainContext* _tmp0_ = NULL;
       GMainLoop* _tmp1_;
       GMainLoop* mainloop;
       TypicalPlayer* player = NULL;
       TypicalPlayer* _tmp2_;
       GMainLoop* _tmp3_;
       TypicalPlayer* _tmp4_;
       MprisServer* _tmp5_;
       MprisServer* server;
       GMainLoop* _tmp11_;
       g_setenv ("XDG_DATA_HOME", TESTDIR "/data", TRUE);
       _tmp0_ = g_main_context_default ();
       _tmp1_ = g_main_loop_new (_tmp0_, FALSE);
       mainloop = _tmp1_;
       _tmp2_ = typical_player_new ();
       _g_object_unref0 (player);
       player = _tmp2_;
       _tmp3_ = mainloop;
       _tmp4_ = player;
       _tmp5_ = mpris_server_new (_tmp3_, _tmp4_);
       server = _tmp5_;
       while (TRUE) {
              GMainLoop* _tmp6_;
              GMainContext* _tmp7_ = NULL;
              gboolean _tmp8_ = FALSE;
              GMainLoop* _tmp9_;
              GMainContext* _tmp10_ = NULL;
              _tmp6_ = mainloop;
              _tmp7_ = g_main_loop_get_context (_tmp6_);
              _tmp8_ = g_main_context_pending (_tmp7_);
              if (!(_tmp8_ == TRUE)) {
                     break;
              }
              _tmp9_ = mainloop;
              _tmp10_ = g_main_loop_get_context (_tmp9_);
              g_main_context_iteration (_tmp10_, TRUE);
       }
       _tmp11_ = mainloop;
       g_main_loop_run (_tmp11_);
       result = 0;
       _g_object_unref0 (server);
       _g_object_unref0 (player);
       _g_main_loop_unref0 (mainloop);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

MprisServer * mpris_server_new ( GMainLoop *  loop,
TypicalPlayer *  p 
)

Definition at line 135 of file test-mpris-backend-prop-updates-server.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_server_set_mainloop ( MprisServer *  self,
GMainLoop *  value 
) [static]

Definition at line 462 of file test-mpris-backend-prop-updates-server.c.

                                                                            {
       GMainLoop* _tmp0_;
       GMainLoop* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_main_loop_ref0 (_tmp0_);
       _g_main_loop_unref0 (self->priv->_mainloop);
       self->priv->_mainloop = _tmp1_;
       g_object_notify ((GObject *) self, "mainloop");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_server_set_player ( MprisServer *  self,
TypicalPlayer *  value 
) [static]

Definition at line 484 of file test-mpris-backend-prop-updates-server.c.

                                                                              {
       TypicalPlayer* _tmp0_;
       TypicalPlayer* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_player);
       self->priv->_player = _tmp1_;
       g_object_notify ((GObject *) self, "player");
}

Here is the call graph for this function:

Here is the caller graph for this function:

gboolean mpris_server_set_up_typical_consumer ( MprisServer *  self)

Definition at line 158 of file test-mpris-backend-prop-updates-server.c.

                                                                  {
       gboolean result = FALSE;
       UnityTrackMetadata* _tmp0_;
       UnityTrackMetadata* metadata;
       UnityTrackMetadata* _tmp1_;
       UnityTrackMetadata* _tmp2_;
       UnityTrackMetadata* _tmp3_;
       UnityTrackMetadata* _tmp4_;
       GFile* _tmp5_ = NULL;
       GFile* _tmp6_;
       TypicalPlayer* _tmp7_;
       UnityMusicPlayer* _tmp8_;
       UnityMusicPlayer* _tmp9_;
       UnityTrackMetadata* _tmp10_;
       TypicalPlayer* _tmp11_;
       UnityMusicPlayer* _tmp12_;
       UnityMusicPlayer* _tmp13_;
       UnityPlaylist* _tmp14_;
       UnityPlaylist* pl;
       UnityPlaylist* _tmp15_;
       TypicalPlayer* _tmp20_;
       UnityMusicPlayer* _tmp21_;
       UnityMusicPlayer* _tmp22_;
       UnityPlaylist* _tmp23_;
       TypicalPlayer* _tmp24_;
       UnityMusicPlayer* _tmp25_;
       UnityMusicPlayer* _tmp26_;
       UnityPlaylist* _tmp27_;
       UnityPlaylist* _tmp28_;
       UnityPlaylist* pl2;
       UnityPlaylist* _tmp29_;
       TypicalPlayer* _tmp34_;
       UnityMusicPlayer* _tmp35_;
       UnityMusicPlayer* _tmp36_;
       UnityPlaylist* _tmp37_;
       GError * _inner_error_ = NULL;
       g_return_val_if_fail (self != NULL, FALSE);
       _tmp0_ = unity_track_metadata_new ();
       metadata = _tmp0_;
       _tmp1_ = metadata;
       unity_track_metadata_set_artist (_tmp1_, "Autechre");
       _tmp2_ = metadata;
       unity_track_metadata_set_album (_tmp2_, "LP5");
       _tmp3_ = metadata;
       unity_track_metadata_set_title (_tmp3_, "Rae");
       _tmp4_ = metadata;
       _tmp5_ = g_file_new_for_uri ("file:///home/user/download/ae_lp5.jpg");
       _tmp6_ = _tmp5_;
       unity_track_metadata_set_art_location (_tmp4_, _tmp6_);
       _g_object_unref0 (_tmp6_);
       _tmp7_ = self->priv->_player;
       _tmp8_ = typical_player_get_menu_player (_tmp7_);
       _tmp9_ = _tmp8_;
       _tmp10_ = metadata;
       unity_music_player_set_current_track (_tmp9_, _tmp10_);
       _tmp11_ = self->priv->_player;
       _tmp12_ = typical_player_get_menu_player (_tmp11_);
       _tmp13_ = _tmp12_;
       unity_music_player_set_is_blacklisted (_tmp13_, FALSE);
       _tmp14_ = unity_playlist_new ("/fake/pl/id");
       pl = _tmp14_;
       _tmp15_ = pl;
       unity_playlist_set_name (_tmp15_, "yellow swans like");
       {
              GIcon* _tmp16_ = NULL;
              GIcon* _tmp17_;
              UnityPlaylist* _tmp18_;
              GIcon* _tmp19_;
              _tmp16_ = g_icon_new_for_string ("audio-volume-high", &_inner_error_);
              _tmp17_ = _tmp16_;
              if (_inner_error_ != NULL) {
                     goto __catch0_g_error;
              }
              _tmp18_ = pl;
              _tmp19_ = _tmp17_;
              unity_playlist_set_icon (_tmp18_, _tmp19_);
              _g_object_unref0 (_tmp19_);
       }
       goto __finally0;
       __catch0_g_error:
       {
              GError* e = NULL;
              e = _inner_error_;
              _inner_error_ = NULL;
              g_warning ("test-mpris-backend-prop-updates-server.vala:39: Unable to load Icon fr" \
"om name provided - unable to complete test");
              result = FALSE;
              _g_error_free0 (e);
              _g_object_unref0 (pl);
              _g_object_unref0 (metadata);
              return result;
       }
       __finally0:
       if (_inner_error_ != NULL) {
              _g_object_unref0 (pl);
              _g_object_unref0 (metadata);
              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 FALSE;
       }
       _tmp20_ = self->priv->_player;
       _tmp21_ = typical_player_get_menu_player (_tmp20_);
       _tmp22_ = _tmp21_;
       _tmp23_ = pl;
       unity_music_player_set_current_playlist (_tmp22_, _tmp23_);
       _tmp24_ = self->priv->_player;
       _tmp25_ = typical_player_get_menu_player (_tmp24_);
       _tmp26_ = _tmp25_;
       _tmp27_ = pl;
       unity_music_player_add_playlist (_tmp26_, _tmp27_);
       _tmp28_ = unity_playlist_new ("/fake/pl2/id");
       pl2 = _tmp28_;
       _tmp29_ = pl2;
       unity_playlist_set_name (_tmp29_, "another playlist");
       {
              GIcon* _tmp30_ = NULL;
              GIcon* _tmp31_;
              UnityPlaylist* _tmp32_;
              GIcon* _tmp33_;
              _tmp30_ = g_icon_new_for_string ("audio-volume-high", &_inner_error_);
              _tmp31_ = _tmp30_;
              if (_inner_error_ != NULL) {
                     goto __catch1_g_error;
              }
              _tmp32_ = pl2;
              _tmp33_ = _tmp31_;
              unity_playlist_set_icon (_tmp32_, _tmp33_);
              _g_object_unref0 (_tmp33_);
       }
       goto __finally1;
       __catch1_g_error:
       {
              GError* e = NULL;
              e = _inner_error_;
              _inner_error_ = NULL;
              g_warning ("test-mpris-backend-prop-updates-server.vala:52: Unable to load Icon fr" \
"om name provided - unable to complete test");
              result = FALSE;
              _g_error_free0 (e);
              _g_object_unref0 (pl2);
              _g_object_unref0 (pl);
              _g_object_unref0 (metadata);
              return result;
       }
       __finally1:
       if (_inner_error_ != NULL) {
              _g_object_unref0 (pl2);
              _g_object_unref0 (pl);
              _g_object_unref0 (metadata);
              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 FALSE;
       }
       _tmp34_ = self->priv->_player;
       _tmp35_ = typical_player_get_menu_player (_tmp34_);
       _tmp36_ = _tmp35_;
       _tmp37_ = pl2;
       unity_music_player_add_playlist (_tmp36_, _tmp37_);
       g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 10, _mpris_server_escape_gsource_func, g_object_ref (self), g_object_unref);
       result = FALSE;
       _g_object_unref0 (pl2);
       _g_object_unref0 (pl);
       _g_object_unref0 (metadata);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void typical_player_class_init ( TypicalPlayerClass *  klass) [static]

Definition at line 779 of file test-mpris-backend-prop-updates-server.c.

                                                                   {
       typical_player_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (TypicalPlayerPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_typical_player_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_typical_player_set_property;
       G_OBJECT_CLASS (klass)->constructor = typical_player_constructor;
       G_OBJECT_CLASS (klass)->finalize = typical_player_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), TYPICAL_PLAYER_MENU_PLAYER, g_param_spec_object ("menu-player", "menu-player", "menu-player", UNITY_TYPE_MUSIC_PLAYER, 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:

TypicalPlayer * typical_player_construct ( GType  object_type)

Definition at line 587 of file test-mpris-backend-prop-updates-server.c.

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

Here is the caller graph for this function:

static GObject * typical_player_constructor ( GType  type,
guint  n_construct_properties,
GObjectConstructParam *  construct_properties 
) [static]

Definition at line 747 of file test-mpris-backend-prop-updates-server.c.

                                                                                                                                     {
       GObject * obj;
       GObjectClass * parent_class;
       TypicalPlayer * self;
       UnityMusicPlayer* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       UnityMusicPlayer* _tmp2_;
       UnityMusicPlayer* _tmp3_;
       UnityMusicPlayer* _tmp4_;
       UnityMusicPlayer* _tmp5_;
       UnityMusicPlayer* _tmp6_;
       parent_class = G_OBJECT_CLASS (typical_player_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TYPICAL_PLAYER, TypicalPlayer);
       _tmp0_ = unity_music_player_new ("rhythmbox.desktop");
       _tmp1_ = _tmp0_;
       typical_player_set_menu_player (self, _tmp1_);
       _g_object_unref0 (_tmp1_);
       _tmp2_ = self->priv->_menu_player;
       g_signal_connect_object (_tmp2_, "raise", (GCallback) _typical_player_on_raise_unity_music_player_raise, self, 0);
       _tmp3_ = self->priv->_menu_player;
       g_signal_connect_object (_tmp3_, "play-pause", (GCallback) _typical_player_on_play_pause_unity_music_player_play_pause, self, 0);
       _tmp4_ = self->priv->_menu_player;
       g_signal_connect_object (_tmp4_, "previous", (GCallback) _typical_player_on_previous_unity_music_player_previous, self, 0);
       _tmp5_ = self->priv->_menu_player;
       g_signal_connect_object (_tmp5_, "next", (GCallback) _typical_player_on_next_unity_music_player_next, self, 0);
       _tmp6_ = self->priv->_menu_player;
       g_signal_connect_object (_tmp6_, "activate-playlist", (GCallback) _typical_player_on_activate_playlist_unity_music_player_activate_playlist, self, 0);
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void typical_player_finalize ( GObject *  obj) [static]

Definition at line 795 of file test-mpris-backend-prop-updates-server.c.

                                                   {
       TypicalPlayer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TYPICAL_PLAYER, TypicalPlayer);
       _g_object_unref0 (self->priv->_menu_player);
       G_OBJECT_CLASS (typical_player_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

UnityMusicPlayer * typical_player_get_menu_player ( TypicalPlayer *  self)

Definition at line 700 of file test-mpris-backend-prop-updates-server.c.

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

Here is the caller graph for this function:

GType typical_player_get_type ( void  )

Definition at line 803 of file test-mpris-backend-prop-updates-server.c.

                                     {
       static volatile gsize typical_player_type_id__volatile = 0;
       if (g_once_init_enter (&typical_player_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (TypicalPlayerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) typical_player_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TypicalPlayer), 0, (GInstanceInitFunc) typical_player_instance_init, NULL };
              GType typical_player_type_id;
              typical_player_type_id = g_type_register_static (G_TYPE_OBJECT, "TypicalPlayer", &g_define_type_info, 0);
              g_once_init_leave (&typical_player_type_id__volatile, typical_player_type_id);
       }
       return typical_player_type_id__volatile;
}

Here is the call graph for this function:

static void typical_player_instance_init ( TypicalPlayer *  self) [static]

Definition at line 790 of file test-mpris-backend-prop-updates-server.c.

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

Here is the caller graph for this function:

TypicalPlayer * typical_player_new ( void  )

Definition at line 594 of file test-mpris-backend-prop-updates-server.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void typical_player_on_activate_playlist ( TypicalPlayer *  self,
const char *  playlist_id 
) [static]

Definition at line 653 of file test-mpris-backend-prop-updates-server.c.

                                                                                               {
       UnityMusicPlayer* _tmp0_;
       gint _tmp1_ = 0;
       UnityPlaylist** _tmp2_ = NULL;
       g_return_if_fail (self != NULL);
       g_return_if_fail (playlist_id != NULL);
       _tmp0_ = self->priv->_menu_player;
       _tmp2_ = unity_music_player_get_playlists (_tmp0_, &_tmp1_);
       {
              UnityPlaylist** pl_collection = NULL;
              gint pl_collection_length1 = 0;
              gint _pl_collection_size_ = 0;
              gint pl_it = 0;
              pl_collection = _tmp2_;
              pl_collection_length1 = _tmp1_;
              for (pl_it = 0; pl_it < _tmp1_; pl_it = pl_it + 1) {
                     UnityPlaylist* _tmp3_;
                     UnityPlaylist* pl = NULL;
                     _tmp3_ = _g_object_ref0 (pl_collection[pl_it]);
                     pl = _tmp3_;
                     {
                            UnityPlaylist* _tmp4_;
                            const gchar* _tmp5_;
                            const gchar* _tmp6_;
                            const char* _tmp7_;
                            _tmp4_ = pl;
                            _tmp5_ = unity_playlist_get_id (_tmp4_);
                            _tmp6_ = _tmp5_;
                            _tmp7_ = playlist_id;
                            if (g_strcmp0 (_tmp6_, (const gchar*) _tmp7_) == 0) {
                                   UnityMusicPlayer* _tmp8_;
                                   UnityPlaylist* _tmp9_;
                                   _tmp8_ = self->priv->_menu_player;
                                   _tmp9_ = pl;
                                   unity_music_player_set_current_playlist (_tmp8_, _tmp9_);
                                   _g_object_unref0 (pl);
                                   pl_collection = (_vala_array_free (pl_collection, pl_collection_length1, (GDestroyNotify) g_object_unref), NULL);
                                   return;
                            }
                            _g_object_unref0 (pl);
                     }
              }
              pl_collection = (_vala_array_free (pl_collection, pl_collection_length1, (GDestroyNotify) g_object_unref), NULL);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void typical_player_on_next ( TypicalPlayer *  self) [static]

Definition at line 631 of file test-mpris-backend-prop-updates-server.c.

                                                         {
       UnityTrackMetadata* _tmp0_;
       UnityTrackMetadata* metadata;
       GFile* _tmp1_ = NULL;
       GFile* _tmp2_;
       UnityMusicPlayer* _tmp3_;
       g_return_if_fail (self != NULL);
       _tmp0_ = unity_track_metadata_new ();
       metadata = _tmp0_;
       unity_track_metadata_set_artist (metadata, "Sonnamble");
       unity_track_metadata_set_album (metadata, "Seven months in E minor");
       unity_track_metadata_set_title (metadata, "Sehnsucht");
       _tmp1_ = g_file_new_for_uri ("file:///home/user/download/sonnamble.jpg");
       _tmp2_ = _tmp1_;
       unity_track_metadata_set_art_location (metadata, _tmp2_);
       _g_object_unref0 (_tmp2_);
       _tmp3_ = self->priv->_menu_player;
       unity_music_player_set_current_track (_tmp3_, metadata);
       _g_object_unref0 (metadata);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void typical_player_on_play_pause ( TypicalPlayer *  self) [static]

Definition at line 604 of file test-mpris-backend-prop-updates-server.c.

                                                               {
       UnityPlaybackState _tmp0_ = 0;
       UnityMusicPlayer* _tmp1_;
       UnityPlaybackState _tmp2_;
       UnityPlaybackState _tmp3_;
       UnityMusicPlayer* _tmp4_;
       UnityPlaybackState _tmp5_;
       g_return_if_fail (self != NULL);
       _tmp1_ = self->priv->_menu_player;
       _tmp2_ = unity_music_player_get_playback_state (_tmp1_);
       _tmp3_ = _tmp2_;
       if (_tmp3_ == UNITY_PLAYBACK_STATE_PLAYING) {
              _tmp0_ = UNITY_PLAYBACK_STATE_PAUSED;
       } else {
              _tmp0_ = UNITY_PLAYBACK_STATE_PLAYING;
       }
       _tmp4_ = self->priv->_menu_player;
       _tmp5_ = _tmp0_;
       unity_music_player_set_playback_state (_tmp4_, _tmp5_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void typical_player_on_previous ( TypicalPlayer *  self) [static]

Definition at line 626 of file test-mpris-backend-prop-updates-server.c.

                                                             {
       g_return_if_fail (self != NULL);
}

Here is the caller graph for this function:

static void typical_player_on_raise ( TypicalPlayer *  self) [static]

Definition at line 599 of file test-mpris-backend-prop-updates-server.c.

                                                          {
       g_return_if_fail (self != NULL);
}

Here is the caller graph for this function:

static void typical_player_set_menu_player ( TypicalPlayer *  self,
UnityMusicPlayer *  value 
) [static]

Definition at line 710 of file test-mpris-backend-prop-updates-server.c.

                                                                                          {
       UnityMusicPlayer* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_menu_player);
       self->priv->_menu_player = _tmp1_;
       g_object_notify ((GObject *) self, "menu-player");
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

gpointer mpris_server_parent_class = NULL [static]

Definition at line 68 of file test-mpris-backend-prop-updates-server.c.

gpointer typical_player_parent_class = NULL [static]

Definition at line 69 of file test-mpris-backend-prop-updates-server.c.