Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Enumerations | Functions | Variables
unity-sound-menu-mpris.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include "unity.h"
#include <gio/gio.h>
#include <unity-trace.h>
#include <libdbusmenu-glib/client.h>
#include <libdbusmenu-glib/dbusmenu-glib.h>
#include <libdbusmenu-glib/enum-types.h>
#include <libdbusmenu-glib/menuitem-proxy.h>
#include <libdbusmenu-glib/menuitem.h>
#include <libdbusmenu-glib/server.h>
#include <libdbusmenu-glib/types.h>
#include <gee.h>

Go to the source code of this file.

Classes

struct  _UnityMPRISGateway
struct  _UnityMPRISGatewayClass
struct  _UnityMPRISGatewayPrivate
struct  _Block10Data
struct  _UnitySpecificItemManager
struct  _UnitySpecificItemManagerClass
struct  _UnitySoundServiceInterfaceIface
struct  _UnitySpecificItemManagerPrivate
struct  _UnityPropertyUpdateManager
struct  _UnityPropertyUpdateManagerClass
struct  _UnityPropertyUpdateManagerPrivate
struct  _Block11Data
struct  _UnityBlacklistManager
struct  _UnityBlacklistManagerClass
struct  _UnityBlacklistManagerPrivate
struct  _UnityMprisRoot
struct  _UnityMprisRootClass
struct  _UnityMprisRootPrivate
struct  _UnityMprisRootRaiseData
struct  _UnityMprisPlayer
struct  _UnityMprisPlayerClass
struct  _UnityMprisPlayerPrivate
struct  _UnityMprisPlayerPlayPauseData
struct  _UnityMprisPlayerNextData
struct  _UnityMprisPlayerPreviousData
struct  _UnityMprisPlaylists
struct  _UnityMprisPlaylistsClass
struct  _UnityMprisPlaylistsPrivate
struct  _UnityMprisPlaylistsActivatePlaylistData
struct  _UnityMprisPlaylistsGetPlaylistsData

Defines

#define UNITY_TYPE_MPRIS_GATEWAY   (unity_mpris_gateway_get_type ())
#define UNITY_MPRIS_GATEWAY(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGateway))
#define UNITY_MPRIS_GATEWAY_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGatewayClass))
#define UNITY_IS_MPRIS_GATEWAY(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_MPRIS_GATEWAY))
#define UNITY_IS_MPRIS_GATEWAY_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_MPRIS_GATEWAY))
#define UNITY_MPRIS_GATEWAY_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGatewayClass))
#define UNITY_TYPE_MPRIS_ROOT   (unity_mpris_root_get_type ())
#define UNITY_MPRIS_ROOT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_MPRIS_ROOT, UnityMprisRoot))
#define UNITY_MPRIS_ROOT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_MPRIS_ROOT, UnityMprisRootClass))
#define UNITY_IS_MPRIS_ROOT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_MPRIS_ROOT))
#define UNITY_IS_MPRIS_ROOT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_MPRIS_ROOT))
#define UNITY_MPRIS_ROOT_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_MPRIS_ROOT, UnityMprisRootClass))
#define UNITY_TYPE_MPRIS_PLAYER   (unity_mpris_player_get_type ())
#define UNITY_MPRIS_PLAYER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_MPRIS_PLAYER, UnityMprisPlayer))
#define UNITY_MPRIS_PLAYER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_MPRIS_PLAYER, UnityMprisPlayerClass))
#define UNITY_IS_MPRIS_PLAYER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_MPRIS_PLAYER))
#define UNITY_IS_MPRIS_PLAYER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_MPRIS_PLAYER))
#define UNITY_MPRIS_PLAYER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_MPRIS_PLAYER, UnityMprisPlayerClass))
#define UNITY_TYPE_MPRIS_PLAYLISTS   (unity_mpris_playlists_get_type ())
#define UNITY_MPRIS_PLAYLISTS(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_MPRIS_PLAYLISTS, UnityMprisPlaylists))
#define UNITY_MPRIS_PLAYLISTS_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_MPRIS_PLAYLISTS, UnityMprisPlaylistsClass))
#define UNITY_IS_MPRIS_PLAYLISTS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_MPRIS_PLAYLISTS))
#define UNITY_IS_MPRIS_PLAYLISTS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_MPRIS_PLAYLISTS))
#define UNITY_MPRIS_PLAYLISTS_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_MPRIS_PLAYLISTS, UnityMprisPlaylistsClass))
#define UNITY_TYPE_PROPERTY_UPDATE_MANAGER   (unity_property_update_manager_get_type ())
#define UNITY_PROPERTY_UPDATE_MANAGER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_PROPERTY_UPDATE_MANAGER, UnityPropertyUpdateManager))
#define UNITY_PROPERTY_UPDATE_MANAGER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_PROPERTY_UPDATE_MANAGER, UnityPropertyUpdateManagerClass))
#define UNITY_IS_PROPERTY_UPDATE_MANAGER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_PROPERTY_UPDATE_MANAGER))
#define UNITY_IS_PROPERTY_UPDATE_MANAGER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_PROPERTY_UPDATE_MANAGER))
#define UNITY_PROPERTY_UPDATE_MANAGER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_PROPERTY_UPDATE_MANAGER, UnityPropertyUpdateManagerClass))
#define UNITY_TYPE_BLACKLIST_MANAGER   (unity_blacklist_manager_get_type ())
#define UNITY_BLACKLIST_MANAGER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_BLACKLIST_MANAGER, UnityBlacklistManager))
#define UNITY_BLACKLIST_MANAGER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_BLACKLIST_MANAGER, UnityBlacklistManagerClass))
#define UNITY_IS_BLACKLIST_MANAGER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_BLACKLIST_MANAGER))
#define UNITY_IS_BLACKLIST_MANAGER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_BLACKLIST_MANAGER))
#define UNITY_BLACKLIST_MANAGER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_BLACKLIST_MANAGER, UnityBlacklistManagerClass))
#define UNITY_TYPE_SPECIFIC_ITEM_MANAGER   (unity_specific_item_manager_get_type ())
#define UNITY_SPECIFIC_ITEM_MANAGER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SPECIFIC_ITEM_MANAGER, UnitySpecificItemManager))
#define UNITY_SPECIFIC_ITEM_MANAGER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_SPECIFIC_ITEM_MANAGER, UnitySpecificItemManagerClass))
#define UNITY_IS_SPECIFIC_ITEM_MANAGER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SPECIFIC_ITEM_MANAGER))
#define UNITY_IS_SPECIFIC_ITEM_MANAGER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_SPECIFIC_ITEM_MANAGER))
#define UNITY_SPECIFIC_ITEM_MANAGER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_SPECIFIC_ITEM_MANAGER, UnitySpecificItemManagerClass))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var)   (var = (g_free (var), NULL))
#define _g_error_free0(var)   ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define UNITY_TYPE_SOUND_SERVICE_INTERFACE   (unity_sound_service_interface_get_type ())
#define UNITY_SOUND_SERVICE_INTERFACE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SOUND_SERVICE_INTERFACE, UnitySoundServiceInterface))
#define UNITY_IS_SOUND_SERVICE_INTERFACE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SOUND_SERVICE_INTERFACE))
#define UNITY_SOUND_SERVICE_INTERFACE_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_TYPE_SOUND_SERVICE_INTERFACE, UnitySoundServiceInterfaceIface))
#define UNITY_TYPE_SOUND_SERVICE_INTERFACE_PROXY   (unity_sound_service_interface_proxy_get_type ())
#define _g_hash_table_unref0(var)   ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define _g_variant_type_free0(var)   ((var == NULL) ? NULL : (var = (g_variant_type_free (var), NULL)))
#define _g_variant_builder_unref0(var)   ((var == NULL) ? NULL : (var = (g_variant_builder_unref (var), NULL)))
#define _g_variant_unref0(var)   ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define _g_list_free0(var)   ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define UNITY_MPRIS_INTERFACE_ROOT_PATH   "/org/mpris/MediaPlayer2"
#define UNITY_MPRIS_INTERFACE_ROOT   "org.mpris.MediaPlayer2"
#define UNITY_MPRIS_INTERFACE_PREFIX   "org.mpris.MediaPlayer2."
#define UNITY_MPRIS_INTERFACE_PLAYER   "org.mpris.MediaPlayer2.Player"
#define UNITY_MPRIS_INTERFACE_PLAYLISTS   "org.mpris.MediaPlayer2.Playlists"
#define UNITY_MPRIS_GATEWAY_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGatewayPrivate))
#define UNITY_SPECIFIC_ITEM_MANAGER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SPECIFIC_ITEM_MANAGER, UnitySpecificItemManagerPrivate))
#define UNITY_PROPERTY_UPDATE_MANAGER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_PROPERTY_UPDATE_MANAGER, UnityPropertyUpdateManagerPrivate))
#define UNITY_BLACKLIST_MANAGER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_BLACKLIST_MANAGER, UnityBlacklistManagerPrivate))
#define UNITY_MPRIS_ROOT_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MPRIS_ROOT, UnityMprisRootPrivate))
#define UNITY_MPRIS_PLAYER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MPRIS_PLAYER, UnityMprisPlayerPrivate))
#define UNITY_MPRIS_PLAYLISTS_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MPRIS_PLAYLISTS, UnityMprisPlaylistsPrivate))

Typedefs

typedef struct _UnityMPRISGateway
typedef struct _UnityMPRISGatewayClass
typedef struct _UnityMPRISGatewayPrivate
typedef struct _UnityMprisRoot
typedef struct _UnityMprisRootClass
typedef struct _UnityMprisPlayer
typedef struct _UnityMprisPlayerClass
typedef struct _UnityMprisPlaylists
typedef struct _UnityMprisPlaylistsClass
typedef struct _UnityPropertyUpdateManager
typedef struct _UnityPropertyUpdateManagerClass
typedef struct _UnityBlacklistManager
typedef struct _UnityBlacklistManagerClass
typedef struct _UnitySpecificItemManager
typedef struct _UnitySpecificItemManagerClass
typedef struct _Block10Data
typedef struct _UnitySpecificItemManagerPrivate
typedef struct _UnitySoundServiceInterface
typedef struct _UnitySoundServiceInterfaceIface
typedef struct _UnityPropertyUpdateManagerPrivate
typedef struct _Block11Data
typedef struct _UnityBlacklistManagerPrivate
typedef GDBusProxy UnitySoundServiceInterfaceProxy
typedef GDBusProxyClass UnitySoundServiceInterfaceProxyClass
typedef struct _UnityMprisRootPrivate
typedef struct _UnityMprisRootRaiseData
typedef struct _UnityMprisPlayerPrivate
typedef struct _UnityMprisPlayerPlayPauseData
typedef struct _UnityMprisPlayerNextData
typedef struct _UnityMprisPlayerPreviousData
typedef struct _UnityMprisPlaylistsPrivate
typedef struct _UnityMprisPlaylistsActivatePlaylistData
typedef struct _UnityMprisPlaylistsGetPlaylistsData

Enumerations

enum  { UNITY_PROPERTY_UPDATE_MANAGER_DUMMY_PROPERTY, UNITY_PROPERTY_UPDATE_MANAGER_CONNECTION }
enum  { UNITY_BLACKLIST_MANAGER_DUMMY_PROPERTY }
enum  {
  UNITY_MPRIS_ROOT_DUMMY_PROPERTY, UNITY_MPRIS_ROOT_HAS_TRACKLIST, UNITY_MPRIS_ROOT_CAN_QUIT, UNITY_MPRIS_ROOT_CAN_RAISE,
  UNITY_MPRIS_ROOT_IDENTITY, UNITY_MPRIS_ROOT_DESKTOP_ENTRY
}
enum  {
  UNITY_MPRIS_PLAYER_DUMMY_PROPERTY, UNITY_MPRIS_PLAYER_METADATA, UNITY_MPRIS_PLAYER_PLAYBACK_STATUS, UNITY_MPRIS_PLAYER_CAN_CONTROL,
  UNITY_MPRIS_PLAYER_CAN_GO_NEXT, UNITY_MPRIS_PLAYER_CAN_GO_PREVIOUS, UNITY_MPRIS_PLAYER_CAN_PLAY, UNITY_MPRIS_PLAYER_CAN_PAUSE
}
enum  { UNITY_MPRIS_PLAYLISTS_DUMMY_PROPERTY, UNITY_MPRIS_PLAYLISTS_ORDERINGS, UNITY_MPRIS_PLAYLISTS_PLAYLIST_COUNT, UNITY_MPRIS_PLAYLISTS_ACTIVE_PLAYLIST }

Functions

GType unity_mpris_gateway_get_type (void)
UnityMPRISGateway * unity_mpris_gateway_new (UnityMusicPlayer *client)
UnityMPRISGateway * unity_mpris_gateway_construct (GType object_type, UnityMusicPlayer *client)
void unity_mpris_gateway_export (UnityMPRISGateway *self)
static Block10Data * block10_data_ref (Block10Data *_data10_)
static void block10_data_unref (void *_userdata_)
UnityPropertyUpdateManager * unity_property_update_manager_new (GDBusConnection *conn)
UnityPropertyUpdateManager * unity_property_update_manager_construct (GType object_type, GDBusConnection *conn)
UnityMusicPlayer * unity_mpris_gateway_get_consumer (UnityMPRISGateway *self)
UnityMprisRoot * unity_mpris_root_new (UnityMusicPlayer *client, UnityPropertyUpdateManager *prop_mgr)
UnityMprisRoot * unity_mpris_root_construct (GType object_type, UnityMusicPlayer *client, UnityPropertyUpdateManager *prop_mgr)
UnityMprisPlayer * unity_mpris_player_new (UnityMusicPlayer *client, UnityPropertyUpdateManager *prop_mgr)
UnityMprisPlayer * unity_mpris_player_construct (GType object_type, UnityMusicPlayer *client, UnityPropertyUpdateManager *prop_mgr)
UnityMprisPlaylists * unity_mpris_playlists_new (UnityMusicPlayer *consumer, UnityPropertyUpdateManager *prop_mgr, UnityMPRISGateway *gw)
UnityMprisPlaylists * unity_mpris_playlists_construct (GType object_type, UnityMusicPlayer *consumer, UnityPropertyUpdateManager *prop_mgr, UnityMPRISGateway *gw)
static void __lambda26_ (Block10Data *_data10_)
static void ___lambda26__gbus_name_acquired_callback (GDBusConnection *connection, const gchar *name, gpointer self)
static void unity_mpris_gateway_on_name_lost (UnityMPRISGateway *self, GDBusConnection *conn, const gchar *name)
static void _unity_mpris_gateway_on_name_lost_gbus_name_lost_callback (GDBusConnection *connection, const gchar *name, gpointer self)
void unity_mpris_gateway_unexport (UnityMPRISGateway *self)
void unity_mpris_gateway_ensure_playlist_interface_is_raised (UnityMPRISGateway *self)
static void unity_mpris_gateway_set_consumer (UnityMPRISGateway *self, UnityMusicPlayer *value)
UnityPlaylist * unity_mpris_gateway_get_edited_playlist (UnityMPRISGateway *self)
void unity_mpris_gateway_set_edited_playlist (UnityMPRISGateway *self, UnityPlaylist *value)
gint unity_mpris_gateway_get_playlist_count (UnityMPRISGateway *self)
void unity_mpris_gateway_set_playlist_count (UnityMPRISGateway *self, gint value)
static GObject * unity_mpris_gateway_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
UnityBlacklistManager * unity_blacklist_manager_new (UnityMusicPlayer *client)
UnityBlacklistManager * unity_blacklist_manager_construct (GType object_type, UnityMusicPlayer *client)
UnitySpecificItemManager * unity_specific_item_manager_new (UnityMusicPlayer *client)
UnitySpecificItemManager * unity_specific_item_manager_construct (GType object_type, UnityMusicPlayer *client)
static void unity_mpris_gateway_finalize (GObject *obj)
static void _vala_unity_mpris_gateway_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_mpris_gateway_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
GType unity_sound_service_interface_proxy_get_type (void)
static void unity_specific_item_manager_on_track_specific_change (UnitySpecificItemManager *self, GParamSpec *p)
UnityMusicPlayer * unity_specific_item_manager_get_consumer (UnitySpecificItemManager *self)
void unity_sound_service_interface_EnableTrackSpecificItems (UnitySoundServiceInterface *self, const char *object_path, const gchar *desktop_id, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_sound_service_interface_EnableTrackSpecificItems_finish (UnitySoundServiceInterface *self, GAsyncResult *_res_, GError **error)
static void unity_specific_item_manager_on_player_specific_change (UnitySpecificItemManager *self, GParamSpec *p)
void unity_sound_service_interface_EnablePlayerSpecificItems (UnitySoundServiceInterface *self, const char *object_path, const gchar *desktop_id, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_sound_service_interface_EnablePlayerSpecificItems_finish (UnitySoundServiceInterface *self, GAsyncResult *_res_, GError **error)
static void unity_specific_item_manager_set_consumer (UnitySpecificItemManager *self, UnityMusicPlayer *value)
static GObject * unity_specific_item_manager_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void _unity_specific_item_manager_on_track_specific_change_g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void _unity_specific_item_manager_on_player_specific_change_g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void unity_specific_item_manager_finalize (GObject *obj)
static void _vala_unity_specific_item_manager_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_specific_item_manager_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
void unity_property_update_manager_queue_property_update (UnityPropertyUpdateManager *self, const gchar *prop_name, GVariant *update, const gchar *interface_name)
static Block11Data * block11_data_ref (Block11Data *_data11_)
static void block11_data_unref (void *_userdata_)
static gboolean ___lambda19_ (Block11Data *_data11_)
static gboolean unity_property_update_manager_dispatch_property_update (UnityPropertyUpdateManager *self, const gchar *interface_name)
static gboolean ____lambda19__gsource_func (gpointer self)
void unity_property_update_manager_emit_dbus_signal (UnityPropertyUpdateManager *self, const gchar *interface_name, const gchar *signal_name, GVariant *payload)
GDBusConnection * unity_property_update_manager_get_connection (UnityPropertyUpdateManager *self)
static void unity_property_update_manager_set_connection (UnityPropertyUpdateManager *self, GDBusConnection *value)
static GObject * unity_property_update_manager_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void _g_free0_ (gpointer var)
static void _g_hash_table_unref0_ (gpointer var)
static void _g_variant_unref0_ (gpointer var)
static void unity_property_update_manager_finalize (GObject *obj)
static void _vala_unity_property_update_manager_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_property_update_manager_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void unity_blacklist_manager_wire_it_up (UnityBlacklistManager *self)
gboolean unity_blacklist_manager_check_presence (UnityBlacklistManager *self)
static void unity_blacklist_manager_on_blacklist_event (UnityBlacklistManager *self)
static void _unity_blacklist_manager_on_blacklist_event_g_settings_changed (GSettings *_sender, const gchar *key, gpointer self)
static void unity_blacklist_manager_consumer_blacklist_change (UnityBlacklistManager *self)
static void _unity_blacklist_manager_consumer_blacklist_change_g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void unity_blacklist_manager_add_to_blacklist (UnityBlacklistManager *self)
static void unity_blacklist_manager_remove_from_blacklist (UnityBlacklistManager *self)
static gchar * unity_blacklist_manager_get_blacklist_name (UnityBlacklistManager *self)
static GObject * unity_blacklist_manager_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void unity_blacklist_manager_finalize (GObject *obj)
static void unity_sound_service_interface_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, GVariant *parameters)
static void _vala_g_async_ready_callback (GObject *source_object, GAsyncResult *res, void *user_data)
static void unity_sound_service_interface_proxy_EnableTrackSpecificItems_async (UnitySoundServiceInterface *self, const char *object_path, const gchar *desktop_id, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_sound_service_interface_proxy_EnableTrackSpecificItems_finish (UnitySoundServiceInterface *self, GAsyncResult *_res_, GError **error)
static void unity_sound_service_interface_proxy_EnablePlayerSpecificItems_async (UnitySoundServiceInterface *self, const char *object_path, const gchar *desktop_id, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_sound_service_interface_proxy_EnablePlayerSpecificItems_finish (UnitySoundServiceInterface *self, GAsyncResult *_res_, GError **error)
static void unity_sound_service_interface_proxy_unity_sound_service_interface_interface_init (UnitySoundServiceInterfaceIface *iface)
static void _dbus_unity_sound_service_interface_EnableTrackSpecificItems (UnitySoundServiceInterface *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_sound_service_interface_EnableTrackSpecificItems_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_unity_sound_service_interface_EnablePlayerSpecificItems (UnitySoundServiceInterface *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_sound_service_interface_EnablePlayerSpecificItems_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_sound_service_interface_dbus_interface_method_call (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data)
static GVariant * unity_sound_service_interface_dbus_interface_get_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GError **error, gpointer user_data)
static gboolean unity_sound_service_interface_dbus_interface_set_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GVariant *value, GError **error, gpointer user_data)
static void _unity_sound_service_interface_unregister_object (gpointer user_data)
static void unity_mpris_root_wire_up (UnityMprisRoot *self)
static void __lambda20_ (UnityMprisRoot *self, GObject *obj, GParamSpec *pspec)
static GVariant * _variant_new26 (const gchar *value)
static void ___lambda20__g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void unity_mpris_root_raise_data_free (gpointer _data)
void unity_mpris_root_raise (UnityMprisRoot *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_mpris_root_raise_finish (UnityMprisRoot *self, GAsyncResult *_res_, GError **error)
static gboolean unity_mpris_root_raise_co (UnityMprisRootRaiseData *_data_)
gboolean unity_mpris_root_get_has_tracklist (UnityMprisRoot *self)
gboolean unity_mpris_root_get_can_quit (UnityMprisRoot *self)
gboolean unity_mpris_root_get_can_raise (UnityMprisRoot *self)
const gchar * unity_mpris_root_get_identity (UnityMprisRoot *self)
const gchar * unity_mpris_root_get_desktop_entry (UnityMprisRoot *self)
static GObject * unity_mpris_root_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void unity_mpris_root_finalize (GObject *obj)
static void _vala_unity_mpris_root_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _dbus_unity_mpris_root_raise (UnityMprisRoot *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_mpris_root_raise_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_mpris_root_dbus_interface_method_call (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data)
static GVariant * unity_mpris_root_dbus_interface_get_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GError **error, gpointer user_data)
static GVariant * _dbus_unity_mpris_root_get_has_tracklist (UnityMprisRoot *self)
static GVariant * _dbus_unity_mpris_root_get_can_quit (UnityMprisRoot *self)
static GVariant * _dbus_unity_mpris_root_get_can_raise (UnityMprisRoot *self)
static GVariant * _dbus_unity_mpris_root_get_identity (UnityMprisRoot *self)
static GVariant * _dbus_unity_mpris_root_get_desktop_entry (UnityMprisRoot *self)
static gboolean unity_mpris_root_dbus_interface_set_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GVariant *value, GError **error, gpointer user_data)
static void _unity_mpris_root_unregister_object (gpointer user_data)
static void unity_mpris_player_wire_it_up (UnityMprisPlayer *self)
void unity_mpris_player_on_metadata_update (UnityMprisPlayer *self, GParamSpec *pspec)
static void _unity_mpris_player_on_metadata_update_g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void __lambda21_ (UnityMprisPlayer *self, GObject *obj, GParamSpec *pspec)
static GVariant * _variant_new27 (const gchar *value)
static void ___lambda21__g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void __lambda22_ (UnityMprisPlayer *self, GObject *obj, GParamSpec *pspec)
static GVariant * _variant_new28 (gboolean value)
static void ___lambda22__g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void __lambda23_ (UnityMprisPlayer *self, GObject *obj, GParamSpec *pspec)
static GVariant * _variant_new29 (gboolean value)
static void ___lambda23__g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void __lambda24_ (UnityMprisPlayer *self, GObject *obj, GParamSpec *pspec)
static GVariant * _variant_new30 (gboolean value)
static void ___lambda24__g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void __lambda25_ (UnityMprisPlayer *self, GObject *obj, GParamSpec *pspec)
static GVariant * _variant_new31 (gboolean value)
static void ___lambda25__g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static GVariant * _variant_new32 (const gchar *value)
static GVariant * _variant_new33 (gchar *value)
static GVariant * _variant_new34 (const gchar *value)
static GVariant * _variant_new35 (const gchar *value)
static GVariant * _variant_new36 (const gchar *value)
static GVariant * _variant_new37 (GHashTable *value)
static void unity_mpris_player_play_pause_data_free (gpointer _data)
void unity_mpris_player_play_pause (UnityMprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_mpris_player_play_pause_finish (UnityMprisPlayer *self, GAsyncResult *_res_, GError **error)
static gboolean unity_mpris_player_play_pause_co (UnityMprisPlayerPlayPauseData *_data_)
static void unity_mpris_player_next_data_free (gpointer _data)
void unity_mpris_player_next (UnityMprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_mpris_player_next_finish (UnityMprisPlayer *self, GAsyncResult *_res_, GError **error)
static gboolean unity_mpris_player_next_co (UnityMprisPlayerNextData *_data_)
static void unity_mpris_player_previous_data_free (gpointer _data)
void unity_mpris_player_previous (UnityMprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_mpris_player_previous_finish (UnityMprisPlayer *self, GAsyncResult *_res_, GError **error)
static gboolean unity_mpris_player_previous_co (UnityMprisPlayerPreviousData *_data_)
GHashTable * unity_mpris_player_get_metadata (UnityMprisPlayer *self)
const gchar * unity_mpris_player_get_playback_status (UnityMprisPlayer *self)
gboolean unity_mpris_player_get_can_control (UnityMprisPlayer *self)
gboolean unity_mpris_player_get_can_go_next (UnityMprisPlayer *self)
gboolean unity_mpris_player_get_can_go_previous (UnityMprisPlayer *self)
gboolean unity_mpris_player_get_can_play (UnityMprisPlayer *self)
gboolean unity_mpris_player_get_can_pause (UnityMprisPlayer *self)
static GObject * unity_mpris_player_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void unity_mpris_player_finalize (GObject *obj)
static void _vala_unity_mpris_player_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _dbus_unity_mpris_player_play_pause (UnityMprisPlayer *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_mpris_player_play_pause_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_unity_mpris_player_next (UnityMprisPlayer *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_mpris_player_next_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_unity_mpris_player_previous (UnityMprisPlayer *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_mpris_player_previous_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_mpris_player_dbus_interface_method_call (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data)
static GVariant * unity_mpris_player_dbus_interface_get_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GError **error, gpointer user_data)
static GVariant * _dbus_unity_mpris_player_get_metadata (UnityMprisPlayer *self)
static GVariant * _dbus_unity_mpris_player_get_playback_status (UnityMprisPlayer *self)
static GVariant * _dbus_unity_mpris_player_get_can_control (UnityMprisPlayer *self)
static GVariant * _dbus_unity_mpris_player_get_can_go_next (UnityMprisPlayer *self)
static GVariant * _dbus_unity_mpris_player_get_can_go_previous (UnityMprisPlayer *self)
static GVariant * _dbus_unity_mpris_player_get_can_play (UnityMprisPlayer *self)
static GVariant * _dbus_unity_mpris_player_get_can_pause (UnityMprisPlayer *self)
static gboolean unity_mpris_player_dbus_interface_set_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GVariant *value, GError **error, gpointer user_data)
static void _unity_mpris_player_unregister_object (gpointer user_data)
static void unity_mpris_playlists_wire_up (UnityMprisPlaylists *self)
static void unity_mpris_playlists_on_current_playlist_update (UnityMprisPlaylists *self, GParamSpec *p)
static void _unity_mpris_playlists_on_current_playlist_update_g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void unity_mpris_playlists_on_playlist_name_change (UnityMprisPlaylists *self, GParamSpec *p)
static void _unity_mpris_playlists_on_playlist_name_change_g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void unity_mpris_playlists_on_playlist_count_change (UnityMprisPlaylists *self, GParamSpec *p)
static void _unity_mpris_playlists_on_playlist_count_change_g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
void unity_mpris_playlists_get_active_playlist (UnityMprisPlaylists *self, UnityActivePlaylistContainer *result)
static GVariant * _variant_new38 (UnityActivePlaylistContainer value)
static void unity_mpris_playlists_prep_playlist (UnityMprisPlaylists *self, UnityPlaylist *unity_pl, UnityPlaylistDetails *outward)
static GVariant * _variant_new39 (gint value)
static void unity_mpris_playlists_activate_playlist_data_free (gpointer _data)
void unity_mpris_playlists_activate_playlist (UnityMprisPlaylists *self, const char *playlist_id, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_mpris_playlists_activate_playlist_finish (UnityMprisPlaylists *self, GAsyncResult *_res_, GError **error)
static gboolean unity_mpris_playlists_activate_playlist_co (UnityMprisPlaylistsActivatePlaylistData *_data_)
static void _vala_UnityPlaylistDetails_array_free (UnityPlaylistDetails *array, gint array_length)
static void unity_mpris_playlists_get_playlists_data_free (gpointer _data)
void unity_mpris_playlists_get_playlists (UnityMprisPlaylists *self, guint32 index, guint32 max_count, const gchar *order, gboolean reverse_order, GAsyncReadyCallback _callback_, gpointer _user_data_)
UnityPlaylistDetails * unity_mpris_playlists_get_playlists_finish (UnityMprisPlaylists *self, GAsyncResult *_res_, int *result_length1, GError **error)
static gboolean unity_mpris_playlists_get_playlists_co (UnityMprisPlaylistsGetPlaylistsData *_data_)
static void _vala_array_add3 (UnityPlaylistDetails **array, int *length, int *size, const UnityPlaylistDetails *value)
gchar ** unity_mpris_playlists_get_orderings (UnityMprisPlaylists *self, int *result_length1)
guint32 unity_mpris_playlists_get_playlist_count (UnityMprisPlaylists *self)
static GObject * unity_mpris_playlists_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void unity_mpris_playlists_finalize (GObject *obj)
static void _vala_unity_mpris_playlists_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _dbus_unity_mpris_playlists_activate_playlist (UnityMprisPlaylists *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_mpris_playlists_activate_playlist_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_unity_mpris_playlists_get_playlists (UnityMprisPlaylists *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_unity_mpris_playlists_get_playlists_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_mpris_playlists_dbus_interface_method_call (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data)
static GVariant * unity_mpris_playlists_dbus_interface_get_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GError **error, gpointer user_data)
static GVariant * _dbus_unity_mpris_playlists_get_orderings (UnityMprisPlaylists *self)
static GVariant * _dbus_unity_mpris_playlists_get_playlist_count (UnityMprisPlaylists *self)
static GVariant * _dbus_unity_mpris_playlists_get_active_playlist (UnityMprisPlaylists *self)
static gboolean unity_mpris_playlists_dbus_interface_set_property (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *property_name, GVariant *value, GError **error, gpointer user_data)
static void _unity_mpris_playlists_unregister_object (gpointer user_data)
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)
static void unity_mpris_gateway_class_init (UnityMPRISGatewayClass *klass)
static void unity_mpris_gateway_instance_init (UnityMPRISGateway *self)
static const gchar * string_to_string (const gchar *self)
static void unity_specific_item_manager_class_init (UnitySpecificItemManagerClass *klass)
static void unity_specific_item_manager_instance_init (UnitySpecificItemManager *self)
GType unity_specific_item_manager_get_type (void)
static gpointer _g_hash_table_ref0 (gpointer self)
static gpointer _g_variant_ref0 (gpointer self)
static void unity_property_update_manager_class_init (UnityPropertyUpdateManagerClass *klass)
static void unity_property_update_manager_instance_init (UnityPropertyUpdateManager *self)
GType unity_property_update_manager_get_type (void)
 PropertyUpdate Manager Handles all property updates for each of the 3 MPRIS interfaces.
static void unity_blacklist_manager_class_init (UnityBlacklistManagerClass *klass)
static void unity_blacklist_manager_instance_init (UnityBlacklistManager *self)
GType unity_blacklist_manager_get_type (void)
static void unity_sound_service_interface_base_init (UnitySoundServiceInterfaceIface *iface)
GType unity_sound_service_interface_get_type (void)
static void unity_sound_service_interface_proxy_class_init (UnitySoundServiceInterfaceProxyClass *klass)
static void unity_sound_service_interface_proxy_init (UnitySoundServiceInterfaceProxy *self)
guint unity_sound_service_interface_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void unity_mpris_root_class_init (UnityMprisRootClass *klass)
static void unity_mpris_root_instance_init (UnityMprisRoot *self)
GType unity_mpris_root_get_type (void)
 MPRIS Root.
guint unity_mpris_root_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void unity_mpris_player_class_init (UnityMprisPlayerClass *klass)
static void unity_mpris_player_instance_init (UnityMprisPlayer *self)
GType unity_mpris_player_get_type (void)
 MPRIS Player.
guint unity_mpris_player_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
void unity_playlist_details_copy (const UnityPlaylistDetails *self, UnityPlaylistDetails *dest)
void unity_playlist_details_destroy (UnityPlaylistDetails *self)
UnityPlaylistDetails * unity_playlist_details_dup (const UnityPlaylistDetails *self)
void unity_playlist_details_free (UnityPlaylistDetails *self)
GType unity_playlist_details_get_type (void)
void unity_active_playlist_container_copy (const UnityActivePlaylistContainer *self, UnityActivePlaylistContainer *dest)
void unity_active_playlist_container_destroy (UnityActivePlaylistContainer *self)
UnityActivePlaylistContainer * unity_active_playlist_container_dup (const UnityActivePlaylistContainer *self)
void unity_active_playlist_container_free (UnityActivePlaylistContainer *self)
GType unity_active_playlist_container_get_type (void)
static void unity_mpris_playlists_class_init (UnityMprisPlaylistsClass *klass)
static void unity_mpris_playlists_instance_init (UnityMprisPlaylists *self)
GType unity_mpris_playlists_get_type (void)
guint unity_mpris_playlists_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)

Variables

static gpointer unity_mpris_gateway_parent_class = NULL
static gpointer unity_specific_item_manager_parent_class = NULL
static gpointer unity_property_update_manager_parent_class = NULL
static gpointer unity_blacklist_manager_parent_class = NULL
static gpointer unity_mpris_root_parent_class = NULL
static gpointer unity_mpris_player_parent_class = NULL
static gpointer unity_mpris_playlists_parent_class = NULL
static const GDBusArgInfo _unity_sound_service_interface_dbus_arg_info_EnableTrackSpecificItems_object_path = {-1, "object_path", "o"}
static const GDBusArgInfo _unity_sound_service_interface_dbus_arg_info_EnableTrackSpecificItems_desktop_id = {-1, "desktop_id", "s"}
static const GDBusArgInfo *const _unity_sound_service_interface_dbus_arg_info_EnableTrackSpecificItems_in [] = {&_unity_sound_service_interface_dbus_arg_info_EnableTrackSpecificItems_object_path, &_unity_sound_service_interface_dbus_arg_info_EnableTrackSpecificItems_desktop_id, NULL}
static const GDBusArgInfo *const _unity_sound_service_interface_dbus_arg_info_EnableTrackSpecificItems_out [] = {NULL}
static const GDBusMethodInfo _unity_sound_service_interface_dbus_method_info_EnableTrackSpecificItems = {-1, "EnableTrackSpecificItems", (GDBusArgInfo **) (&_unity_sound_service_interface_dbus_arg_info_EnableTrackSpecificItems_in), (GDBusArgInfo **) (&_unity_sound_service_interface_dbus_arg_info_EnableTrackSpecificItems_out)}
static const GDBusArgInfo _unity_sound_service_interface_dbus_arg_info_EnablePlayerSpecificItems_object_path = {-1, "object_path", "o"}
static const GDBusArgInfo _unity_sound_service_interface_dbus_arg_info_EnablePlayerSpecificItems_desktop_id = {-1, "desktop_id", "s"}
static const GDBusArgInfo *const _unity_sound_service_interface_dbus_arg_info_EnablePlayerSpecificItems_in [] = {&_unity_sound_service_interface_dbus_arg_info_EnablePlayerSpecificItems_object_path, &_unity_sound_service_interface_dbus_arg_info_EnablePlayerSpecificItems_desktop_id, NULL}
static const GDBusArgInfo *const _unity_sound_service_interface_dbus_arg_info_EnablePlayerSpecificItems_out [] = {NULL}
static const GDBusMethodInfo _unity_sound_service_interface_dbus_method_info_EnablePlayerSpecificItems = {-1, "EnablePlayerSpecificItems", (GDBusArgInfo **) (&_unity_sound_service_interface_dbus_arg_info_EnablePlayerSpecificItems_in), (GDBusArgInfo **) (&_unity_sound_service_interface_dbus_arg_info_EnablePlayerSpecificItems_out)}
static const GDBusMethodInfo *const _unity_sound_service_interface_dbus_method_info [] = {&_unity_sound_service_interface_dbus_method_info_EnableTrackSpecificItems, &_unity_sound_service_interface_dbus_method_info_EnablePlayerSpecificItems, NULL}
static const GDBusSignalInfo *const _unity_sound_service_interface_dbus_signal_info [] = {NULL}
static const GDBusPropertyInfo
*const 
_unity_sound_service_interface_dbus_property_info [] = {NULL}
static const GDBusInterfaceInfo _unity_sound_service_interface_dbus_interface_info = {-1, "com.canonical.indicators.sound", (GDBusMethodInfo **) (&_unity_sound_service_interface_dbus_method_info), (GDBusSignalInfo **) (&_unity_sound_service_interface_dbus_signal_info), (GDBusPropertyInfo **) (&_unity_sound_service_interface_dbus_property_info)}
static const GDBusInterfaceVTable _unity_sound_service_interface_dbus_interface_vtable = {unity_sound_service_interface_dbus_interface_method_call, unity_sound_service_interface_dbus_interface_get_property, unity_sound_service_interface_dbus_interface_set_property}
static const GDBusArgInfo *const _unity_mpris_root_dbus_arg_info_raise_in [] = {NULL}
static const GDBusArgInfo *const _unity_mpris_root_dbus_arg_info_raise_out [] = {NULL}
static const GDBusMethodInfo _unity_mpris_root_dbus_method_info_raise = {-1, "Raise", (GDBusArgInfo **) (&_unity_mpris_root_dbus_arg_info_raise_in), (GDBusArgInfo **) (&_unity_mpris_root_dbus_arg_info_raise_out)}
static const GDBusMethodInfo *const _unity_mpris_root_dbus_method_info [] = {&_unity_mpris_root_dbus_method_info_raise, NULL}
static const GDBusSignalInfo *const _unity_mpris_root_dbus_signal_info [] = {NULL}
static const GDBusPropertyInfo _unity_mpris_root_dbus_property_info_has_tracklist = {-1, "HasTracklist", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_root_dbus_property_info_can_quit = {-1, "CanQuit", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_root_dbus_property_info_can_raise = {-1, "CanRaise", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_root_dbus_property_info_identity = {-1, "Identity", "s", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_root_dbus_property_info_desktop_entry = {-1, "DesktopEntry", "s", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo
*const 
_unity_mpris_root_dbus_property_info [] = {&_unity_mpris_root_dbus_property_info_has_tracklist, &_unity_mpris_root_dbus_property_info_can_quit, &_unity_mpris_root_dbus_property_info_can_raise, &_unity_mpris_root_dbus_property_info_identity, &_unity_mpris_root_dbus_property_info_desktop_entry, NULL}
static const GDBusInterfaceInfo _unity_mpris_root_dbus_interface_info = {-1, "org.mpris.MediaPlayer2", (GDBusMethodInfo **) (&_unity_mpris_root_dbus_method_info), (GDBusSignalInfo **) (&_unity_mpris_root_dbus_signal_info), (GDBusPropertyInfo **) (&_unity_mpris_root_dbus_property_info)}
static const GDBusInterfaceVTable _unity_mpris_root_dbus_interface_vtable = {unity_mpris_root_dbus_interface_method_call, unity_mpris_root_dbus_interface_get_property, unity_mpris_root_dbus_interface_set_property}
static const GDBusArgInfo *const _unity_mpris_player_dbus_arg_info_play_pause_in [] = {NULL}
static const GDBusArgInfo *const _unity_mpris_player_dbus_arg_info_play_pause_out [] = {NULL}
static const GDBusMethodInfo _unity_mpris_player_dbus_method_info_play_pause = {-1, "PlayPause", (GDBusArgInfo **) (&_unity_mpris_player_dbus_arg_info_play_pause_in), (GDBusArgInfo **) (&_unity_mpris_player_dbus_arg_info_play_pause_out)}
static const GDBusArgInfo *const _unity_mpris_player_dbus_arg_info_next_in [] = {NULL}
static const GDBusArgInfo *const _unity_mpris_player_dbus_arg_info_next_out [] = {NULL}
static const GDBusMethodInfo _unity_mpris_player_dbus_method_info_next = {-1, "Next", (GDBusArgInfo **) (&_unity_mpris_player_dbus_arg_info_next_in), (GDBusArgInfo **) (&_unity_mpris_player_dbus_arg_info_next_out)}
static const GDBusArgInfo *const _unity_mpris_player_dbus_arg_info_previous_in [] = {NULL}
static const GDBusArgInfo *const _unity_mpris_player_dbus_arg_info_previous_out [] = {NULL}
static const GDBusMethodInfo _unity_mpris_player_dbus_method_info_previous = {-1, "Previous", (GDBusArgInfo **) (&_unity_mpris_player_dbus_arg_info_previous_in), (GDBusArgInfo **) (&_unity_mpris_player_dbus_arg_info_previous_out)}
static const GDBusMethodInfo *const _unity_mpris_player_dbus_method_info [] = {&_unity_mpris_player_dbus_method_info_play_pause, &_unity_mpris_player_dbus_method_info_next, &_unity_mpris_player_dbus_method_info_previous, NULL}
static const GDBusSignalInfo *const _unity_mpris_player_dbus_signal_info [] = {NULL}
static const GDBusPropertyInfo _unity_mpris_player_dbus_property_info_metadata = {-1, "Metadata", "a{sv}", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_player_dbus_property_info_playback_status = {-1, "PlaybackStatus", "s", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_player_dbus_property_info_can_control = {-1, "CanControl", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_player_dbus_property_info_can_go_next = {-1, "CanGoNext", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_player_dbus_property_info_can_go_previous = {-1, "CanGoPrevious", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_player_dbus_property_info_can_play = {-1, "CanPlay", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_player_dbus_property_info_can_pause = {-1, "CanPause", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo
*const 
_unity_mpris_player_dbus_property_info [] = {&_unity_mpris_player_dbus_property_info_metadata, &_unity_mpris_player_dbus_property_info_playback_status, &_unity_mpris_player_dbus_property_info_can_control, &_unity_mpris_player_dbus_property_info_can_go_next, &_unity_mpris_player_dbus_property_info_can_go_previous, &_unity_mpris_player_dbus_property_info_can_play, &_unity_mpris_player_dbus_property_info_can_pause, NULL}
static const GDBusInterfaceInfo _unity_mpris_player_dbus_interface_info = {-1, "org.mpris.MediaPlayer2.Player", (GDBusMethodInfo **) (&_unity_mpris_player_dbus_method_info), (GDBusSignalInfo **) (&_unity_mpris_player_dbus_signal_info), (GDBusPropertyInfo **) (&_unity_mpris_player_dbus_property_info)}
static const GDBusInterfaceVTable _unity_mpris_player_dbus_interface_vtable = {unity_mpris_player_dbus_interface_method_call, unity_mpris_player_dbus_interface_get_property, unity_mpris_player_dbus_interface_set_property}
static const GDBusArgInfo _unity_mpris_playlists_dbus_arg_info_activate_playlist_playlist_id = {-1, "playlist_id", "o"}
static const GDBusArgInfo *const _unity_mpris_playlists_dbus_arg_info_activate_playlist_in [] = {&_unity_mpris_playlists_dbus_arg_info_activate_playlist_playlist_id, NULL}
static const GDBusArgInfo *const _unity_mpris_playlists_dbus_arg_info_activate_playlist_out [] = {NULL}
static const GDBusMethodInfo _unity_mpris_playlists_dbus_method_info_activate_playlist = {-1, "ActivatePlaylist", (GDBusArgInfo **) (&_unity_mpris_playlists_dbus_arg_info_activate_playlist_in), (GDBusArgInfo **) (&_unity_mpris_playlists_dbus_arg_info_activate_playlist_out)}
static const GDBusArgInfo _unity_mpris_playlists_dbus_arg_info_get_playlists_index = {-1, "index", "u"}
static const GDBusArgInfo _unity_mpris_playlists_dbus_arg_info_get_playlists_max_count = {-1, "max_count", "u"}
static const GDBusArgInfo _unity_mpris_playlists_dbus_arg_info_get_playlists_order = {-1, "order", "s"}
static const GDBusArgInfo _unity_mpris_playlists_dbus_arg_info_get_playlists_reverse_order = {-1, "reverse_order", "b"}
static const GDBusArgInfo _unity_mpris_playlists_dbus_arg_info_get_playlists_result = {-1, "result", "a(oss)"}
static const GDBusArgInfo *const _unity_mpris_playlists_dbus_arg_info_get_playlists_in [] = {&_unity_mpris_playlists_dbus_arg_info_get_playlists_index, &_unity_mpris_playlists_dbus_arg_info_get_playlists_max_count, &_unity_mpris_playlists_dbus_arg_info_get_playlists_order, &_unity_mpris_playlists_dbus_arg_info_get_playlists_reverse_order, NULL}
static const GDBusArgInfo *const _unity_mpris_playlists_dbus_arg_info_get_playlists_out [] = {&_unity_mpris_playlists_dbus_arg_info_get_playlists_result, NULL}
static const GDBusMethodInfo _unity_mpris_playlists_dbus_method_info_get_playlists = {-1, "GetPlaylists", (GDBusArgInfo **) (&_unity_mpris_playlists_dbus_arg_info_get_playlists_in), (GDBusArgInfo **) (&_unity_mpris_playlists_dbus_arg_info_get_playlists_out)}
static const GDBusMethodInfo *const _unity_mpris_playlists_dbus_method_info [] = {&_unity_mpris_playlists_dbus_method_info_activate_playlist, &_unity_mpris_playlists_dbus_method_info_get_playlists, NULL}
static const GDBusSignalInfo *const _unity_mpris_playlists_dbus_signal_info [] = {NULL}
static const GDBusPropertyInfo _unity_mpris_playlists_dbus_property_info_orderings = {-1, "Orderings", "as", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_playlists_dbus_property_info_playlist_count = {-1, "PlaylistCount", "u", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo _unity_mpris_playlists_dbus_property_info_active_playlist = {-1, "ActivePlaylist", "(b(oss))", G_DBUS_PROPERTY_INFO_FLAGS_READABLE}
static const GDBusPropertyInfo
*const 
_unity_mpris_playlists_dbus_property_info [] = {&_unity_mpris_playlists_dbus_property_info_orderings, &_unity_mpris_playlists_dbus_property_info_playlist_count, &_unity_mpris_playlists_dbus_property_info_active_playlist, NULL}
static const GDBusInterfaceInfo _unity_mpris_playlists_dbus_interface_info = {-1, "org.mpris.MediaPlayer2.Playlists", (GDBusMethodInfo **) (&_unity_mpris_playlists_dbus_method_info), (GDBusSignalInfo **) (&_unity_mpris_playlists_dbus_signal_info), (GDBusPropertyInfo **) (&_unity_mpris_playlists_dbus_property_info)}
static const GDBusInterfaceVTable _unity_mpris_playlists_dbus_interface_vtable = {unity_mpris_playlists_dbus_interface_method_call, unity_mpris_playlists_dbus_interface_get_property, unity_mpris_playlists_dbus_interface_set_property}

Class Documentation

struct _UnityMPRISGateway

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

Collaboration diagram for _UnityMPRISGateway:
Class Members
GObject parent_instance
UnityMPRISGatewayPrivate * priv
struct _UnityMPRISGatewayClass

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

Class Members
GObjectClass parent_class
struct _UnityMPRISGatewayPrivate

Definition at line 162 of file unity-sound-menu-mpris.c.

Class Members
UnityMusicPlayer * _consumer
UnityPlaylist * _edited_playlist
gint _playlist_count
UnityBlacklistManager * blacklist_mgr
guint bus_name_owner_handle
guint bus_player_iface_handle
guint bus_root_iface_handle
GDBusConnection * dbus_connection
UnityMprisPlayer * mpris_player_interface
UnityMprisPlaylists * mpris_playlist_interface
UnityMprisRoot * mpris_root_interface
gboolean playlist_interface_raised
UnityPropertyUpdateManager * prop_manager
UnitySpecificItemManager * specific_menuitem_mgr
struct _Block10Data

Definition at line 179 of file unity-sound-menu-mpris.c.

Class Members
Block9Data * _data9_
int _ref_count_
GDBusConnection * bus
gchar * dbus_name
gboolean finish_called
gboolean got_search_changed
GMainLoop * ml
GVariant * result1
GVariant * result2
UnityMPRISGateway * self
struct _UnitySpecificItemManager

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

Collaboration diagram for _UnitySpecificItemManager:
Class Members
char * _player_specific_object_path
char * _track_specific_object_path
GObject parent_instance
UnitySpecificItemManagerPrivate * priv
struct _UnitySpecificItemManagerClass

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

Class Members
GObjectClass parent_class
struct _UnitySpecificItemManagerPrivate

Definition at line 204 of file unity-sound-menu-mpris.c.

Class Members
UnityMusicPlayer * _consumer
DbusmenuServer * _player_item_server
DbusmenuServer * _track_item_server
UnitySoundServiceInterface * sound_service_interface
struct _UnityPropertyUpdateManager

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

Collaboration diagram for _UnityPropertyUpdateManager:
Class Members
GObject parent_instance
UnityPropertyUpdateManagerPrivate * priv
struct _UnityPropertyUpdateManagerClass

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

Class Members
GObjectClass parent_class
struct _UnityPropertyUpdateManagerPrivate

Definition at line 220 of file unity-sound-menu-mpris.c.

Class Members
GDBusConnection * _connection
GHashTable * queued_properties
GHashTable * source_ids
struct _Block11Data

Definition at line 226 of file unity-sound-menu-mpris.c.

Class Members
Block10Data * _data10_
int _ref_count_
UnityTesterLensInfo info
gchar * interface_name
UnityLensSearch * lens_search
GMainLoop * ml
UnityPropertyUpdateManager * self
struct _UnityBlacklistManager

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

Collaboration diagram for _UnityBlacklistManager:
Class Members
GObject parent_instance
UnityBlacklistManagerPrivate * priv
struct _UnityBlacklistManagerClass

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

Class Members
GObjectClass parent_class
struct _UnityBlacklistManagerPrivate

Definition at line 241 of file unity-sound-menu-mpris.c.

Class Members
UnityMusicPlayer * consumer
GSettings * settings
struct _UnityMprisRoot

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

Collaboration diagram for _UnityMprisRoot:
Class Members
GObject parent_instance
UnityMprisRootPrivate * priv
struct _UnityMprisRootClass

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

Class Members
GObjectClass parent_class
struct _UnityMprisRootPrivate

Definition at line 255 of file unity-sound-menu-mpris.c.

Class Members
UnityMusicPlayer * consumer
gchar * mpris_desktop_entry
UnityPropertyUpdateManager * prop_mgr
struct _UnityMprisRootRaiseData

Definition at line 261 of file unity-sound-menu-mpris.c.

Collaboration diagram for _UnityMprisRootRaiseData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityMusicPlayer * _tmp0_
UnityMprisRoot * self
struct _UnityMprisPlayer

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

Collaboration diagram for _UnityMprisPlayer:
Class Members
GObject parent_instance
UnityMprisPlayerPrivate * priv
struct _UnityMprisPlayerClass

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

Class Members
GObjectClass parent_class
struct _UnityMprisPlayerPrivate

Definition at line 279 of file unity-sound-menu-mpris.c.

Class Members
UnityMusicPlayer * consumer
GHashTable * current_metadata
UnityPropertyUpdateManager * prop_mgr
struct _UnityMprisPlayerPlayPauseData

Definition at line 285 of file unity-sound-menu-mpris.c.

Collaboration diagram for _UnityMprisPlayerPlayPauseData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityMusicPlayer * _tmp0_
UnityMprisPlayer * self
struct _UnityMprisPlayerNextData

Definition at line 294 of file unity-sound-menu-mpris.c.

Collaboration diagram for _UnityMprisPlayerNextData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityMusicPlayer * _tmp0_
UnityMprisPlayer * self
struct _UnityMprisPlayerPreviousData

Definition at line 303 of file unity-sound-menu-mpris.c.

Collaboration diagram for _UnityMprisPlayerPreviousData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityMusicPlayer * _tmp0_
UnityMprisPlayer * self
struct _UnityMprisPlaylists

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

Collaboration diagram for _UnityMprisPlaylists:
Class Members
GObject parent_instance
UnityMprisPlaylistsPrivate * priv
struct _UnityMprisPlaylistsClass

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

Class Members
GObjectClass parent_class
struct _UnityMprisPlaylistsPrivate

Definition at line 321 of file unity-sound-menu-mpris.c.

Class Members
UnityMusicPlayer * consumer
UnityMPRISGateway * gateway
UnityPropertyUpdateManager * prop_mgr
struct _UnityMprisPlaylistsActivatePlaylistData

Definition at line 327 of file unity-sound-menu-mpris.c.

Collaboration diagram for _UnityMprisPlaylistsActivatePlaylistData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityMusicPlayer * _tmp0_
const char * _tmp1_
char * playlist_id
UnityMprisPlaylists * self
struct _UnityMprisPlaylistsGetPlaylistsData

Definition at line 338 of file unity-sound-menu-mpris.c.

Collaboration diagram for _UnityMprisPlaylistsGetPlaylistsData:
Class Members
gint __result__size_
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
UnityPlaylistDetails * _result_
gint _result__length1
GObject * _source_object_
int _state_
UnityPlaylistDetails * _tmp0_
UnityMusicPlayer * _tmp1_
gint _tmp2_
UnityPlaylist ** _tmp3_
UnityPlaylist * _tmp4_
UnityPlaylist * _tmp5_
UnityPlaylistDetails * _tmp6_
gint _tmp6__length1
UnityPlaylistDetails _tmp7_
UnityPlaylistDetails _tmp8_
UnityPlaylistDetails * _tmp9_
gint _tmp9__length1
gint _up_collection_size_
UnityPlaylistDetails details
guint32 index
guint32 max_count
gchar * order
UnityPlaylistDetails * result
gint result_length1
gboolean reverse_order
UnityMprisPlaylists * self
UnityPlaylist * up
UnityPlaylist ** up_collection
gint up_collection_length1
gint up_it

Define Documentation

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

Definition at line 121 of file unity-sound-menu-mpris.c.

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

Definition at line 120 of file unity-sound-menu-mpris.c.

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

Definition at line 134 of file unity-sound-menu-mpris.c.

#define _g_list_free0 (   var)    ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))

Definition at line 139 of file unity-sound-menu-mpris.c.

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

Definition at line 118 of file unity-sound-menu-mpris.c.

#define _g_variant_builder_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_variant_builder_unref (var), NULL)))

Definition at line 137 of file unity-sound-menu-mpris.c.

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

Definition at line 136 of file unity-sound-menu-mpris.c.

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

Definition at line 138 of file unity-sound-menu-mpris.c.

#define UNITY_BLACKLIST_MANAGER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_BLACKLIST_MANAGER, UnityBlacklistManager))

Definition at line 100 of file unity-sound-menu-mpris.c.

#define UNITY_BLACKLIST_MANAGER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_BLACKLIST_MANAGER, UnityBlacklistManagerClass))

Definition at line 101 of file unity-sound-menu-mpris.c.

#define UNITY_BLACKLIST_MANAGER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_BLACKLIST_MANAGER, UnityBlacklistManagerClass))

Definition at line 104 of file unity-sound-menu-mpris.c.

#define UNITY_BLACKLIST_MANAGER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_BLACKLIST_MANAGER, UnityBlacklistManagerPrivate))

Definition at line 480 of file unity-sound-menu-mpris.c.

#define UNITY_IS_BLACKLIST_MANAGER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_BLACKLIST_MANAGER))

Definition at line 102 of file unity-sound-menu-mpris.c.

#define UNITY_IS_BLACKLIST_MANAGER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_BLACKLIST_MANAGER))

Definition at line 103 of file unity-sound-menu-mpris.c.

#define UNITY_IS_MPRIS_GATEWAY (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_MPRIS_GATEWAY))

Definition at line 51 of file unity-sound-menu-mpris.c.

#define UNITY_IS_MPRIS_GATEWAY_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_MPRIS_GATEWAY))

Definition at line 52 of file unity-sound-menu-mpris.c.

#define UNITY_IS_MPRIS_PLAYER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_MPRIS_PLAYER))

Definition at line 72 of file unity-sound-menu-mpris.c.

#define UNITY_IS_MPRIS_PLAYER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_MPRIS_PLAYER))

Definition at line 73 of file unity-sound-menu-mpris.c.

#define UNITY_IS_MPRIS_PLAYLISTS (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_MPRIS_PLAYLISTS))

Definition at line 82 of file unity-sound-menu-mpris.c.

#define UNITY_IS_MPRIS_PLAYLISTS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_MPRIS_PLAYLISTS))

Definition at line 83 of file unity-sound-menu-mpris.c.

#define UNITY_IS_MPRIS_ROOT (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_MPRIS_ROOT))

Definition at line 62 of file unity-sound-menu-mpris.c.

#define UNITY_IS_MPRIS_ROOT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_MPRIS_ROOT))

Definition at line 63 of file unity-sound-menu-mpris.c.

#define UNITY_IS_PROPERTY_UPDATE_MANAGER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_PROPERTY_UPDATE_MANAGER))

Definition at line 92 of file unity-sound-menu-mpris.c.

#define UNITY_IS_PROPERTY_UPDATE_MANAGER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_PROPERTY_UPDATE_MANAGER))

Definition at line 93 of file unity-sound-menu-mpris.c.

#define UNITY_IS_SOUND_SERVICE_INTERFACE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SOUND_SERVICE_INTERFACE))

Definition at line 126 of file unity-sound-menu-mpris.c.

#define UNITY_IS_SPECIFIC_ITEM_MANAGER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SPECIFIC_ITEM_MANAGER))

Definition at line 112 of file unity-sound-menu-mpris.c.

#define UNITY_IS_SPECIFIC_ITEM_MANAGER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_SPECIFIC_ITEM_MANAGER))

Definition at line 113 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_GATEWAY (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGateway))

Definition at line 49 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_GATEWAY_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGatewayClass))

Definition at line 50 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_GATEWAY_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGatewayClass))

Definition at line 53 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_GATEWAY_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGatewayPrivate))
#define UNITY_MPRIS_INTERFACE_PLAYER   "org.mpris.MediaPlayer2.Player"

Definition at line 385 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_INTERFACE_PLAYLISTS   "org.mpris.MediaPlayer2.Playlists"

Definition at line 386 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_INTERFACE_PREFIX   "org.mpris.MediaPlayer2."

Definition at line 384 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_INTERFACE_ROOT   "org.mpris.MediaPlayer2"

Definition at line 383 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_INTERFACE_ROOT_PATH   "/org/mpris/MediaPlayer2"

Definition at line 382 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_PLAYER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_MPRIS_PLAYER, UnityMprisPlayer))

Definition at line 70 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_PLAYER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_MPRIS_PLAYER, UnityMprisPlayerClass))

Definition at line 71 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_PLAYER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_MPRIS_PLAYER, UnityMprisPlayerClass))

Definition at line 74 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_PLAYER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MPRIS_PLAYER, UnityMprisPlayerPrivate))

Definition at line 546 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_PLAYLISTS (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_MPRIS_PLAYLISTS, UnityMprisPlaylists))

Definition at line 80 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_PLAYLISTS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_MPRIS_PLAYLISTS, UnityMprisPlaylistsClass))

Definition at line 81 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_PLAYLISTS_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_MPRIS_PLAYLISTS, UnityMprisPlaylistsClass))

Definition at line 84 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_PLAYLISTS_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MPRIS_PLAYLISTS, UnityMprisPlaylistsPrivate))

Definition at line 620 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_ROOT (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_MPRIS_ROOT, UnityMprisRoot))

Definition at line 60 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_ROOT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_MPRIS_ROOT, UnityMprisRootClass))

Definition at line 61 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_ROOT_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_MPRIS_ROOT, UnityMprisRootClass))

Definition at line 64 of file unity-sound-menu-mpris.c.

#define UNITY_MPRIS_ROOT_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_MPRIS_ROOT, UnityMprisRootPrivate))

Definition at line 510 of file unity-sound-menu-mpris.c.

#define UNITY_PROPERTY_UPDATE_MANAGER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_PROPERTY_UPDATE_MANAGER, UnityPropertyUpdateManager))

Definition at line 90 of file unity-sound-menu-mpris.c.

#define UNITY_PROPERTY_UPDATE_MANAGER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_PROPERTY_UPDATE_MANAGER, UnityPropertyUpdateManagerClass))

Definition at line 91 of file unity-sound-menu-mpris.c.

#define UNITY_PROPERTY_UPDATE_MANAGER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_PROPERTY_UPDATE_MANAGER, UnityPropertyUpdateManagerClass))

Definition at line 94 of file unity-sound-menu-mpris.c.

#define UNITY_PROPERTY_UPDATE_MANAGER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_PROPERTY_UPDATE_MANAGER, UnityPropertyUpdateManagerPrivate))

Definition at line 459 of file unity-sound-menu-mpris.c.

#define UNITY_SOUND_SERVICE_INTERFACE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SOUND_SERVICE_INTERFACE, UnitySoundServiceInterface))

Definition at line 125 of file unity-sound-menu-mpris.c.

#define UNITY_SOUND_SERVICE_INTERFACE_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_TYPE_SOUND_SERVICE_INTERFACE, UnitySoundServiceInterfaceIface))

Definition at line 127 of file unity-sound-menu-mpris.c.

#define UNITY_SPECIFIC_ITEM_MANAGER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SPECIFIC_ITEM_MANAGER, UnitySpecificItemManager))

Definition at line 110 of file unity-sound-menu-mpris.c.

#define UNITY_SPECIFIC_ITEM_MANAGER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_SPECIFIC_ITEM_MANAGER, UnitySpecificItemManagerClass))

Definition at line 111 of file unity-sound-menu-mpris.c.

#define UNITY_SPECIFIC_ITEM_MANAGER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_SPECIFIC_ITEM_MANAGER, UnitySpecificItemManagerClass))

Definition at line 114 of file unity-sound-menu-mpris.c.

#define UNITY_SPECIFIC_ITEM_MANAGER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SPECIFIC_ITEM_MANAGER, UnitySpecificItemManagerPrivate))

Definition at line 99 of file unity-sound-menu-mpris.c.

Definition at line 48 of file unity-sound-menu-mpris.c.

Definition at line 69 of file unity-sound-menu-mpris.c.

Definition at line 79 of file unity-sound-menu-mpris.c.

Definition at line 59 of file unity-sound-menu-mpris.c.

Definition at line 89 of file unity-sound-menu-mpris.c.

Definition at line 124 of file unity-sound-menu-mpris.c.

Definition at line 132 of file unity-sound-menu-mpris.c.

Definition at line 109 of file unity-sound-menu-mpris.c.


Typedef Documentation

typedef struct _Block10Data

Definition at line 119 of file unity-sound-menu-mpris.c.

typedef struct _Block11Data

Definition at line 135 of file unity-sound-menu-mpris.c.

typedef struct _UnityBlacklistManager

Definition at line 106 of file unity-sound-menu-mpris.c.

Definition at line 107 of file unity-sound-menu-mpris.c.

Definition at line 140 of file unity-sound-menu-mpris.c.

typedef struct _UnityMPRISGateway

Definition at line 55 of file unity-sound-menu-mpris.c.

typedef struct _UnityMPRISGatewayClass

Definition at line 56 of file unity-sound-menu-mpris.c.

typedef struct _UnityMPRISGatewayPrivate

Definition at line 57 of file unity-sound-menu-mpris.c.

typedef struct _UnityMprisPlayer

Definition at line 76 of file unity-sound-menu-mpris.c.

typedef struct _UnityMprisPlayerClass

Definition at line 77 of file unity-sound-menu-mpris.c.

typedef struct _UnityMprisPlayerNextData

Definition at line 147 of file unity-sound-menu-mpris.c.

Definition at line 146 of file unity-sound-menu-mpris.c.

Definition at line 148 of file unity-sound-menu-mpris.c.

typedef struct _UnityMprisPlayerPrivate

Definition at line 145 of file unity-sound-menu-mpris.c.

typedef struct _UnityMprisPlaylists

Definition at line 86 of file unity-sound-menu-mpris.c.

Definition at line 150 of file unity-sound-menu-mpris.c.

typedef struct _UnityMprisPlaylistsClass

Definition at line 87 of file unity-sound-menu-mpris.c.

Definition at line 151 of file unity-sound-menu-mpris.c.

Definition at line 149 of file unity-sound-menu-mpris.c.

typedef struct _UnityMprisRoot

Definition at line 66 of file unity-sound-menu-mpris.c.

typedef struct _UnityMprisRootClass

Definition at line 67 of file unity-sound-menu-mpris.c.

typedef struct _UnityMprisRootPrivate

Definition at line 143 of file unity-sound-menu-mpris.c.

typedef struct _UnityMprisRootRaiseData

Definition at line 144 of file unity-sound-menu-mpris.c.

Definition at line 96 of file unity-sound-menu-mpris.c.

Definition at line 97 of file unity-sound-menu-mpris.c.

Definition at line 133 of file unity-sound-menu-mpris.c.

Definition at line 129 of file unity-sound-menu-mpris.c.

Definition at line 130 of file unity-sound-menu-mpris.c.

typedef struct _UnitySpecificItemManager

Definition at line 116 of file unity-sound-menu-mpris.c.

Definition at line 117 of file unity-sound-menu-mpris.c.

Definition at line 122 of file unity-sound-menu-mpris.c.

typedef GDBusProxy UnitySoundServiceInterfaceProxy

Definition at line 141 of file unity-sound-menu-mpris.c.

typedef GDBusProxyClass UnitySoundServiceInterfaceProxyClass

Definition at line 142 of file unity-sound-menu-mpris.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
UNITY_PROPERTY_UPDATE_MANAGER_DUMMY_PROPERTY 
UNITY_PROPERTY_UPDATE_MANAGER_CONNECTION 

Definition at line 460 of file unity-sound-menu-mpris.c.

anonymous enum
Enumerator:
UNITY_BLACKLIST_MANAGER_DUMMY_PROPERTY 

Definition at line 481 of file unity-sound-menu-mpris.c.

anonymous enum
Enumerator:
UNITY_MPRIS_ROOT_DUMMY_PROPERTY 
UNITY_MPRIS_ROOT_HAS_TRACKLIST 
UNITY_MPRIS_ROOT_CAN_QUIT 
UNITY_MPRIS_ROOT_CAN_RAISE 
UNITY_MPRIS_ROOT_IDENTITY 
UNITY_MPRIS_ROOT_DESKTOP_ENTRY 

Definition at line 511 of file unity-sound-menu-mpris.c.

anonymous enum
Enumerator:
UNITY_MPRIS_PLAYER_DUMMY_PROPERTY 
UNITY_MPRIS_PLAYER_METADATA 
UNITY_MPRIS_PLAYER_PLAYBACK_STATUS 
UNITY_MPRIS_PLAYER_CAN_CONTROL 
UNITY_MPRIS_PLAYER_CAN_GO_NEXT 
UNITY_MPRIS_PLAYER_CAN_GO_PREVIOUS 
UNITY_MPRIS_PLAYER_CAN_PLAY 
UNITY_MPRIS_PLAYER_CAN_PAUSE 

Definition at line 547 of file unity-sound-menu-mpris.c.

anonymous enum
Enumerator:
UNITY_MPRIS_PLAYLISTS_DUMMY_PROPERTY 
UNITY_MPRIS_PLAYLISTS_ORDERINGS 
UNITY_MPRIS_PLAYLISTS_PLAYLIST_COUNT 
UNITY_MPRIS_PLAYLISTS_ACTIVE_PLAYLIST 

Definition at line 621 of file unity-sound-menu-mpris.c.


Function Documentation

static gboolean ____lambda19__gsource_func ( gpointer  self) [static]

Definition at line 1688 of file unity-sound-menu-mpris.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda19_ ( Block11Data *  _data11_) [static]

Definition at line 1675 of file unity-sound-menu-mpris.c.

                                                     {
       UnityPropertyUpdateManager * self;
       gboolean result = FALSE;
       const gchar* _tmp0_;
       gboolean _tmp1_ = FALSE;
       self = _data11_->self;
       _tmp0_ = _data11_->interface_name;
       _tmp1_ = unity_property_update_manager_dispatch_property_update (self, _tmp0_);
       result = _tmp1_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda20__g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 2854 of file unity-sound-menu-mpris.c.

                                                                                              {
       __lambda20_ (self, _sender, pspec);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda21__g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 3274 of file unity-sound-menu-mpris.c.

                                                                                              {
       __lambda21_ (self, _sender, pspec);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda22__g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 3301 of file unity-sound-menu-mpris.c.

                                                                                              {
       __lambda22_ (self, _sender, pspec);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda23__g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 3328 of file unity-sound-menu-mpris.c.

                                                                                              {
       __lambda23_ (self, _sender, pspec);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda24__g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 3355 of file unity-sound-menu-mpris.c.

                                                                                              {
       __lambda24_ (self, _sender, pspec);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda25__g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 3382 of file unity-sound-menu-mpris.c.

                                                                                              {
       __lambda25_ (self, _sender, pspec);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda26__gbus_name_acquired_callback ( GDBusConnection *  connection,
const gchar *  name,
gpointer  self 
) [static]

Definition at line 781 of file unity-sound-menu-mpris.c.

                                                                                                                     {
       __lambda26_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda20_ ( UnityMprisRoot *  self,
GObject *  obj,
GParamSpec *  pspec 
) [static]

Definition at line 2837 of file unity-sound-menu-mpris.c.

                                                                                {
       UnityPropertyUpdateManager* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       const gchar* _tmp2_;
       const gchar* _tmp3_;
       GVariant* _tmp4_;
       g_return_if_fail (obj != NULL);
       g_return_if_fail (pspec != NULL);
       _tmp0_ = self->priv->prop_mgr;
       _tmp1_ = self->priv->consumer;
       _tmp2_ = unity_music_player_get_title (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _variant_new26 (_tmp3_);
       unity_property_update_manager_queue_property_update (_tmp0_, "Identity", _tmp4_, UNITY_MPRIS_INTERFACE_ROOT);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda21_ ( UnityMprisPlayer *  self,
GObject *  obj,
GParamSpec *  pspec 
) [static]

Definition at line 3244 of file unity-sound-menu-mpris.c.

                                                                                  {
       const gchar* _tmp0_ = NULL;
       UnityMusicPlayer* _tmp1_;
       UnityPlaybackState _tmp2_;
       UnityPlaybackState _tmp3_;
       const gchar* _tmp4_;
       gchar* _tmp5_;
       gchar* update;
       UnityPropertyUpdateManager* _tmp6_;
       GVariant* _tmp7_;
       g_return_if_fail (obj != NULL);
       g_return_if_fail (pspec != NULL);
       _tmp1_ = self->priv->consumer;
       _tmp2_ = unity_music_player_get_playback_state (_tmp1_);
       _tmp3_ = _tmp2_;
       if (_tmp3_ == UNITY_PLAYBACK_STATE_PAUSED) {
              _tmp0_ = "Paused";
       } else {
              _tmp0_ = "Playing";
       }
       _tmp4_ = _tmp0_;
       _tmp5_ = g_strdup (_tmp4_);
       update = _tmp5_;
       _tmp6_ = self->priv->prop_mgr;
       _tmp7_ = _variant_new27 (update);
       unity_property_update_manager_queue_property_update (_tmp6_, "PlaybackStatus", _tmp7_, UNITY_MPRIS_INTERFACE_PLAYER);
       _g_free0 (update);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda22_ ( UnityMprisPlayer *  self,
GObject *  obj,
GParamSpec *  pspec 
) [static]

Definition at line 3284 of file unity-sound-menu-mpris.c.

                                                                                  {
       UnityPropertyUpdateManager* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       gboolean _tmp2_;
       gboolean _tmp3_;
       GVariant* _tmp4_;
       g_return_if_fail (obj != NULL);
       g_return_if_fail (pspec != NULL);
       _tmp0_ = self->priv->prop_mgr;
       _tmp1_ = self->priv->consumer;
       _tmp2_ = unity_music_player_get_can_go_next (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _variant_new28 (_tmp3_);
       unity_property_update_manager_queue_property_update (_tmp0_, "CanGoNext", _tmp4_, UNITY_MPRIS_INTERFACE_PLAYER);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda23_ ( UnityMprisPlayer *  self,
GObject *  obj,
GParamSpec *  pspec 
) [static]

Definition at line 3311 of file unity-sound-menu-mpris.c.

                                                                                  {
       UnityPropertyUpdateManager* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       gboolean _tmp2_;
       gboolean _tmp3_;
       GVariant* _tmp4_;
       g_return_if_fail (obj != NULL);
       g_return_if_fail (pspec != NULL);
       _tmp0_ = self->priv->prop_mgr;
       _tmp1_ = self->priv->consumer;
       _tmp2_ = unity_music_player_get_can_go_previous (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _variant_new29 (_tmp3_);
       unity_property_update_manager_queue_property_update (_tmp0_, "CanGoPrevious", _tmp4_, UNITY_MPRIS_INTERFACE_PLAYER);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda24_ ( UnityMprisPlayer *  self,
GObject *  obj,
GParamSpec *  pspec 
) [static]

Definition at line 3338 of file unity-sound-menu-mpris.c.

                                                                                  {
       UnityPropertyUpdateManager* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       gboolean _tmp2_;
       gboolean _tmp3_;
       GVariant* _tmp4_;
       g_return_if_fail (obj != NULL);
       g_return_if_fail (pspec != NULL);
       _tmp0_ = self->priv->prop_mgr;
       _tmp1_ = self->priv->consumer;
       _tmp2_ = unity_music_player_get_can_play (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _variant_new30 (_tmp3_);
       unity_property_update_manager_queue_property_update (_tmp0_, "CanPlay", _tmp4_, UNITY_MPRIS_INTERFACE_PLAYER);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda25_ ( UnityMprisPlayer *  self,
GObject *  obj,
GParamSpec *  pspec 
) [static]

Definition at line 3365 of file unity-sound-menu-mpris.c.

                                                                                  {
       UnityPropertyUpdateManager* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       gboolean _tmp2_;
       gboolean _tmp3_;
       GVariant* _tmp4_;
       g_return_if_fail (obj != NULL);
       g_return_if_fail (pspec != NULL);
       _tmp0_ = self->priv->prop_mgr;
       _tmp1_ = self->priv->consumer;
       _tmp2_ = unity_music_player_get_can_pause (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _variant_new31 (_tmp3_);
       unity_property_update_manager_queue_property_update (_tmp0_, "CanPause", _tmp4_, UNITY_MPRIS_INTERFACE_PLAYER);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda26_ ( Block10Data *  _data10_) [static]

Definition at line 772 of file unity-sound-menu-mpris.c.

                                                {
       UnityMPRISGateway * self;
       const gchar* _tmp0_;
       self = _data10_->self;
       _tmp0_ = _data10_->dbus_name;
       unity_trace_log ("Owning name %s", _tmp0_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_player_get_can_control ( UnityMprisPlayer *  self) [static]

Definition at line 4090 of file unity-sound-menu-mpris.c.

                                                                                   {
       gboolean result;
       GVariant* _reply;
       result = unity_mpris_player_get_can_control (self);
       _reply = g_variant_new_boolean (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_player_get_can_go_next ( UnityMprisPlayer *  self) [static]

Definition at line 4099 of file unity-sound-menu-mpris.c.

                                                                                   {
       gboolean result;
       GVariant* _reply;
       result = unity_mpris_player_get_can_go_next (self);
       _reply = g_variant_new_boolean (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_player_get_can_go_previous ( UnityMprisPlayer *  self) [static]

Definition at line 4108 of file unity-sound-menu-mpris.c.

                                                                                       {
       gboolean result;
       GVariant* _reply;
       result = unity_mpris_player_get_can_go_previous (self);
       _reply = g_variant_new_boolean (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_player_get_can_pause ( UnityMprisPlayer *  self) [static]

Definition at line 4126 of file unity-sound-menu-mpris.c.

                                                                                 {
       gboolean result;
       GVariant* _reply;
       result = unity_mpris_player_get_can_pause (self);
       _reply = g_variant_new_boolean (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_player_get_can_play ( UnityMprisPlayer *  self) [static]

Definition at line 4117 of file unity-sound-menu-mpris.c.

                                                                                {
       gboolean result;
       GVariant* _reply;
       result = unity_mpris_player_get_can_play (self);
       _reply = g_variant_new_boolean (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_player_get_metadata ( UnityMprisPlayer *  self) [static]

Definition at line 4059 of file unity-sound-menu-mpris.c.

                                                                                {
       GHashTable* result;
       GVariantBuilder _tmp12_;
       GHashTableIter _tmp13_;
       gpointer _tmp14_;
       gpointer _tmp15_;
       GVariant* _reply;
       result = unity_mpris_player_get_metadata (self);
       g_hash_table_iter_init (&_tmp13_, result);
       g_variant_builder_init (&_tmp12_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp13_, &_tmp14_, &_tmp15_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp14_;
              _value = (GVariant*) _tmp15_;
              g_variant_builder_add (&_tmp12_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       _reply = g_variant_builder_end (&_tmp12_);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_player_get_playback_status ( UnityMprisPlayer *  self) [static]

Definition at line 4081 of file unity-sound-menu-mpris.c.

                                                                                       {
       const gchar* result;
       GVariant* _reply;
       result = unity_mpris_player_get_playback_status (self);
       _reply = g_variant_new_string (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_player_next ( UnityMprisPlayer *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 3984 of file unity-sound-menu-mpris.c.

                                                                                                                            {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       unity_mpris_player_next (self, (GAsyncReadyCallback) _dbus_unity_mpris_player_next_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_player_next_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 3991 of file unity-sound-menu-mpris.c.

                                                                                                                      {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       unity_mpris_player_next_finish ((UnityMprisPlayer*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_player_play_pause ( UnityMprisPlayer *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 3955 of file unity-sound-menu-mpris.c.

                                                                                                                                  {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       unity_mpris_player_play_pause (self, (GAsyncReadyCallback) _dbus_unity_mpris_player_play_pause_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_player_play_pause_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 3962 of file unity-sound-menu-mpris.c.

                                                                                                                            {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       unity_mpris_player_play_pause_finish ((UnityMprisPlayer*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_player_previous ( UnityMprisPlayer *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 4013 of file unity-sound-menu-mpris.c.

                                                                                                                                {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       unity_mpris_player_previous (self, (GAsyncReadyCallback) _dbus_unity_mpris_player_previous_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_player_previous_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 4020 of file unity-sound-menu-mpris.c.

                                                                                                                          {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       unity_mpris_player_previous_finish ((UnityMprisPlayer*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_playlists_activate_playlist ( UnityMprisPlaylists *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 4845 of file unity-sound-menu-mpris.c.

                                                                                                                                               {
       GVariantIter _arguments_iter;
       char* playlist_id = NULL;
       GVariant* _tmp16_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp16_ = g_variant_iter_next_value (&_arguments_iter);
       playlist_id = g_variant_dup_string (_tmp16_, NULL);
       g_variant_unref (_tmp16_);
       unity_mpris_playlists_activate_playlist (self, playlist_id, (GAsyncReadyCallback) _dbus_unity_mpris_playlists_activate_playlist_ready, invocation);
       _g_free0 (playlist_id);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_playlists_activate_playlist_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 4858 of file unity-sound-menu-mpris.c.

                                                                                                                                      {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       unity_mpris_playlists_activate_playlist_finish ((UnityMprisPlaylists*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_playlists_get_active_playlist ( UnityMprisPlaylists *  self) [static]

Definition at line 4992 of file unity-sound-menu-mpris.c.

                                                                                             {
       UnityActivePlaylistContainer result = {0};
       GVariantBuilder _tmp28_;
       GVariantBuilder _tmp29_;
       GVariant* _reply;
       unity_mpris_playlists_get_active_playlist (self, &result);
       g_variant_builder_init (&_tmp28_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp28_, g_variant_new_boolean (result.valid));
       g_variant_builder_init (&_tmp29_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp29_, g_variant_new_object_path (result.details.id));
       g_variant_builder_add_value (&_tmp29_, g_variant_new_string (result.details.name));
       g_variant_builder_add_value (&_tmp29_, g_variant_new_string (result.details.icon_name));
       g_variant_builder_add_value (&_tmp28_, g_variant_builder_end (&_tmp29_));
       _reply = g_variant_builder_end (&_tmp28_);
       unity_active_playlist_container_destroy (&result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_playlists_get_orderings ( UnityMprisPlaylists *  self) [static]

Definition at line 4963 of file unity-sound-menu-mpris.c.

                                                                                       {
       gchar** result;
       int result_length1;
       gchar** _tmp25_;
       GVariantBuilder _tmp26_;
       int _tmp27_;
       GVariant* _reply;
       result = unity_mpris_playlists_get_orderings (self, &result_length1);
       _tmp25_ = result;
       g_variant_builder_init (&_tmp26_, G_VARIANT_TYPE ("as"));
       for (_tmp27_ = 0; _tmp27_ < result_length1; _tmp27_++) {
              g_variant_builder_add_value (&_tmp26_, g_variant_new_string (*_tmp25_));
              _tmp25_++;
       }
       _reply = g_variant_builder_end (&_tmp26_);
       result = (_vala_array_free (result, result_length1, (GDestroyNotify) g_free), NULL);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_playlists_get_playlist_count ( UnityMprisPlaylists *  self) [static]

Definition at line 4983 of file unity-sound-menu-mpris.c.

                                                                                            {
       guint32 result;
       GVariant* _reply;
       result = unity_mpris_playlists_get_playlist_count (self);
       _reply = g_variant_new_uint32 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_playlists_get_playlists ( UnityMprisPlaylists *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 4880 of file unity-sound-menu-mpris.c.

                                                                                                                                           {
       GVariantIter _arguments_iter;
       guint32 index = 0U;
       GVariant* _tmp17_;
       guint32 max_count = 0U;
       GVariant* _tmp18_;
       gchar* order = NULL;
       GVariant* _tmp19_;
       gboolean reverse_order = FALSE;
       GVariant* _tmp20_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp17_ = g_variant_iter_next_value (&_arguments_iter);
       index = g_variant_get_uint32 (_tmp17_);
       g_variant_unref (_tmp17_);
       _tmp18_ = g_variant_iter_next_value (&_arguments_iter);
       max_count = g_variant_get_uint32 (_tmp18_);
       g_variant_unref (_tmp18_);
       _tmp19_ = g_variant_iter_next_value (&_arguments_iter);
       order = g_variant_dup_string (_tmp19_, NULL);
       g_variant_unref (_tmp19_);
       _tmp20_ = g_variant_iter_next_value (&_arguments_iter);
       reverse_order = g_variant_get_boolean (_tmp20_);
       g_variant_unref (_tmp20_);
       unity_mpris_playlists_get_playlists (self, index, max_count, order, reverse_order, (GAsyncReadyCallback) _dbus_unity_mpris_playlists_get_playlists_ready, invocation);
       _g_free0 (order);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_playlists_get_playlists_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 4908 of file unity-sound-menu-mpris.c.

                                                                                                                                  {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       UnityPlaylistDetails* result;
       int result_length1 = 0;
       UnityPlaylistDetails* _tmp21_;
       GVariantBuilder _tmp22_;
       int _tmp23_;
       invocation = _user_data_;
       result = unity_mpris_playlists_get_playlists_finish ((UnityMprisPlaylists*) source_object, _res_, &result_length1, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _tmp21_ = result;
       g_variant_builder_init (&_tmp22_, G_VARIANT_TYPE ("a(oss)"));
       for (_tmp23_ = 0; _tmp23_ < result_length1; _tmp23_++) {
              GVariantBuilder _tmp24_;
              g_variant_builder_init (&_tmp24_, G_VARIANT_TYPE_TUPLE);
              g_variant_builder_add_value (&_tmp24_, g_variant_new_object_path ((*_tmp21_).id));
              g_variant_builder_add_value (&_tmp24_, g_variant_new_string ((*_tmp21_).name));
              g_variant_builder_add_value (&_tmp24_, g_variant_new_string ((*_tmp21_).icon_name));
              g_variant_builder_add_value (&_tmp22_, g_variant_builder_end (&_tmp24_));
              _tmp21_++;
       }
       g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp22_));
       result = (_vala_UnityPlaylistDetails_array_free (result, result_length1), NULL);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_root_get_can_quit ( UnityMprisRoot *  self) [static]

Definition at line 3117 of file unity-sound-menu-mpris.c.

                                                                            {
       gboolean result;
       GVariant* _reply;
       result = unity_mpris_root_get_can_quit (self);
       _reply = g_variant_new_boolean (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_root_get_can_raise ( UnityMprisRoot *  self) [static]

Definition at line 3126 of file unity-sound-menu-mpris.c.

                                                                             {
       gboolean result;
       GVariant* _reply;
       result = unity_mpris_root_get_can_raise (self);
       _reply = g_variant_new_boolean (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_root_get_desktop_entry ( UnityMprisRoot *  self) [static]

Definition at line 3144 of file unity-sound-menu-mpris.c.

                                                                                 {
       const gchar* result;
       GVariant* _reply;
       result = unity_mpris_root_get_desktop_entry (self);
       _reply = g_variant_new_string (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_root_get_has_tracklist ( UnityMprisRoot *  self) [static]

Definition at line 3108 of file unity-sound-menu-mpris.c.

                                                                                 {
       gboolean result;
       GVariant* _reply;
       result = unity_mpris_root_get_has_tracklist (self);
       _reply = g_variant_new_boolean (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant * _dbus_unity_mpris_root_get_identity ( UnityMprisRoot *  self) [static]

Definition at line 3135 of file unity-sound-menu-mpris.c.

                                                                            {
       const gchar* result;
       GVariant* _reply;
       result = unity_mpris_root_get_identity (self);
       _reply = g_variant_new_string (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_root_raise ( UnityMprisRoot *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 3066 of file unity-sound-menu-mpris.c.

                                                                                                                         {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       unity_mpris_root_raise (self, (GAsyncReadyCallback) _dbus_unity_mpris_root_raise_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_mpris_root_raise_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 3073 of file unity-sound-menu-mpris.c.

                                                                                                                     {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       unity_mpris_root_raise_finish ((UnityMprisRoot*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_sound_service_interface_EnablePlayerSpecificItems ( UnitySoundServiceInterface *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2706 of file unity-sound-menu-mpris.c.

                                                                                                                                                                      {
       GVariantIter _arguments_iter;
       char* object_path = NULL;
       GVariant* _tmp10_;
       gchar* desktop_id = NULL;
       GVariant* _tmp11_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp10_ = g_variant_iter_next_value (&_arguments_iter);
       object_path = g_variant_dup_string (_tmp10_, NULL);
       g_variant_unref (_tmp10_);
       _tmp11_ = g_variant_iter_next_value (&_arguments_iter);
       desktop_id = g_variant_dup_string (_tmp11_, NULL);
       g_variant_unref (_tmp11_);
       unity_sound_service_interface_EnablePlayerSpecificItems (self, object_path, desktop_id, (GAsyncReadyCallback) _dbus_unity_sound_service_interface_EnablePlayerSpecificItems_ready, invocation);
       _g_free0 (object_path);
       _g_free0 (desktop_id);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_sound_service_interface_EnablePlayerSpecificItems_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 2725 of file unity-sound-menu-mpris.c.

                                                                                                                                                      {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       unity_sound_service_interface_EnablePlayerSpecificItems_finish ((UnitySoundServiceInterface*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_sound_service_interface_EnableTrackSpecificItems ( UnitySoundServiceInterface *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2665 of file unity-sound-menu-mpris.c.

                                                                                                                                                                     {
       GVariantIter _arguments_iter;
       char* object_path = NULL;
       GVariant* _tmp8_;
       gchar* desktop_id = NULL;
       GVariant* _tmp9_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp8_ = g_variant_iter_next_value (&_arguments_iter);
       object_path = g_variant_dup_string (_tmp8_, NULL);
       g_variant_unref (_tmp8_);
       _tmp9_ = g_variant_iter_next_value (&_arguments_iter);
       desktop_id = g_variant_dup_string (_tmp9_, NULL);
       g_variant_unref (_tmp9_);
       unity_sound_service_interface_EnableTrackSpecificItems (self, object_path, desktop_id, (GAsyncReadyCallback) _dbus_unity_sound_service_interface_EnableTrackSpecificItems_ready, invocation);
       _g_free0 (object_path);
       _g_free0 (desktop_id);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_unity_sound_service_interface_EnableTrackSpecificItems_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 2684 of file unity-sound-menu-mpris.c.

                                                                                                                                                     {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       unity_sound_service_interface_EnableTrackSpecificItems_finish ((UnitySoundServiceInterface*) source_object, _res_, &error);
       if (error) {
              g_dbus_method_invocation_return_gerror (invocation, error);
              return;
       }
       _reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
       g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
       _reply = g_variant_builder_end (&_reply_builder);
       g_dbus_message_set_body (_reply_message, _reply);
       g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
       g_object_unref (invocation);
       g_object_unref (_reply_message);
}

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 1970 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

static gpointer _g_hash_table_ref0 ( gpointer  self) [static]

Definition at line 1665 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

static void _g_hash_table_unref0_ ( gpointer  var) [static]

Definition at line 1975 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

static gpointer _g_object_ref0 ( gpointer  self) [static]

Definition at line 1094 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

static gpointer _g_variant_ref0 ( gpointer  self) [static]

Definition at line 1670 of file unity-sound-menu-mpris.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 1980 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

static void _unity_blacklist_manager_consumer_blacklist_change_g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 2155 of file unity-sound-menu-mpris.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_blacklist_manager_on_blacklist_event_g_settings_changed ( GSettings *  _sender,
const gchar *  key,
gpointer  self 
) [static]

Definition at line 2150 of file unity-sound-menu-mpris.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_mpris_gateway_on_name_lost_gbus_name_lost_callback ( GDBusConnection *  connection,
const gchar *  name,
gpointer  self 
) [static]

Definition at line 786 of file unity-sound-menu-mpris.c.

                                                                                                                                      {
       unity_mpris_gateway_on_name_lost (self, connection, name);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_mpris_player_on_metadata_update_g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 3234 of file unity-sound-menu-mpris.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_mpris_player_unregister_object ( gpointer  user_data) [static]

Definition at line 4183 of file unity-sound-menu-mpris.c.

                                                                       {
       gpointer* data;
       data = user_data;
       g_object_unref (data[0]);
       g_object_unref (data[1]);
       g_free (data[2]);
       g_free (data);
}

Here is the caller graph for this function:

static void _unity_mpris_playlists_on_current_playlist_update_g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 4324 of file unity-sound-menu-mpris.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_mpris_playlists_on_playlist_count_change_g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 4334 of file unity-sound-menu-mpris.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_mpris_playlists_on_playlist_name_change_g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 4329 of file unity-sound-menu-mpris.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_mpris_playlists_unregister_object ( gpointer  user_data) [static]

Definition at line 5051 of file unity-sound-menu-mpris.c.

                                                                          {
       gpointer* data;
       data = user_data;
       g_object_unref (data[0]);
       g_object_unref (data[1]);
       g_free (data[2]);
       g_free (data);
}

Here is the caller graph for this function:

static void _unity_mpris_root_unregister_object ( gpointer  user_data) [static]

Definition at line 3197 of file unity-sound-menu-mpris.c.

                                                                     {
       gpointer* data;
       data = user_data;
       g_object_unref (data[0]);
       g_object_unref (data[1]);
       g_free (data[2]);
       g_free (data);
}

Here is the caller graph for this function:

static void _unity_sound_service_interface_unregister_object ( gpointer  user_data) [static]

Definition at line 2795 of file unity-sound-menu-mpris.c.

                                                                                  {
       gpointer* data;
       data = user_data;
       g_object_unref (data[0]);
       g_object_unref (data[1]);
       g_free (data[2]);
       g_free (data);
}

Here is the caller graph for this function:

static void _unity_specific_item_manager_on_player_specific_change_g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 1457 of file unity-sound-menu-mpris.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_specific_item_manager_on_track_specific_change_g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 1452 of file unity-sound-menu-mpris.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_array_add3 ( UnityPlaylistDetails **  array,
int *  length,
int *  size,
const UnityPlaylistDetails *  value 
) [static]

Definition at line 4603 of file unity-sound-menu-mpris.c.

                                                                                                                       {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (UnityPlaylistDetails, *array, *size);
       }
       (*array)[(*length)++] = *value;
}

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 5061 of file unity-sound-menu-mpris.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 5073 of file unity-sound-menu-mpris.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 5079 of file unity-sound-menu-mpris.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_g_async_ready_callback ( GObject *  source_object,
GAsyncResult *  res,
void *  user_data 
) [static]

Definition at line 2590 of file unity-sound-menu-mpris.c.

                                                                                                      {
       g_simple_async_result_set_op_res_gpointer (user_data, g_object_ref (res), g_object_unref);
       g_simple_async_result_complete (user_data);
       g_object_unref (user_data);
}

Here is the caller graph for this function:

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

Definition at line 1225 of file unity-sound-menu-mpris.c.

                                                                                                                             {
       UnityMPRISGateway * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGateway);
       switch (property_id) {
              case UNITY_MPRIS_GATEWAY_CONSUMER:
              g_value_set_object (value, unity_mpris_gateway_get_consumer (self));
              break;
              case UNITY_MPRIS_GATEWAY_EDITED_PLAYLIST:
              g_value_set_object (value, unity_mpris_gateway_get_edited_playlist (self));
              break;
              case UNITY_MPRIS_GATEWAY_PLAYLIST_COUNT:
              g_value_set_int (value, unity_mpris_gateway_get_playlist_count (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_mpris_gateway_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1245 of file unity-sound-menu-mpris.c.

                                                                                                                                   {
       UnityMPRISGateway * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGateway);
       switch (property_id) {
              case UNITY_MPRIS_GATEWAY_CONSUMER:
              unity_mpris_gateway_set_consumer (self, g_value_get_object (value));
              break;
              case UNITY_MPRIS_GATEWAY_EDITED_PLAYLIST:
              unity_mpris_gateway_set_edited_playlist (self, g_value_get_object (value));
              break;
              case UNITY_MPRIS_GATEWAY_PLAYLIST_COUNT:
              unity_mpris_gateway_set_playlist_count (self, g_value_get_int (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_mpris_player_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 3923 of file unity-sound-menu-mpris.c.

                                                                                                                            {
       UnityMprisPlayer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_MPRIS_PLAYER, UnityMprisPlayer);
       switch (property_id) {
              case UNITY_MPRIS_PLAYER_METADATA:
              g_value_set_boxed (value, unity_mpris_player_get_metadata (self));
              break;
              case UNITY_MPRIS_PLAYER_PLAYBACK_STATUS:
              g_value_set_string (value, unity_mpris_player_get_playback_status (self));
              break;
              case UNITY_MPRIS_PLAYER_CAN_CONTROL:
              g_value_set_boolean (value, unity_mpris_player_get_can_control (self));
              break;
              case UNITY_MPRIS_PLAYER_CAN_GO_NEXT:
              g_value_set_boolean (value, unity_mpris_player_get_can_go_next (self));
              break;
              case UNITY_MPRIS_PLAYER_CAN_GO_PREVIOUS:
              g_value_set_boolean (value, unity_mpris_player_get_can_go_previous (self));
              break;
              case UNITY_MPRIS_PLAYER_CAN_PLAY:
              g_value_set_boolean (value, unity_mpris_player_get_can_play (self));
              break;
              case UNITY_MPRIS_PLAYER_CAN_PAUSE:
              g_value_set_boolean (value, unity_mpris_player_get_can_pause (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_mpris_playlists_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 4817 of file unity-sound-menu-mpris.c.

                                                                                                                               {
       UnityMprisPlaylists * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_MPRIS_PLAYLISTS, UnityMprisPlaylists);
       switch (property_id) {
              case UNITY_MPRIS_PLAYLISTS_ORDERINGS:
              {
                     int length;
                     g_value_take_boxed (value, unity_mpris_playlists_get_orderings (self, &length));
              }
              break;
              case UNITY_MPRIS_PLAYLISTS_PLAYLIST_COUNT:
              g_value_set_uint (value, unity_mpris_playlists_get_playlist_count (self));
              break;
              case UNITY_MPRIS_PLAYLISTS_ACTIVE_PLAYLIST:
              {
                     UnityActivePlaylistContainer boxed;
                     unity_mpris_playlists_get_active_playlist (self, &boxed);
                     g_value_set_boxed (value, &boxed);
                     unity_active_playlist_container_destroy (&boxed);
              }
              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_mpris_root_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 3040 of file unity-sound-menu-mpris.c.

                                                                                                                          {
       UnityMprisRoot * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_MPRIS_ROOT, UnityMprisRoot);
       switch (property_id) {
              case UNITY_MPRIS_ROOT_HAS_TRACKLIST:
              g_value_set_boolean (value, unity_mpris_root_get_has_tracklist (self));
              break;
              case UNITY_MPRIS_ROOT_CAN_QUIT:
              g_value_set_boolean (value, unity_mpris_root_get_can_quit (self));
              break;
              case UNITY_MPRIS_ROOT_CAN_RAISE:
              g_value_set_boolean (value, unity_mpris_root_get_can_raise (self));
              break;
              case UNITY_MPRIS_ROOT_IDENTITY:
              g_value_set_string (value, unity_mpris_root_get_identity (self));
              break;
              case UNITY_MPRIS_ROOT_DESKTOP_ENTRY:
              g_value_set_string (value, unity_mpris_root_get_desktop_entry (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_property_update_manager_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 2102 of file unity-sound-menu-mpris.c.

                                                                                                                                       {
       UnityPropertyUpdateManager * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_PROPERTY_UPDATE_MANAGER, UnityPropertyUpdateManager);
       switch (property_id) {
              case UNITY_PROPERTY_UPDATE_MANAGER_CONNECTION:
              g_value_set_object (value, unity_property_update_manager_get_connection (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_property_update_manager_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 2116 of file unity-sound-menu-mpris.c.

                                                                                                                                             {
       UnityPropertyUpdateManager * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_PROPERTY_UPDATE_MANAGER, UnityPropertyUpdateManager);
       switch (property_id) {
              case UNITY_PROPERTY_UPDATE_MANAGER_CONNECTION:
              unity_property_update_manager_set_connection (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_specific_item_manager_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1603 of file unity-sound-menu-mpris.c.

                                                                                                                                     {
       UnitySpecificItemManager * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SPECIFIC_ITEM_MANAGER, UnitySpecificItemManager);
       switch (property_id) {
              case UNITY_SPECIFIC_ITEM_MANAGER_CONSUMER:
              g_value_set_object (value, unity_specific_item_manager_get_consumer (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_specific_item_manager_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1617 of file unity-sound-menu-mpris.c.

                                                                                                                                           {
       UnitySpecificItemManager * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SPECIFIC_ITEM_MANAGER, UnitySpecificItemManager);
       switch (property_id) {
              case UNITY_SPECIFIC_ITEM_MANAGER_CONSUMER:
              unity_specific_item_manager_set_consumer (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_UnityPlaylistDetails_array_free ( UnityPlaylistDetails *  array,
gint  array_length 
) [static]

Definition at line 4542 of file unity-sound-menu-mpris.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 2832 of file unity-sound-menu-mpris.c.

                                                     {
       return g_variant_ref_sink (g_variant_new_string (value));
}

Here is the caller graph for this function:

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

Definition at line 3239 of file unity-sound-menu-mpris.c.

                                                     {
       return g_variant_ref_sink (g_variant_new_string (value));
}

Here is the caller graph for this function:

static GVariant * _variant_new28 ( gboolean  value) [static]

Definition at line 3279 of file unity-sound-menu-mpris.c.

                                                 {
       return g_variant_ref_sink (g_variant_new_boolean (value));
}

Here is the caller graph for this function:

static GVariant * _variant_new29 ( gboolean  value) [static]

Definition at line 3306 of file unity-sound-menu-mpris.c.

                                                 {
       return g_variant_ref_sink (g_variant_new_boolean (value));
}

Here is the caller graph for this function:

static GVariant * _variant_new30 ( gboolean  value) [static]

Definition at line 3333 of file unity-sound-menu-mpris.c.

                                                 {
       return g_variant_ref_sink (g_variant_new_boolean (value));
}

Here is the caller graph for this function:

static GVariant * _variant_new31 ( gboolean  value) [static]

Definition at line 3360 of file unity-sound-menu-mpris.c.

                                                 {
       return g_variant_ref_sink (g_variant_new_boolean (value));
}

Here is the caller graph for this function:

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

Definition at line 3387 of file unity-sound-menu-mpris.c.

                                                     {
       return g_variant_ref_sink (g_variant_new_string (value));
}

Here is the caller graph for this function:

static GVariant * _variant_new33 ( gchar *  value) [static]

Definition at line 3447 of file unity-sound-menu-mpris.c.

                                               {
       return g_variant_ref_sink (g_variant_new_string (value));
}

Here is the caller graph for this function:

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

Definition at line 3452 of file unity-sound-menu-mpris.c.

                                                     {
       return g_variant_ref_sink (g_variant_new_string (value));
}

Here is the caller graph for this function:

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

Definition at line 3457 of file unity-sound-menu-mpris.c.

                                                     {
       return g_variant_ref_sink (g_variant_new_string (value));
}

Here is the caller graph for this function:

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

Definition at line 3462 of file unity-sound-menu-mpris.c.

                                                     {
       return g_variant_ref_sink (g_variant_new_string (value));
}

Here is the caller graph for this function:

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

Definition at line 3467 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

static GVariant * _variant_new38 ( UnityActivePlaylistContainer  value) [static]

Definition at line 4353 of file unity-sound-menu-mpris.c.

                                                                     {
       GVariantBuilder _tmp4_;
       GVariantBuilder _tmp5_;
       g_variant_builder_init (&_tmp4_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp4_, g_variant_new_boolean (value.valid));
       g_variant_builder_init (&_tmp5_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp5_, g_variant_new_object_path (value.details.id));
       g_variant_builder_add_value (&_tmp5_, g_variant_new_string (value.details.name));
       g_variant_builder_add_value (&_tmp5_, g_variant_new_string (value.details.icon_name));
       g_variant_builder_add_value (&_tmp4_, g_variant_builder_end (&_tmp5_));
       return g_variant_ref_sink (g_variant_builder_end (&_tmp4_));
}

Here is the caller graph for this function:

static GVariant * _variant_new39 ( gint  value) [static]

Definition at line 4422 of file unity-sound-menu-mpris.c.

                                             {
       return g_variant_ref_sink (g_variant_new_int32 (value));
}

Here is the caller graph for this function:

static Block10Data * block10_data_ref ( Block10Data *  _data10_) [static]

Definition at line 753 of file unity-sound-menu-mpris.c.

                                                             {
       g_atomic_int_inc (&_data10_->_ref_count_);
       return _data10_;
}

Here is the caller graph for this function:

static void block10_data_unref ( void *  _userdata_) [static]

Definition at line 759 of file unity-sound-menu-mpris.c.

                                                   {
       Block10Data* _data10_;
       _data10_ = (Block10Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data10_->_ref_count_)) {
              UnityMPRISGateway * self;
              self = _data10_->self;
              _g_free0 (_data10_->dbus_name);
              _g_object_unref0 (self);
              g_slice_free (Block10Data, _data10_);
       }
}

Here is the caller graph for this function:

static Block11Data * block11_data_ref ( Block11Data *  _data11_) [static]

Definition at line 1646 of file unity-sound-menu-mpris.c.

                                                             {
       g_atomic_int_inc (&_data11_->_ref_count_);
       return _data11_;
}

Here is the caller graph for this function:

static void block11_data_unref ( void *  _userdata_) [static]

Definition at line 1652 of file unity-sound-menu-mpris.c.

                                                   {
       Block11Data* _data11_;
       _data11_ = (Block11Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data11_->_ref_count_)) {
              UnityPropertyUpdateManager * self;
              self = _data11_->self;
              _g_free0 (_data11_->interface_name);
              _g_object_unref0 (self);
              g_slice_free (Block11Data, _data11_);
       }
}

Here is the caller graph for this function:

static const gchar* string_to_string ( const gchar *  self) [static]

Definition at line 1444 of file unity-sound-menu-mpris.c.

                                                         {
       const gchar* result = NULL;
       g_return_val_if_fail (self != NULL, NULL);
       result = self;
       return result;
}

Here is the caller graph for this function:

void unity_active_playlist_container_copy ( const UnityActivePlaylistContainer *  self,
UnityActivePlaylistContainer *  dest 
)

Definition at line 4247 of file unity-sound-menu-mpris.c.

                                                                                                                         {
       gboolean _tmp0_;
       UnityPlaylistDetails _tmp1_;
       UnityPlaylistDetails _tmp2_ = {0};
       _tmp0_ = (*self).valid;
       (*dest).valid = _tmp0_;
       _tmp1_ = (*self).details;
       unity_playlist_details_copy (&_tmp1_, &_tmp2_);
       unity_playlist_details_destroy (&(*dest).details);
       (*dest).details = _tmp2_;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_active_playlist_container_destroy ( UnityActivePlaylistContainer *  self)

Definition at line 4260 of file unity-sound-menu-mpris.c.

                                                                                  {
       unity_playlist_details_destroy (&(*self).details);
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityActivePlaylistContainer* unity_active_playlist_container_dup ( const UnityActivePlaylistContainer *  self)

Definition at line 4265 of file unity-sound-menu-mpris.c.

                                                                                                             {
       UnityActivePlaylistContainer* dup;
       dup = g_new0 (UnityActivePlaylistContainer, 1);
       unity_active_playlist_container_copy (self, dup);
       return dup;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_active_playlist_container_free ( UnityActivePlaylistContainer *  self)

Definition at line 4273 of file unity-sound-menu-mpris.c.

                                                                               {
       unity_active_playlist_container_destroy (self);
       g_free (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4279 of file unity-sound-menu-mpris.c.

                                                      {
       static volatile gsize unity_active_playlist_container_type_id__volatile = 0;
       if (g_once_init_enter (&unity_active_playlist_container_type_id__volatile)) {
              GType unity_active_playlist_container_type_id;
              unity_active_playlist_container_type_id = g_boxed_type_register_static ("UnityActivePlaylistContainer", (GBoxedCopyFunc) unity_active_playlist_container_dup, (GBoxedFreeFunc) unity_active_playlist_container_free);
              g_once_init_leave (&unity_active_playlist_container_type_id__volatile, unity_active_playlist_container_type_id);
       }
       return unity_active_playlist_container_type_id__volatile;
}

Here is the call graph for this function:

static void unity_blacklist_manager_add_to_blacklist ( UnityBlacklistManager *  self) [static]

Definition at line 2325 of file unity-sound-menu-mpris.c.

                                                                                   {
       GSettings* _tmp0_;
       gchar** _tmp1_;
       gchar** _tmp2_ = NULL;
       gchar** already_bl;
       gint already_bl_length1;
       gint _already_bl_size_;
       GeeArrayList* _tmp3_;
       GeeArrayList* new_bl;
       gchar** _tmp4_;
       gint _tmp4__length1;
       GeeArrayList* _tmp13_;
       gchar* _tmp14_ = NULL;
       gchar* _tmp15_;
       GSettings* _tmp16_;
       GeeArrayList* _tmp17_;
       gint _tmp18_ = 0;
       gpointer* _tmp19_ = NULL;
       gchar** _tmp20_;
       gint _tmp20__length1;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->settings;
       _tmp2_ = _tmp1_ = g_settings_get_strv (_tmp0_, "blacklisted-media-players");
       already_bl = _tmp2_;
       already_bl_length1 = _vala_array_length (_tmp1_);
       _already_bl_size_ = already_bl_length1;
       _tmp3_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL);
       new_bl = _tmp3_;
       _tmp4_ = already_bl;
       _tmp4__length1 = already_bl_length1;
       {
              gchar** s_collection = NULL;
              gint s_collection_length1 = 0;
              gint _s_collection_size_ = 0;
              gint s_it = 0;
              s_collection = _tmp4_;
              s_collection_length1 = _tmp4__length1;
              for (s_it = 0; s_it < _tmp4__length1; s_it = s_it + 1) {
                     gchar* _tmp5_;
                     gchar* s = NULL;
                     _tmp5_ = g_strdup (s_collection[s_it]);
                     s = _tmp5_;
                     {
                            const gchar* _tmp6_;
                            gchar* _tmp7_ = NULL;
                            gchar* _tmp8_;
                            gboolean _tmp9_;
                            const gchar* _tmp10_;
                            GeeArrayList* _tmp11_;
                            const gchar* _tmp12_;
                            _tmp6_ = s;
                            _tmp7_ = unity_blacklist_manager_get_blacklist_name (self);
                            _tmp8_ = _tmp7_;
                            _tmp9_ = g_strcmp0 (_tmp6_, _tmp8_) == 0;
                            _g_free0 (_tmp8_);
                            if (_tmp9_) {
                                   _g_free0 (s);
                                   _g_object_unref0 (new_bl);
                                   already_bl = (_vala_array_free (already_bl, already_bl_length1, (GDestroyNotify) g_free), NULL);
                                   return;
                            }
                            _tmp10_ = s;
                            unity_trace_log_object ((GObject*) self, "add_to_blacklist: %s", _tmp10_);
                            _tmp11_ = new_bl;
                            _tmp12_ = s;
                            gee_abstract_collection_add ((GeeAbstractCollection*) _tmp11_, _tmp12_);
                            _g_free0 (s);
                     }
              }
       }
       _tmp13_ = new_bl;
       _tmp14_ = unity_blacklist_manager_get_blacklist_name (self);
       _tmp15_ = _tmp14_;
       gee_abstract_collection_add ((GeeAbstractCollection*) _tmp13_, _tmp15_);
       _g_free0 (_tmp15_);
       _tmp16_ = self->priv->settings;
       _tmp17_ = new_bl;
       _tmp19_ = gee_abstract_collection_to_array ((GeeAbstractCollection*) _tmp17_, &_tmp18_);
       _tmp20_ = _tmp19_;
       _tmp20__length1 = _tmp18_;
       g_settings_set_strv (_tmp16_, "blacklisted-media-players", _tmp20_);
       _tmp20_ = (_vala_array_free (_tmp20_, _tmp20__length1, (GDestroyNotify) g_free), NULL);
       _g_object_unref0 (new_bl);
       already_bl = (_vala_array_free (already_bl, already_bl_length1, (GDestroyNotify) g_free), NULL);
}

Here is the call graph for this function:

Here is the caller graph for this function:

gboolean unity_blacklist_manager_check_presence ( UnityBlacklistManager *  self)

Definition at line 2269 of file unity-sound-menu-mpris.c.

                                                                              {
       gboolean result = FALSE;
       GSettings* _tmp0_;
       gchar** _tmp1_;
       gchar** _tmp2_ = NULL;
       gchar** blacklist;
       gint blacklist_length1;
       gint _blacklist_size_;
       gchar** _tmp3_;
       gint _tmp3__length1;
       g_return_val_if_fail (self != NULL, FALSE);
       _tmp0_ = self->priv->settings;
       _tmp2_ = _tmp1_ = g_settings_get_strv (_tmp0_, "blacklisted-media-players");
       blacklist = _tmp2_;
       blacklist_length1 = _vala_array_length (_tmp1_);
       _blacklist_size_ = blacklist_length1;
       _tmp3_ = blacklist;
       _tmp3__length1 = blacklist_length1;
       {
              gchar** s_collection = NULL;
              gint s_collection_length1 = 0;
              gint _s_collection_size_ = 0;
              gint s_it = 0;
              s_collection = _tmp3_;
              s_collection_length1 = _tmp3__length1;
              for (s_it = 0; s_it < _tmp3__length1; s_it = s_it + 1) {
                     gchar* _tmp4_;
                     gchar* s = NULL;
                     _tmp4_ = g_strdup (s_collection[s_it]);
                     s = _tmp4_;
                     {
                            const gchar* _tmp5_;
                            gchar* _tmp6_ = NULL;
                            gchar* _tmp7_;
                            gboolean _tmp8_;
                            _tmp5_ = s;
                            _tmp6_ = unity_blacklist_manager_get_blacklist_name (self);
                            _tmp7_ = _tmp6_;
                            _tmp8_ = g_strcmp0 (_tmp5_, _tmp7_) == 0;
                            _g_free0 (_tmp7_);
                            if (_tmp8_) {
                                   result = TRUE;
                                   _g_free0 (s);
                                   blacklist = (_vala_array_free (blacklist, blacklist_length1, (GDestroyNotify) g_free), NULL);
                                   return result;
                            }
                            _g_free0 (s);
                     }
              }
       }
       result = FALSE;
       blacklist = (_vala_array_free (blacklist, blacklist_length1, (GDestroyNotify) g_free), NULL);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_blacklist_manager_class_init ( UnityBlacklistManagerClass *  klass) [static]

Definition at line 2497 of file unity-sound-menu-mpris.c.

                                                                                    {
       unity_blacklist_manager_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityBlacklistManagerPrivate));
       G_OBJECT_CLASS (klass)->constructor = unity_blacklist_manager_constructor;
       G_OBJECT_CLASS (klass)->finalize = unity_blacklist_manager_finalize;
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityBlacklistManager* unity_blacklist_manager_construct ( GType  object_type,
UnityMusicPlayer *  client 
)

Definition at line 2130 of file unity-sound-menu-mpris.c.

                                                                                                       {
       UnityBlacklistManager * self = NULL;
       UnityMusicPlayer* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       g_return_val_if_fail (client != NULL, NULL);
       self = (UnityBlacklistManager*) g_object_new (object_type, NULL);
       _tmp0_ = client;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->consumer);
       self->priv->consumer = _tmp1_;
       unity_blacklist_manager_wire_it_up (self);
       return self;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 2486 of file unity-sound-menu-mpris.c.

                                                                                                                                              {
       GObject * obj;
       GObjectClass * parent_class;
       UnityBlacklistManager * self;
       parent_class = G_OBJECT_CLASS (unity_blacklist_manager_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_BLACKLIST_MANAGER, UnityBlacklistManager);
       return obj;
}

Here is the caller graph for this function:

static void unity_blacklist_manager_consumer_blacklist_change ( UnityBlacklistManager *  self) [static]

Definition at line 2180 of file unity-sound-menu-mpris.c.

                                                                                            {
       UnityMusicPlayer* _tmp0_;
       gboolean _tmp1_;
       gboolean _tmp2_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->consumer;
       _tmp1_ = unity_music_player_get_is_blacklisted (_tmp0_);
       _tmp2_ = _tmp1_;
       if (_tmp2_ == TRUE) {
              unity_blacklist_manager_add_to_blacklist (self);
       } else {
              unity_blacklist_manager_remove_from_blacklist (self);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_blacklist_manager_finalize ( GObject *  obj) [static]

Definition at line 2510 of file unity-sound-menu-mpris.c.

                                                            {
       UnityBlacklistManager * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_BLACKLIST_MANAGER, UnityBlacklistManager);
       _g_object_unref0 (self->priv->settings);
       _g_object_unref0 (self->priv->consumer);
       G_OBJECT_CLASS (unity_blacklist_manager_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

static gchar * unity_blacklist_manager_get_blacklist_name ( UnityBlacklistManager *  self) [static]

Definition at line 2221 of file unity-sound-menu-mpris.c.

                                                                                       {
       gchar* result = NULL;
       UnityMusicPlayer* _tmp0_;
       GAppInfo* _tmp1_;
       GAppInfo* _tmp2_;
       const gchar* _tmp3_ = NULL;
       gchar* _tmp4_;
       gchar* app_id;
       const gchar* _tmp5_;
       const gchar* _tmp6_;
       gchar** _tmp7_;
       gchar** _tmp8_ = NULL;
       gchar** components;
       gint components_length1;
       gint _components_size_;
       gchar** _tmp9_;
       gint _tmp9__length1;
       const gchar* _tmp10_;
       gchar* _tmp11_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->consumer;
       _tmp1_ = unity_music_player_get_app_info (_tmp0_);
       _tmp2_ = _tmp1_;
       _tmp3_ = g_app_info_get_id (_tmp2_);
       _tmp4_ = g_strdup (_tmp3_);
       app_id = _tmp4_;
       _tmp5_ = app_id;
       if (_tmp5_ == NULL) {
              result = NULL;
              _g_free0 (app_id);
              return result;
       }
       _tmp6_ = app_id;
       _tmp8_ = _tmp7_ = g_strsplit (_tmp6_, ".", 0);
       components = _tmp8_;
       components_length1 = _vala_array_length (_tmp7_);
       _components_size_ = components_length1;
       _tmp9_ = components;
       _tmp9__length1 = components_length1;
       _tmp10_ = _tmp9_[0];
       _tmp11_ = g_strdup (_tmp10_);
       result = _tmp11_;
       components = (_vala_array_free (components, components_length1, (GDestroyNotify) g_free), NULL);
       _g_free0 (app_id);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2519 of file unity-sound-menu-mpris.c.

                                              {
       static volatile gsize unity_blacklist_manager_type_id__volatile = 0;
       if (g_once_init_enter (&unity_blacklist_manager_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityBlacklistManagerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_blacklist_manager_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityBlacklistManager), 0, (GInstanceInitFunc) unity_blacklist_manager_instance_init, NULL };
              GType unity_blacklist_manager_type_id;
              unity_blacklist_manager_type_id = g_type_register_static (G_TYPE_OBJECT, "UnityBlacklistManager", &g_define_type_info, 0);
              g_once_init_leave (&unity_blacklist_manager_type_id__volatile, unity_blacklist_manager_type_id);
       }
       return unity_blacklist_manager_type_id__volatile;
}

Here is the call graph for this function:

static void unity_blacklist_manager_instance_init ( UnityBlacklistManager *  self) [static]

Definition at line 2505 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

UnityBlacklistManager* unity_blacklist_manager_new ( UnityMusicPlayer *  client)

Definition at line 2145 of file unity-sound-menu-mpris.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_blacklist_manager_on_blacklist_event ( UnityBlacklistManager *  self) [static]

Definition at line 2196 of file unity-sound-menu-mpris.c.

                                                                                     {
       gboolean _tmp0_ = FALSE;
       gboolean is_present;
       UnityMusicPlayer* _tmp1_;
       gboolean _tmp2_;
       gboolean _tmp3_;
       gboolean _tmp4_;
       g_return_if_fail (self != NULL);
       _tmp0_ = unity_blacklist_manager_check_presence (self);
       is_present = _tmp0_;
       _tmp1_ = self->priv->consumer;
       _tmp2_ = unity_music_player_get_is_blacklisted (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = is_present;
       if (_tmp3_ != _tmp4_) {
              UnityMusicPlayer* _tmp5_;
              gboolean _tmp6_;
              unity_trace_log_object ((GObject*) self, "Blacklist Event - consumer blacklist is not the same as the situation");
              _tmp5_ = self->priv->consumer;
              _tmp6_ = is_present;
              unity_music_player_set_is_blacklisted (_tmp5_, _tmp6_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_blacklist_manager_remove_from_blacklist ( UnityBlacklistManager *  self) [static]

Definition at line 2412 of file unity-sound-menu-mpris.c.

                                                                                        {
       GSettings* _tmp0_;
       gchar** _tmp1_;
       gchar** _tmp2_ = NULL;
       gchar** already_bl;
       gint already_bl_length1;
       gint _already_bl_size_;
       GeeArrayList* _tmp3_;
       GeeArrayList* new_bl;
       gchar** _tmp4_;
       gint _tmp4__length1;
       GSettings* _tmp12_;
       GeeArrayList* _tmp13_;
       gint _tmp14_ = 0;
       gpointer* _tmp15_ = NULL;
       gchar** _tmp16_;
       gint _tmp16__length1;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->settings;
       _tmp2_ = _tmp1_ = g_settings_get_strv (_tmp0_, "blacklisted-media-players");
       already_bl = _tmp2_;
       already_bl_length1 = _vala_array_length (_tmp1_);
       _already_bl_size_ = already_bl_length1;
       _tmp3_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL);
       new_bl = _tmp3_;
       _tmp4_ = already_bl;
       _tmp4__length1 = already_bl_length1;
       {
              gchar** s_collection = NULL;
              gint s_collection_length1 = 0;
              gint _s_collection_size_ = 0;
              gint s_it = 0;
              s_collection = _tmp4_;
              s_collection_length1 = _tmp4__length1;
              for (s_it = 0; s_it < _tmp4__length1; s_it = s_it + 1) {
                     gchar* _tmp5_;
                     gchar* s = NULL;
                     _tmp5_ = g_strdup (s_collection[s_it]);
                     s = _tmp5_;
                     {
                            const gchar* _tmp6_;
                            gchar* _tmp7_ = NULL;
                            gchar* _tmp8_;
                            gboolean _tmp9_;
                            GeeArrayList* _tmp10_;
                            const gchar* _tmp11_;
                            _tmp6_ = s;
                            _tmp7_ = unity_blacklist_manager_get_blacklist_name (self);
                            _tmp8_ = _tmp7_;
                            _tmp9_ = g_strcmp0 (_tmp6_, _tmp8_) == 0;
                            _g_free0 (_tmp8_);
                            if (_tmp9_) {
                                   _g_free0 (s);
                                   continue;
                            }
                            _tmp10_ = new_bl;
                            _tmp11_ = s;
                            gee_abstract_collection_add ((GeeAbstractCollection*) _tmp10_, _tmp11_);
                            _g_free0 (s);
                     }
              }
       }
       _tmp12_ = self->priv->settings;
       _tmp13_ = new_bl;
       _tmp15_ = gee_abstract_collection_to_array ((GeeAbstractCollection*) _tmp13_, &_tmp14_);
       _tmp16_ = _tmp15_;
       _tmp16__length1 = _tmp14_;
       g_settings_set_strv (_tmp12_, "blacklisted-media-players", _tmp16_);
       _tmp16_ = (_vala_array_free (_tmp16_, _tmp16__length1, (GDestroyNotify) g_free), NULL);
       _g_object_unref0 (new_bl);
       already_bl = (_vala_array_free (already_bl, already_bl_length1, (GDestroyNotify) g_free), NULL);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_blacklist_manager_wire_it_up ( UnityBlacklistManager *  self) [static]

Definition at line 2160 of file unity-sound-menu-mpris.c.

                                                                             {
       GSettings* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       gboolean _tmp2_ = FALSE;
       GSettings* _tmp3_;
       UnityMusicPlayer* _tmp4_;
       g_return_if_fail (self != NULL);
       _tmp0_ = g_settings_new ("com.canonical.indicator.sound");
       _g_object_unref0 (self->priv->settings);
       self->priv->settings = _tmp0_;
       _tmp1_ = self->priv->consumer;
       _tmp2_ = unity_blacklist_manager_check_presence (self);
       unity_music_player_set_is_blacklisted (_tmp1_, _tmp2_);
       _tmp3_ = self->priv->settings;
       g_signal_connect_object (_tmp3_, "changed::blacklisted-media-players", (GCallback) _unity_blacklist_manager_on_blacklist_event_g_settings_changed, self, 0);
       _tmp4_ = self->priv->consumer;
       g_signal_connect_object ((GObject*) _tmp4_, "notify::is-blacklisted", (GCallback) _unity_blacklist_manager_consumer_blacklist_change_g_object_notify, self, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_mpris_gateway_class_init ( UnityMPRISGatewayClass *  klass) [static]

Definition at line 1179 of file unity-sound-menu-mpris.c.

                                                                            {
       unity_mpris_gateway_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityMPRISGatewayPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_mpris_gateway_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_mpris_gateway_set_property;
       G_OBJECT_CLASS (klass)->constructor = unity_mpris_gateway_constructor;
       G_OBJECT_CLASS (klass)->finalize = unity_mpris_gateway_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_GATEWAY_CONSUMER, g_param_spec_object ("consumer", "consumer", "consumer", 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));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_GATEWAY_EDITED_PLAYLIST, g_param_spec_object ("edited-playlist", "edited-playlist", "edited-playlist", UNITY_TYPE_PLAYLIST, 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_MPRIS_GATEWAY_PLAYLIST_COUNT, g_param_spec_int ("playlist-count", "playlist-count", "playlist-count", G_MININT, G_MAXINT, 0, 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:

UnityMPRISGateway* unity_mpris_gateway_construct ( GType  object_type,
UnityMusicPlayer *  client 
)

Definition at line 738 of file unity-sound-menu-mpris.c.

                                                                                               {
       UnityMPRISGateway * self = NULL;
       UnityMusicPlayer* _tmp0_;
       g_return_val_if_fail (client != NULL, NULL);
       _tmp0_ = client;
       self = (UnityMPRISGateway*) g_object_new (object_type, "consumer", _tmp0_, NULL);
       return self;
}

Here is the caller graph for this function:

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

Definition at line 1152 of file unity-sound-menu-mpris.c.

                                                                                                                                          {
       GObject * obj;
       GObjectClass * parent_class;
       UnityMPRISGateway * self;
       UnityMusicPlayer* _tmp0_;
       UnityBlacklistManager* _tmp1_;
       UnityMusicPlayer* _tmp2_;
       UnitySpecificItemManager* _tmp3_;
       parent_class = G_OBJECT_CLASS (unity_mpris_gateway_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGateway);
       _tmp0_ = self->priv->_consumer;
       _tmp1_ = unity_blacklist_manager_new (_tmp0_);
       _g_object_unref0 (self->priv->blacklist_mgr);
       self->priv->blacklist_mgr = _tmp1_;
       _tmp2_ = self->priv->_consumer;
       _tmp3_ = unity_specific_item_manager_new (_tmp2_);
       _g_object_unref0 (self->priv->specific_menuitem_mgr);
       self->priv->specific_menuitem_mgr = _tmp3_;
       self->priv->playlist_interface_raised = FALSE;
       self->priv->bus_name_owner_handle = (guint) 0;
       self->priv->bus_root_iface_handle = (guint) 0;
       self->priv->bus_player_iface_handle = (guint) 0;
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_mpris_gateway_ensure_playlist_interface_is_raised ( UnityMPRISGateway *  self)

Definition at line 1029 of file unity-sound-menu-mpris.c.

                                                                                       {
       gboolean _tmp0_;
       GError * _inner_error_ = NULL;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->playlist_interface_raised;
       if (_tmp0_ == TRUE) {
              return;
       }
       {
              GDBusConnection* _tmp1_;
              UnityMprisPlaylists* _tmp2_;
              _tmp1_ = self->priv->dbus_connection;
              _tmp2_ = self->priv->mpris_playlist_interface;
              unity_mpris_playlists_register_object (_tmp2_, _tmp1_, UNITY_MPRIS_INTERFACE_ROOT_PATH, &_inner_error_);
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch37_g_io_error;
                     }
                     g_critical ("file %s: line %d: unexpected 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;
              }
              self->priv->playlist_interface_raised = TRUE;
       }
       goto __finally37;
       __catch37_g_io_error:
       {
              GError* e = NULL;
              UnityMusicPlayer* _tmp3_;
              GAppInfo* _tmp4_;
              GAppInfo* _tmp5_;
              const gchar* _tmp6_ = NULL;
              GError* _tmp7_;
              const gchar* _tmp8_;
              e = _inner_error_;
              _inner_error_ = NULL;
              _tmp3_ = self->priv->_consumer;
              _tmp4_ = unity_music_player_get_app_info (_tmp3_);
              _tmp5_ = _tmp4_;
              _tmp6_ = g_app_info_get_name (_tmp5_);
              _tmp7_ = e;
              _tmp8_ = _tmp7_->message;
              g_critical ("unity-sound-menu-mpris.vala:155: Could not register playlist interface" \
" for %s: %s", _tmp6_, _tmp8_);
              _g_error_free0 (e);
       }
       __finally37:
       if (_inner_error_ != NULL) {
              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;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_mpris_gateway_export ( UnityMPRISGateway *  self)

Definition at line 791 of file unity-sound-menu-mpris.c.

                                                          {
       Block10Data* _data10_;
       guint _tmp0_;
       GDBusConnection* _tmp1_;
       UnityPropertyUpdateManager* _tmp4_;
       UnityMprisRoot* _tmp7_;
       UnityMprisPlayer* _tmp11_;
       UnityMprisPlaylists* _tmp15_;
       UnityMusicPlayer* _tmp33_;
       GAppInfo* _tmp34_;
       GAppInfo* _tmp35_;
       const gchar* _tmp36_ = NULL;
       gchar* _tmp37_ = NULL;
       gchar* mpris_extension;
       const gchar* _tmp38_;
       gchar* _tmp39_ = NULL;
       const gchar* _tmp40_;
       guint _tmp41_ = 0U;
       GError * _inner_error_ = NULL;
       g_return_if_fail (self != NULL);
       _data10_ = g_slice_new0 (Block10Data);
       _data10_->_ref_count_ = 1;
       _data10_->self = g_object_ref (self);
       _tmp0_ = self->priv->bus_name_owner_handle;
       if (_tmp0_ != ((guint) 0)) {
              g_critical ("unity-sound-menu-mpris.vala:73: Can not export MPRISGateway@%p. It is " \
"already exported", self);
              block10_data_unref (_data10_);
              _data10_ = NULL;
              return;
       }
       _tmp1_ = self->priv->dbus_connection;
       if (_tmp1_ == NULL) {
              {
                     GDBusConnection* _tmp2_ = NULL;
                     GDBusConnection* _tmp3_;
                     _tmp2_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
                     _tmp3_ = _tmp2_;
                     if (_inner_error_ != NULL) {
                            if (_inner_error_->domain == G_IO_ERROR) {
                                   goto __catch35_g_io_error;
                            }
                            block10_data_unref (_data10_);
                            _data10_ = NULL;
                            g_critical ("file %s: line %d: unexpected 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;
                     }
                     _g_object_unref0 (self->priv->dbus_connection);
                     self->priv->dbus_connection = _tmp3_;
              }
              goto __finally35;
              __catch35_g_io_error:
              {
                     GError* e = NULL;
                     e = _inner_error_;
                     _inner_error_ = NULL;
                     g_critical ("unity-sound-menu-mpris.vala:83: unity-sound-menu-mpris-MPRISGateway: C" \
"annot connect to the session bus.");
                     _g_error_free0 (e);
              }
              __finally35:
              if (_inner_error_ != NULL) {
                     block10_data_unref (_data10_);
                     _data10_ = NULL;
                     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;
              }
       }
       _tmp4_ = self->priv->prop_manager;
       if (_tmp4_ == NULL) {
              GDBusConnection* _tmp5_;
              UnityPropertyUpdateManager* _tmp6_;
              _tmp5_ = self->priv->dbus_connection;
              _tmp6_ = unity_property_update_manager_new (_tmp5_);
              _g_object_unref0 (self->priv->prop_manager);
              self->priv->prop_manager = _tmp6_;
       }
       _tmp7_ = self->priv->mpris_root_interface;
       if (_tmp7_ == NULL) {
              UnityMusicPlayer* _tmp8_;
              UnityPropertyUpdateManager* _tmp9_;
              UnityMprisRoot* _tmp10_;
              _tmp8_ = self->priv->_consumer;
              _tmp9_ = self->priv->prop_manager;
              _tmp10_ = unity_mpris_root_new (_tmp8_, _tmp9_);
              _g_object_unref0 (self->priv->mpris_root_interface);
              self->priv->mpris_root_interface = _tmp10_;
       }
       _tmp11_ = self->priv->mpris_player_interface;
       if (_tmp11_ == NULL) {
              UnityMusicPlayer* _tmp12_;
              UnityPropertyUpdateManager* _tmp13_;
              UnityMprisPlayer* _tmp14_;
              _tmp12_ = self->priv->_consumer;
              _tmp13_ = self->priv->prop_manager;
              _tmp14_ = unity_mpris_player_new (_tmp12_, _tmp13_);
              _g_object_unref0 (self->priv->mpris_player_interface);
              self->priv->mpris_player_interface = _tmp14_;
       }
       _tmp15_ = self->priv->mpris_playlist_interface;
       if (_tmp15_ == NULL) {
              UnityMusicPlayer* _tmp16_;
              UnityPropertyUpdateManager* _tmp17_;
              UnityMprisPlaylists* _tmp18_;
              _tmp16_ = self->priv->_consumer;
              _tmp17_ = self->priv->prop_manager;
              _tmp18_ = unity_mpris_playlists_new (_tmp16_, _tmp17_, self);
              _g_object_unref0 (self->priv->mpris_playlist_interface);
              self->priv->mpris_playlist_interface = _tmp18_;
       }
       {
              GDBusConnection* _tmp19_;
              UnityMprisRoot* _tmp20_;
              guint _tmp21_ = 0U;
              guint _tmp22_;
              GDBusConnection* _tmp23_;
              UnityMprisPlayer* _tmp24_;
              guint _tmp25_ = 0U;
              guint _tmp26_;
              _tmp19_ = self->priv->dbus_connection;
              _tmp20_ = self->priv->mpris_root_interface;
              _tmp21_ = unity_mpris_root_register_object (_tmp20_, _tmp19_, UNITY_MPRIS_INTERFACE_ROOT_PATH, &_inner_error_);
              _tmp22_ = _tmp21_;
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch36_g_io_error;
                     }
                     block10_data_unref (_data10_);
                     _data10_ = NULL;
                     g_critical ("file %s: line %d: unexpected 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;
              }
              self->priv->bus_root_iface_handle = _tmp22_;
              _tmp23_ = self->priv->dbus_connection;
              _tmp24_ = self->priv->mpris_player_interface;
              _tmp25_ = unity_mpris_player_register_object (_tmp24_, _tmp23_, UNITY_MPRIS_INTERFACE_ROOT_PATH, &_inner_error_);
              _tmp26_ = _tmp25_;
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch36_g_io_error;
                     }
                     block10_data_unref (_data10_);
                     _data10_ = NULL;
                     g_critical ("file %s: line %d: unexpected 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;
              }
              self->priv->bus_root_iface_handle = _tmp26_;
       }
       goto __finally36;
       __catch36_g_io_error:
       {
              GError* e = NULL;
              UnityMusicPlayer* _tmp27_;
              GAppInfo* _tmp28_;
              GAppInfo* _tmp29_;
              const gchar* _tmp30_ = NULL;
              GError* _tmp31_;
              const gchar* _tmp32_;
              e = _inner_error_;
              _inner_error_ = NULL;
              _tmp27_ = self->priv->_consumer;
              _tmp28_ = unity_music_player_get_app_info (_tmp27_);
              _tmp29_ = _tmp28_;
              _tmp30_ = g_app_info_get_name (_tmp29_);
              _tmp31_ = e;
              _tmp32_ = _tmp31_->message;
              g_critical ("unity-sound-menu-mpris.vala:107: Could not register root or player int" \
"erface for '%s': %s", _tmp30_, _tmp32_);
              _g_error_free0 (e);
       }
       __finally36:
       if (_inner_error_ != NULL) {
              block10_data_unref (_data10_);
              _data10_ = NULL;
              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;
       }
       _tmp33_ = self->priv->_consumer;
       _tmp34_ = unity_music_player_get_app_info (_tmp33_);
       _tmp35_ = _tmp34_;
       _tmp36_ = g_app_info_get_name (_tmp35_);
       _tmp37_ = g_utf8_strdown (_tmp36_, (gssize) (-1));
       mpris_extension = _tmp37_;
       _tmp38_ = mpris_extension;
       _tmp39_ = g_strconcat (UNITY_MPRIS_INTERFACE_PREFIX, _tmp38_, NULL);
       _data10_->dbus_name = _tmp39_;
       _tmp40_ = _data10_->dbus_name;
       _tmp41_ = g_bus_own_name_with_closures (G_BUS_TYPE_SESSION, _tmp40_, G_BUS_NAME_OWNER_FLAGS_NONE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((___lambda26__gbus_name_acquired_callback == NULL) ? NULL : g_cclosure_new ((GCallback) ___lambda26__gbus_name_acquired_callback, block10_data_ref (_data10_), block10_data_unref)), (GClosure*) ((_unity_mpris_gateway_on_name_lost_gbus_name_lost_callback == NULL) ? NULL : g_cclosure_new ((GCallback) _unity_mpris_gateway_on_name_lost_gbus_name_lost_callback, g_object_ref (self), g_object_unref)));
       self->priv->bus_name_owner_handle = _tmp41_;
       _g_free0 (mpris_extension);
       block10_data_unref (_data10_);
       _data10_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_mpris_gateway_finalize ( GObject *  obj) [static]

Definition at line 1197 of file unity-sound-menu-mpris.c.

                                                        {
       UnityMPRISGateway * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_MPRIS_GATEWAY, UnityMPRISGateway);
       _g_object_unref0 (self->priv->_consumer);
       _g_object_unref0 (self->priv->mpris_root_interface);
       _g_object_unref0 (self->priv->mpris_player_interface);
       _g_object_unref0 (self->priv->mpris_playlist_interface);
       _g_object_unref0 (self->priv->prop_manager);
       _g_object_unref0 (self->priv->blacklist_mgr);
       _g_object_unref0 (self->priv->specific_menuitem_mgr);
       _g_object_unref0 (self->priv->dbus_connection);
       _g_object_unref0 (self->priv->_edited_playlist);
       G_OBJECT_CLASS (unity_mpris_gateway_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

UnityMusicPlayer* unity_mpris_gateway_get_consumer ( UnityMPRISGateway *  self)

Definition at line 1084 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

UnityPlaylist* unity_mpris_gateway_get_edited_playlist ( UnityMPRISGateway *  self)

Definition at line 1111 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

gint unity_mpris_gateway_get_playlist_count ( UnityMPRISGateway *  self)

Definition at line 1133 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

GType unity_mpris_gateway_get_type ( void  )

Definition at line 387 of file unity-sound-menu-mpris.c.

      {
       UNITY_MPRIS_GATEWAY_DUMMY_PROPERTY,
       UNITY_MPRIS_GATEWAY_CONSUMER,
       UNITY_MPRIS_GATEWAY_EDITED_PLAYLIST,
       UNITY_MPRIS_GATEWAY_PLAYLIST_COUNT
};
static void unity_mpris_gateway_instance_init ( UnityMPRISGateway *  self) [static]

Definition at line 1192 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

UnityMPRISGateway* unity_mpris_gateway_new ( UnityMusicPlayer *  client)

Definition at line 748 of file unity-sound-menu-mpris.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_mpris_gateway_on_name_lost ( UnityMPRISGateway *  self,
GDBusConnection *  conn,
const gchar *  name 
) [static]

Definition at line 1019 of file unity-sound-menu-mpris.c.

                                                                                                                 {
       const gchar* _tmp0_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (conn != NULL);
       g_return_if_fail (name != NULL);
       _tmp0_ = name;
       unity_trace_log_object ((GObject*) self, "Lost name '%s'", _tmp0_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_mpris_gateway_set_consumer ( UnityMPRISGateway *  self,
UnityMusicPlayer *  value 
) [static]

Definition at line 1099 of file unity-sound-menu-mpris.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_mpris_gateway_set_edited_playlist ( UnityMPRISGateway *  self,
UnityPlaylist *  value 
)

Definition at line 1121 of file unity-sound-menu-mpris.c.

                                                                                             {
       UnityPlaylist* _tmp0_;
       UnityPlaylist* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_edited_playlist);
       self->priv->_edited_playlist = _tmp1_;
       g_object_notify ((GObject *) self, "edited-playlist");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_mpris_gateway_set_playlist_count ( UnityMPRISGateway *  self,
gint  value 
)

Definition at line 1143 of file unity-sound-menu-mpris.c.

                                                                                  {
       gint _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       self->priv->_playlist_count = _tmp0_;
       g_object_notify ((GObject *) self, "playlist-count");
}

Here is the caller graph for this function:

void unity_mpris_gateway_unexport ( UnityMPRISGateway *  self)

Definition at line 991 of file unity-sound-menu-mpris.c.

                                                            {
       guint _tmp0_;
       guint _tmp1_;
       GDBusConnection* _tmp2_;
       guint _tmp3_;
       GDBusConnection* _tmp4_;
       guint _tmp5_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->bus_name_owner_handle;
       if (_tmp0_ == ((guint) 0)) {
              g_critical ("unity-sound-menu-mpris.vala:126: Can not unexport MPRISGateway@%p. It " \
"is not exported", self);
              return;
       }
       _tmp1_ = self->priv->bus_name_owner_handle;
       g_bus_unown_name (_tmp1_);
       self->priv->bus_name_owner_handle = (guint) 0;
       _tmp2_ = self->priv->dbus_connection;
       _tmp3_ = self->priv->bus_root_iface_handle;
       g_dbus_connection_unregister_object (_tmp2_, _tmp3_);
       self->priv->bus_root_iface_handle = (guint) 0;
       _tmp4_ = self->priv->dbus_connection;
       _tmp5_ = self->priv->bus_player_iface_handle;
       g_dbus_connection_unregister_object (_tmp4_, _tmp5_);
       self->priv->bus_player_iface_handle = (guint) 0;
}

Here is the caller graph for this function:

static void unity_mpris_player_class_init ( UnityMprisPlayerClass *  klass) [static]

Definition at line 3876 of file unity-sound-menu-mpris.c.

                                                                          {
       unity_mpris_player_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityMprisPlayerPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_mpris_player_get_property;
       G_OBJECT_CLASS (klass)->constructor = unity_mpris_player_constructor;
       G_OBJECT_CLASS (klass)->finalize = unity_mpris_player_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_PLAYER_METADATA, g_param_spec_boxed ("metadata", "metadata", "metadata", G_TYPE_HASH_TABLE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_PLAYER_PLAYBACK_STATUS, g_param_spec_string ("playback-status", "playback-status", "playback-status", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_PLAYER_CAN_CONTROL, g_param_spec_boolean ("can-control", "can-control", "can-control", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_PLAYER_CAN_GO_NEXT, g_param_spec_boolean ("can-go-next", "can-go-next", "can-go-next", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_PLAYER_CAN_GO_PREVIOUS, g_param_spec_boolean ("can-go-previous", "can-go-previous", "can-go-previous", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_PLAYER_CAN_PLAY, g_param_spec_boolean ("can-play", "can-play", "can-play", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_PLAYER_CAN_PAUSE, g_param_spec_boolean ("can-pause", "can-pause", "can-pause", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMprisPlayer* unity_mpris_player_construct ( GType  object_type,
UnityMusicPlayer *  client,
UnityPropertyUpdateManager *  prop_mgr 
)

Definition at line 3207 of file unity-sound-menu-mpris.c.

                                                                                                                                   {
       UnityMprisPlayer * self = NULL;
       UnityMusicPlayer* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       UnityPropertyUpdateManager* _tmp2_;
       UnityPropertyUpdateManager* _tmp3_;
       g_return_val_if_fail (client != NULL, NULL);
       g_return_val_if_fail (prop_mgr != NULL, NULL);
       self = (UnityMprisPlayer*) g_object_new (object_type, NULL);
       _tmp0_ = client;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->consumer);
       self->priv->consumer = _tmp1_;
       _tmp2_ = prop_mgr;
       _tmp3_ = _g_object_ref0 (_tmp2_);
       _g_object_unref0 (self->priv->prop_mgr);
       self->priv->prop_mgr = _tmp3_;
       unity_mpris_player_wire_it_up (self);
       return self;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 3865 of file unity-sound-menu-mpris.c.

                                                                                                                                         {
       GObject * obj;
       GObjectClass * parent_class;
       UnityMprisPlayer * self;
       parent_class = G_OBJECT_CLASS (unity_mpris_player_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_MPRIS_PLAYER, UnityMprisPlayer);
       return obj;
}

Here is the caller graph for this function:

static GVariant * unity_mpris_player_dbus_interface_get_property ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  property_name,
GError **  error,
gpointer  user_data 
) [static]

Definition at line 4135 of file unity-sound-menu-mpris.c.

                                                                                                                                                                                                                                          {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (property_name, "Metadata") == 0) {
              return _dbus_unity_mpris_player_get_metadata (object);
       } else if (strcmp (property_name, "PlaybackStatus") == 0) {
              return _dbus_unity_mpris_player_get_playback_status (object);
       } else if (strcmp (property_name, "CanControl") == 0) {
              return _dbus_unity_mpris_player_get_can_control (object);
       } else if (strcmp (property_name, "CanGoNext") == 0) {
              return _dbus_unity_mpris_player_get_can_go_next (object);
       } else if (strcmp (property_name, "CanGoPrevious") == 0) {
              return _dbus_unity_mpris_player_get_can_go_previous (object);
       } else if (strcmp (property_name, "CanPlay") == 0) {
              return _dbus_unity_mpris_player_get_can_play (object);
       } else if (strcmp (property_name, "CanPause") == 0) {
              return _dbus_unity_mpris_player_get_can_pause (object);
       }
       return NULL;
}

Here is the call graph for this function:

static void unity_mpris_player_dbus_interface_method_call ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  method_name,
GVariant *  parameters,
GDBusMethodInvocation *  invocation,
gpointer  user_data 
) [static]

Definition at line 4042 of file unity-sound-menu-mpris.c.

                                                                                                                                                                                                                                                                           {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (method_name, "PlayPause") == 0) {
              _dbus_unity_mpris_player_play_pause (object, parameters, invocation);
       } else if (strcmp (method_name, "Next") == 0) {
              _dbus_unity_mpris_player_next (object, parameters, invocation);
       } else if (strcmp (method_name, "Previous") == 0) {
              _dbus_unity_mpris_player_previous (object, parameters, invocation);
       } else {
              g_object_unref (invocation);
       }
}

Here is the call graph for this function:

static gboolean unity_mpris_player_dbus_interface_set_property ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *  object_path,
const gchar *  interface_name,
const gchar *  property_name,
GVariant *  value,
GError **  error,
gpointer  user_data 
) [static]

Definition at line 4159 of file unity-sound-menu-mpris.c.

                                                                                                                                                                                                                                                          {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       return FALSE;
}
static void unity_mpris_player_finalize ( GObject *  obj) [static]

Definition at line 3897 of file unity-sound-menu-mpris.c.

                                                       {
       UnityMprisPlayer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_MPRIS_PLAYER, UnityMprisPlayer);
       _g_object_unref0 (self->priv->consumer);
       _g_object_unref0 (self->priv->prop_mgr);
       _g_hash_table_unref0 (self->priv->current_metadata);
       G_OBJECT_CLASS (unity_mpris_player_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

gboolean unity_mpris_player_get_can_control ( UnityMprisPlayer *  self)

Definition at line 3801 of file unity-sound-menu-mpris.c.

                                                                     {
       gboolean result;
       g_return_val_if_fail (self != NULL, FALSE);
       result = TRUE;
       return result;
}

Here is the caller graph for this function:

gboolean unity_mpris_player_get_can_go_next ( UnityMprisPlayer *  self)

Definition at line 3809 of file unity-sound-menu-mpris.c.

                                                                     {
       gboolean result;
       UnityMusicPlayer* _tmp0_;
       gboolean _tmp1_;
       gboolean _tmp2_;
       g_return_val_if_fail (self != NULL, FALSE);
       _tmp0_ = self->priv->consumer;
       _tmp1_ = unity_music_player_get_can_go_next (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

gboolean unity_mpris_player_get_can_go_previous ( UnityMprisPlayer *  self)

Definition at line 3823 of file unity-sound-menu-mpris.c.

                                                                         {
       gboolean result;
       UnityMusicPlayer* _tmp0_;
       gboolean _tmp1_;
       gboolean _tmp2_;
       g_return_val_if_fail (self != NULL, FALSE);
       _tmp0_ = self->priv->consumer;
       _tmp1_ = unity_music_player_get_can_go_previous (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

gboolean unity_mpris_player_get_can_pause ( UnityMprisPlayer *  self)

Definition at line 3851 of file unity-sound-menu-mpris.c.

                                                                   {
       gboolean result;
       UnityMusicPlayer* _tmp0_;
       gboolean _tmp1_;
       gboolean _tmp2_;
       g_return_val_if_fail (self != NULL, FALSE);
       _tmp0_ = self->priv->consumer;
       _tmp1_ = unity_music_player_get_can_pause (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

gboolean unity_mpris_player_get_can_play ( UnityMprisPlayer *  self)

Definition at line 3837 of file unity-sound-menu-mpris.c.

                                                                  {
       gboolean result;
       UnityMusicPlayer* _tmp0_;
       gboolean _tmp1_;
       gboolean _tmp2_;
       g_return_val_if_fail (self != NULL, FALSE);
       _tmp0_ = self->priv->consumer;
       _tmp1_ = unity_music_player_get_can_play (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

GHashTable* unity_mpris_player_get_metadata ( UnityMprisPlayer *  self)

Definition at line 3769 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

const gchar* unity_mpris_player_get_playback_status ( UnityMprisPlayer *  self)

Definition at line 3779 of file unity-sound-menu-mpris.c.

                                                                             {
       const gchar* result;
       const gchar* _tmp0_ = NULL;
       UnityMusicPlayer* _tmp1_;
       UnityPlaybackState _tmp2_;
       UnityPlaybackState _tmp3_;
       const gchar* _tmp4_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp1_ = self->priv->consumer;
       _tmp2_ = unity_music_player_get_playback_state (_tmp1_);
       _tmp3_ = _tmp2_;
       if (_tmp3_ == UNITY_PLAYBACK_STATE_PAUSED) {
              _tmp0_ = "Paused";
       } else {
              _tmp0_ = "Playing";
       }
       _tmp4_ = _tmp0_;
       result = _tmp4_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

GType unity_mpris_player_get_type ( void  )

MPRIS Player.

Definition at line 3910 of file unity-sound-menu-mpris.c.

                                         {
       static volatile gsize unity_mpris_player_type_id__volatile = 0;
       if (g_once_init_enter (&unity_mpris_player_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityMprisPlayerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_mpris_player_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityMprisPlayer), 0, (GInstanceInitFunc) unity_mpris_player_instance_init, NULL };
              GType unity_mpris_player_type_id;
              unity_mpris_player_type_id = g_type_register_static (G_TYPE_OBJECT, "UnityMprisPlayer", &g_define_type_info, 0);
              g_type_set_qdata (unity_mpris_player_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) unity_mpris_player_register_object);
              g_once_init_leave (&unity_mpris_player_type_id__volatile, unity_mpris_player_type_id);
       }
       return unity_mpris_player_type_id__volatile;
}

Here is the call graph for this function:

static void unity_mpris_player_instance_init ( UnityMprisPlayer *  self) [static]

Definition at line 3892 of file unity-sound-menu-mpris.c.

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

Here is the caller graph for this function:

UnityMprisPlayer* unity_mpris_player_new ( UnityMusicPlayer *  client,
UnityPropertyUpdateManager *  prop_mgr 
)

Definition at line 3229 of file unity-sound-menu-mpris.c.

                                                                                                          {
       return unity_mpris_player_construct (UNITY_TYPE_MPRIS_PLAYER, client, prop_mgr);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_mpris_player_next ( UnityMprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 3679 of file unity-sound-menu-mpris.c.

                                                                                                            {
       UnityMprisPlayerNextData* _data_;
       UnityMprisPlayer* _tmp0_;
       _data_ = g_slice_new0 (UnityMprisPlayerNextData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_mpris_player_next);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_mpris_player_next_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       unity_mpris_player_next_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_mpris_player_next_co ( UnityMprisPlayerNextData *  _data_) [static]

Definition at line 3700 of file unity-sound-menu-mpris.c.

                                                                              {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->consumer;
       g_signal_emit_by_name (_data_->_tmp0_, "next");
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the caller graph for this function:

static void unity_mpris_player_next_data_free ( gpointer  _data) [static]

Definition at line 3671 of file unity-sound-menu-mpris.c.

                                                               {
       UnityMprisPlayerNextData* _data_;
       _data_ = _data;
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityMprisPlayerNextData, _data_);
}

Here is the caller graph for this function:

void unity_mpris_player_next_finish ( UnityMprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 3691 of file unity-sound-menu-mpris.c.

                                                                                                  {
       UnityMprisPlayerNextData* _data_;
       if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
              return;
       }
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}

Here is the caller graph for this function:

void unity_mpris_player_on_metadata_update ( UnityMprisPlayer *  self,
GParamSpec *  pspec 
)

Definition at line 3485 of file unity-sound-menu-mpris.c.

                                                                                       {
       GHashTable* _tmp0_;
       UnityMusicPlayer* _tmp1_;
       UnityTrackMetadata* _tmp2_;
       UnityTrackMetadata* _tmp3_;
       GFile* _tmp4_;
       GFile* _tmp5_;
       UnityMusicPlayer* _tmp16_;
       UnityTrackMetadata* _tmp17_;
       UnityTrackMetadata* _tmp18_;
       const gchar* _tmp19_;
       const gchar* _tmp20_;
       UnityMusicPlayer* _tmp29_;
       UnityTrackMetadata* _tmp30_;
       UnityTrackMetadata* _tmp31_;
       const gchar* _tmp32_;
       const gchar* _tmp33_;
       UnityMusicPlayer* _tmp42_;
       UnityTrackMetadata* _tmp43_;
       UnityTrackMetadata* _tmp44_;
       const gchar* _tmp45_;
       const gchar* _tmp46_;
       UnityPropertyUpdateManager* _tmp55_;
       GHashTable* _tmp56_;
       GVariant* _tmp61_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (pspec != NULL);
       _tmp0_ = self->priv->current_metadata;
       g_hash_table_remove_all (_tmp0_);
       _tmp1_ = self->priv->consumer;
       _tmp2_ = unity_music_player_get_current_track (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = unity_track_metadata_get_art_location (_tmp3_);
       _tmp5_ = _tmp4_;
       if (_tmp5_ != NULL) {
              GHashTable* _tmp6_;
              gchar* _tmp7_;
              UnityMusicPlayer* _tmp8_;
              UnityTrackMetadata* _tmp9_;
              UnityTrackMetadata* _tmp10_;
              GFile* _tmp11_;
              GFile* _tmp12_;
              gchar* _tmp13_ = NULL;
              gchar* _tmp14_;
              GVariant* _tmp15_;
              _tmp6_ = self->priv->current_metadata;
              _tmp7_ = g_strdup ("mpris:artUrl");
              _tmp8_ = self->priv->consumer;
              _tmp9_ = unity_music_player_get_current_track (_tmp8_);
              _tmp10_ = _tmp9_;
              _tmp11_ = unity_track_metadata_get_art_location (_tmp10_);
              _tmp12_ = _tmp11_;
              _tmp13_ = g_file_get_uri (_tmp12_);
              _tmp14_ = _tmp13_;
              _tmp15_ = _variant_new33 (_tmp14_);
              g_hash_table_insert (_tmp6_, _tmp7_, _tmp15_);
              _g_free0 (_tmp14_);
       }
       _tmp16_ = self->priv->consumer;
       _tmp17_ = unity_music_player_get_current_track (_tmp16_);
       _tmp18_ = _tmp17_;
       _tmp19_ = unity_track_metadata_get_artist (_tmp18_);
       _tmp20_ = _tmp19_;
       if (_tmp20_ != NULL) {
              GHashTable* _tmp21_;
              gchar* _tmp22_;
              UnityMusicPlayer* _tmp23_;
              UnityTrackMetadata* _tmp24_;
              UnityTrackMetadata* _tmp25_;
              const gchar* _tmp26_;
              const gchar* _tmp27_;
              GVariant* _tmp28_;
              _tmp21_ = self->priv->current_metadata;
              _tmp22_ = g_strdup ("xesam:artist");
              _tmp23_ = self->priv->consumer;
              _tmp24_ = unity_music_player_get_current_track (_tmp23_);
              _tmp25_ = _tmp24_;
              _tmp26_ = unity_track_metadata_get_artist (_tmp25_);
              _tmp27_ = _tmp26_;
              _tmp28_ = _variant_new34 (_tmp27_);
              g_hash_table_insert (_tmp21_, _tmp22_, _tmp28_);
       }
       _tmp29_ = self->priv->consumer;
       _tmp30_ = unity_music_player_get_current_track (_tmp29_);
       _tmp31_ = _tmp30_;
       _tmp32_ = unity_track_metadata_get_album (_tmp31_);
       _tmp33_ = _tmp32_;
       if (_tmp33_ != NULL) {
              GHashTable* _tmp34_;
              gchar* _tmp35_;
              UnityMusicPlayer* _tmp36_;
              UnityTrackMetadata* _tmp37_;
              UnityTrackMetadata* _tmp38_;
              const gchar* _tmp39_;
              const gchar* _tmp40_;
              GVariant* _tmp41_;
              _tmp34_ = self->priv->current_metadata;
              _tmp35_ = g_strdup ("xesam:album");
              _tmp36_ = self->priv->consumer;
              _tmp37_ = unity_music_player_get_current_track (_tmp36_);
              _tmp38_ = _tmp37_;
              _tmp39_ = unity_track_metadata_get_album (_tmp38_);
              _tmp40_ = _tmp39_;
              _tmp41_ = _variant_new35 (_tmp40_);
              g_hash_table_insert (_tmp34_, _tmp35_, _tmp41_);
       }
       _tmp42_ = self->priv->consumer;
       _tmp43_ = unity_music_player_get_current_track (_tmp42_);
       _tmp44_ = _tmp43_;
       _tmp45_ = unity_track_metadata_get_title (_tmp44_);
       _tmp46_ = _tmp45_;
       if (_tmp46_ != NULL) {
              GHashTable* _tmp47_;
              gchar* _tmp48_;
              UnityMusicPlayer* _tmp49_;
              UnityTrackMetadata* _tmp50_;
              UnityTrackMetadata* _tmp51_;
              const gchar* _tmp52_;
              const gchar* _tmp53_;
              GVariant* _tmp54_;
              _tmp47_ = self->priv->current_metadata;
              _tmp48_ = g_strdup ("xesam:title");
              _tmp49_ = self->priv->consumer;
              _tmp50_ = unity_music_player_get_current_track (_tmp49_);
              _tmp51_ = _tmp50_;
              _tmp52_ = unity_track_metadata_get_title (_tmp51_);
              _tmp53_ = _tmp52_;
              _tmp54_ = _variant_new36 (_tmp53_);
              g_hash_table_insert (_tmp47_, _tmp48_, _tmp54_);
       }
       _tmp55_ = self->priv->prop_mgr;
       _tmp56_ = self->priv->current_metadata;
       _tmp61_ = _variant_new37 (_tmp56_);
       unity_property_update_manager_queue_property_update (_tmp55_, "Metadata", _tmp61_, UNITY_MPRIS_INTERFACE_PLAYER);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_mpris_player_play_pause ( UnityMprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 3630 of file unity-sound-menu-mpris.c.

                                                                                                                  {
       UnityMprisPlayerPlayPauseData* _data_;
       UnityMprisPlayer* _tmp0_;
       _data_ = g_slice_new0 (UnityMprisPlayerPlayPauseData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_mpris_player_play_pause);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_mpris_player_play_pause_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       unity_mpris_player_play_pause_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_mpris_player_play_pause_co ( UnityMprisPlayerPlayPauseData *  _data_) [static]

Definition at line 3651 of file unity-sound-menu-mpris.c.

                                                                                         {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->consumer;
       g_signal_emit_by_name (_data_->_tmp0_, "play-pause");
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the caller graph for this function:

static void unity_mpris_player_play_pause_data_free ( gpointer  _data) [static]

Definition at line 3622 of file unity-sound-menu-mpris.c.

                                                                     {
       UnityMprisPlayerPlayPauseData* _data_;
       _data_ = _data;
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityMprisPlayerPlayPauseData, _data_);
}

Here is the caller graph for this function:

void unity_mpris_player_play_pause_finish ( UnityMprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 3642 of file unity-sound-menu-mpris.c.

                                                                                                        {
       UnityMprisPlayerPlayPauseData* _data_;
       if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
              return;
       }
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}

Here is the caller graph for this function:

void unity_mpris_player_previous ( UnityMprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 3728 of file unity-sound-menu-mpris.c.

                                                                                                                {
       UnityMprisPlayerPreviousData* _data_;
       UnityMprisPlayer* _tmp0_;
       _data_ = g_slice_new0 (UnityMprisPlayerPreviousData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_mpris_player_previous);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_mpris_player_previous_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       unity_mpris_player_previous_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_mpris_player_previous_co ( UnityMprisPlayerPreviousData *  _data_) [static]

Definition at line 3749 of file unity-sound-menu-mpris.c.

                                                                                      {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->consumer;
       g_signal_emit_by_name (_data_->_tmp0_, "previous");
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the caller graph for this function:

static void unity_mpris_player_previous_data_free ( gpointer  _data) [static]

Definition at line 3720 of file unity-sound-menu-mpris.c.

                                                                   {
       UnityMprisPlayerPreviousData* _data_;
       _data_ = _data;
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityMprisPlayerPreviousData, _data_);
}

Here is the caller graph for this function:

void unity_mpris_player_previous_finish ( UnityMprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 3740 of file unity-sound-menu-mpris.c.

                                                                                                      {
       UnityMprisPlayerPreviousData* _data_;
       if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
              return;
       }
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}

Here is the caller graph for this function:

guint unity_mpris_player_register_object ( gpointer  object,
GDBusConnection *  connection,
const gchar *  path,
GError **  error 
)

Definition at line 4168 of file unity-sound-menu-mpris.c.

                                                                                                                           {
       guint result;
       gpointer *data;
       data = g_new (gpointer, 3);
       data[0] = g_object_ref (object);
       data[1] = g_object_ref (connection);
       data[2] = g_strdup (path);
       result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_unity_mpris_player_dbus_interface_info), &_unity_mpris_player_dbus_interface_vtable, data, _unity_mpris_player_unregister_object, error);
       if (!result) {
              return 0;
       }
       return result;
}

Here is the call graph for this function:

static void unity_mpris_player_wire_it_up ( UnityMprisPlayer *  self) [static]

Definition at line 3392 of file unity-sound-menu-mpris.c.

                                                                   {
       GHashFunc _tmp0_;
       GEqualFunc _tmp1_;
       GHashTable* _tmp2_;
       UnityMusicPlayer* _tmp3_;
       UnityMusicPlayer* _tmp4_;
       UnityMusicPlayer* _tmp5_;
       UnityMusicPlayer* _tmp6_;
       UnityMusicPlayer* _tmp7_;
       UnityMusicPlayer* _tmp8_;
       const gchar* _tmp9_ = NULL;
       UnityMusicPlayer* _tmp10_;
       UnityPlaybackState _tmp11_;
       UnityPlaybackState _tmp12_;
       const gchar* _tmp13_;
       gchar* _tmp14_;
       gchar* update;
       UnityPropertyUpdateManager* _tmp15_;
       GVariant* _tmp16_;
       g_return_if_fail (self != NULL);
       _tmp0_ = g_str_hash;
       _tmp1_ = g_str_equal;
       _tmp2_ = g_hash_table_new_full (_tmp0_, _tmp1_, _g_free0_, _g_variant_unref0_);
       _g_hash_table_unref0 (self->priv->current_metadata);
       self->priv->current_metadata = _tmp2_;
       _tmp3_ = self->priv->consumer;
       g_signal_connect_object ((GObject*) _tmp3_, "notify::current-track", (GCallback) _unity_mpris_player_on_metadata_update_g_object_notify, self, 0);
       _tmp4_ = self->priv->consumer;
       g_signal_connect_object ((GObject*) _tmp4_, "notify::playback-state", (GCallback) ___lambda21__g_object_notify, self, 0);
       _tmp5_ = self->priv->consumer;
       g_signal_connect_object ((GObject*) _tmp5_, "notify::can-go-next", (GCallback) ___lambda22__g_object_notify, self, 0);
       _tmp6_ = self->priv->consumer;
       g_signal_connect_object ((GObject*) _tmp6_, "notify::can-go-previous", (GCallback) ___lambda23__g_object_notify, self, 0);
       _tmp7_ = self->priv->consumer;
       g_signal_connect_object ((GObject*) _tmp7_, "notify::can-play", (GCallback) ___lambda24__g_object_notify, self, 0);
       _tmp8_ = self->priv->consumer;
       g_signal_connect_object ((GObject*) _tmp8_, "notify::can-pause", (GCallback) ___lambda25__g_object_notify, self, 0);
       _tmp10_ = self->priv->consumer;
       _tmp11_ = unity_music_player_get_playback_state (_tmp10_);
       _tmp12_ = _tmp11_;
       if (_tmp12_ == UNITY_PLAYBACK_STATE_PAUSED) {
              _tmp9_ = "Paused";
       } else {
              _tmp9_ = "Playing";
       }
       _tmp13_ = _tmp9_;
       _tmp14_ = g_strdup (_tmp13_);
       update = _tmp14_;
       _tmp15_ = self->priv->prop_mgr;
       _tmp16_ = _variant_new32 (update);
       unity_property_update_manager_queue_property_update (_tmp15_, "PlaybackStatus", _tmp16_, UNITY_MPRIS_INTERFACE_PLAYER);
       _g_free0 (update);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_mpris_playlists_activate_playlist ( UnityMprisPlaylists *  self,
const char *  playlist_id,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 4495 of file unity-sound-menu-mpris.c.

                                                                                                                                                        {
       UnityMprisPlaylistsActivatePlaylistData* _data_;
       UnityMprisPlaylists* _tmp0_;
       const char* _tmp1_;
       char* _tmp2_;
       _data_ = g_slice_new0 (UnityMprisPlaylistsActivatePlaylistData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_mpris_playlists_activate_playlist);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_mpris_playlists_activate_playlist_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = playlist_id;
       _tmp2_ = g_strdup (_tmp1_);
       _data_->playlist_id = _tmp2_;
       unity_mpris_playlists_activate_playlist_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_mpris_playlists_activate_playlist_co ( UnityMprisPlaylistsActivatePlaylistData *  _data_) [static]

Definition at line 4521 of file unity-sound-menu-mpris.c.

                                                                                                             {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->consumer;
       _data_->_tmp1_ = _data_->playlist_id;
       g_signal_emit_by_name (_data_->_tmp0_, "activate-playlist", _data_->_tmp1_);
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the caller graph for this function:

static void unity_mpris_playlists_activate_playlist_data_free ( gpointer  _data) [static]

Definition at line 4486 of file unity-sound-menu-mpris.c.

                                                                               {
       UnityMprisPlaylistsActivatePlaylistData* _data_;
       _data_ = _data;
       _g_free0 (_data_->playlist_id);
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityMprisPlaylistsActivatePlaylistData, _data_);
}

Here is the caller graph for this function:

void unity_mpris_playlists_activate_playlist_finish ( UnityMprisPlaylists *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 4512 of file unity-sound-menu-mpris.c.

                                                                                                                     {
       UnityMprisPlaylistsActivatePlaylistData* _data_;
       if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
              return;
       }
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}

Here is the caller graph for this function:

static void unity_mpris_playlists_class_init ( UnityMprisPlaylistsClass *  klass) [static]

Definition at line 4777 of file unity-sound-menu-mpris.c.

                                                                                {
       unity_mpris_playlists_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityMprisPlaylistsPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_mpris_playlists_get_property;
       G_OBJECT_CLASS (klass)->constructor = unity_mpris_playlists_constructor;
       G_OBJECT_CLASS (klass)->finalize = unity_mpris_playlists_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_PLAYLISTS_ORDERINGS, g_param_spec_boxed ("orderings", "orderings", "orderings", G_TYPE_STRV, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_PLAYLISTS_PLAYLIST_COUNT, g_param_spec_uint ("playlist-count", "playlist-count", "playlist-count", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_MPRIS_PLAYLISTS_ACTIVE_PLAYLIST, g_param_spec_boxed ("active-playlist", "active-playlist", "active-playlist", UNITY_TYPE_ACTIVE_PLAYLIST_CONTAINER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMprisPlaylists* unity_mpris_playlists_construct ( GType  object_type,
UnityMusicPlayer *  consumer,
UnityPropertyUpdateManager *  prop_mgr,
UnityMPRISGateway *  gw 
)

Definition at line 4290 of file unity-sound-menu-mpris.c.

                                                                                                                                                                  {
       UnityMprisPlaylists * self = NULL;
       UnityMPRISGateway* _tmp0_;
       UnityMPRISGateway* _tmp1_;
       UnityMusicPlayer* _tmp2_;
       UnityMusicPlayer* _tmp3_;
       UnityPropertyUpdateManager* _tmp4_;
       UnityPropertyUpdateManager* _tmp5_;
       g_return_val_if_fail (consumer != NULL, NULL);
       g_return_val_if_fail (prop_mgr != NULL, NULL);
       g_return_val_if_fail (gw != NULL, NULL);
       self = (UnityMprisPlaylists*) g_object_new (object_type, NULL);
       _tmp0_ = gw;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->gateway);
       self->priv->gateway = _tmp1_;
       _tmp2_ = consumer;
       _tmp3_ = _g_object_ref0 (_tmp2_);
       _g_object_unref0 (self->priv->consumer);
       self->priv->consumer = _tmp3_;
       _tmp4_ = prop_mgr;
       _tmp5_ = _g_object_ref0 (_tmp4_);
       _g_object_unref0 (self->priv->prop_mgr);
       self->priv->prop_mgr = _tmp5_;
       unity_mpris_playlists_wire_up (self);
       return self;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 4766 of file unity-sound-menu-mpris.c.

                                                                                                                                            {
       GObject * obj;
       GObjectClass * parent_class;
       UnityMprisPlaylists * self;
       parent_class = G_OBJECT_CLASS (unity_mpris_playlists_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_MPRIS_PLAYLISTS, UnityMprisPlaylists);
       return obj;
}

Here is the caller graph for this function:

static GVariant * unity_mpris_playlists_dbus_interface_get_property ( GDBusConnection *  connection,
const gchar *  sender,
const gchar *