Back to index

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

Go to the source code of this file.

Classes

struct  _FreeDesktopObjectIface
struct  _MprisRootIface
struct  _MprisPlayerIface
struct  _PlaylistDetails
struct  _ActivePlaylistContainer
struct  _MprisPlaylistsIface
struct  _FreeDesktopPropertiesIface
struct  _Mpris2Watcher
struct  _Mpris2WatcherClass
struct  _Mpris2WatcherPrivate
struct  _Mpris2WatcherCheckForActiveClientsData
struct  _Mpris2Controller
struct  _Mpris2ControllerClass
struct  _Mpris2ControllerPrivate
struct  _MprisClient
struct  _MprisClientClass
struct  _MprisClientPrivate
struct  _Block1Data
struct  _Block2Data
struct  _Block3Data
struct  _MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData

Defines

#define TYPE_FREE_DESKTOP_OBJECT   (free_desktop_object_get_type ())
#define FREE_DESKTOP_OBJECT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FREE_DESKTOP_OBJECT, FreeDesktopObject))
#define IS_FREE_DESKTOP_OBJECT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FREE_DESKTOP_OBJECT))
#define FREE_DESKTOP_OBJECT_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_FREE_DESKTOP_OBJECT, FreeDesktopObjectIface))
#define TYPE_FREE_DESKTOP_OBJECT_PROXY   (free_desktop_object_proxy_get_type ())
#define _g_free0(var)   (var = (g_free (var), NULL))
#define TYPE_MPRIS_ROOT   (mpris_root_get_type ())
#define MPRIS_ROOT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_ROOT, MprisRoot))
#define IS_MPRIS_ROOT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_ROOT))
#define MPRIS_ROOT_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_ROOT, MprisRootIface))
#define TYPE_MPRIS_ROOT_PROXY   (mpris_root_proxy_get_type ())
#define TYPE_MPRIS_PLAYER   (mpris_player_get_type ())
#define MPRIS_PLAYER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_PLAYER, MprisPlayer))
#define IS_MPRIS_PLAYER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_PLAYER))
#define MPRIS_PLAYER_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_PLAYER, MprisPlayerIface))
#define TYPE_MPRIS_PLAYER_PROXY   (mpris_player_proxy_get_type ())
#define _g_hash_table_unref0(var)   ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define TYPE_PLAYLIST_DETAILS   (playlist_details_get_type ())
#define TYPE_ACTIVE_PLAYLIST_CONTAINER   (active_playlist_container_get_type ())
#define TYPE_MPRIS_PLAYLISTS   (mpris_playlists_get_type ())
#define MPRIS_PLAYLISTS(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_PLAYLISTS, MprisPlaylists))
#define IS_MPRIS_PLAYLISTS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_PLAYLISTS))
#define MPRIS_PLAYLISTS_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_PLAYLISTS, MprisPlaylistsIface))
#define TYPE_MPRIS_PLAYLISTS_PROXY   (mpris_playlists_proxy_get_type ())
#define TYPE_FREE_DESKTOP_PROPERTIES   (free_desktop_properties_get_type ())
#define FREE_DESKTOP_PROPERTIES(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FREE_DESKTOP_PROPERTIES, FreeDesktopProperties))
#define IS_FREE_DESKTOP_PROPERTIES(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FREE_DESKTOP_PROPERTIES))
#define FREE_DESKTOP_PROPERTIES_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_FREE_DESKTOP_PROPERTIES, FreeDesktopPropertiesIface))
#define TYPE_FREE_DESKTOP_PROPERTIES_PROXY   (free_desktop_properties_proxy_get_type ())
#define TYPE_MPRIS2_WATCHER   (mpris2_watcher_get_type ())
#define MPRIS2_WATCHER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS2_WATCHER, Mpris2Watcher))
#define MPRIS2_WATCHER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS2_WATCHER, Mpris2WatcherClass))
#define IS_MPRIS2_WATCHER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS2_WATCHER))
#define IS_MPRIS2_WATCHER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS2_WATCHER))
#define MPRIS2_WATCHER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS2_WATCHER, Mpris2WatcherClass))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var)   ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define TYPE_MPRIS2_CONTROLLER   (mpris2_controller_get_type ())
#define MPRIS2_CONTROLLER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS2_CONTROLLER, Mpris2Controller))
#define MPRIS2_CONTROLLER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerClass))
#define IS_MPRIS2_CONTROLLER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS2_CONTROLLER))
#define IS_MPRIS2_CONTROLLER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS2_CONTROLLER))
#define MPRIS2_CONTROLLER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerClass))
#define TYPE_MPRIS_CLIENT   (mpris_client_get_type ())
#define MPRIS_CLIENT(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_CLIENT, MprisClient))
#define MPRIS_CLIENT_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS_CLIENT, MprisClientClass))
#define IS_MPRIS_CLIENT(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_CLIENT))
#define IS_MPRIS_CLIENT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS_CLIENT))
#define MPRIS_CLIENT_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS_CLIENT, MprisClientClass))
#define _g_main_loop_unref0(var)   ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
#define _g_variant_unref0(var)   ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define _active_playlist_container_free0(var)   ((var == NULL) ? NULL : (var = (active_playlist_container_free (var), NULL)))
#define _vala_assert(expr, msg)   if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define XML_ERROR   xml_error_quark ()
#define MPRIS_PREFIX   "org.mpris.MediaPlayer2."
#define MPRIS_MEDIA_PLAYER_PATH   "/org/mpris/MediaPlayer2"
#define FREEDESKTOP_SERVICE   "org.freedesktop.DBus"
#define FREEDESKTOP_OBJECT   "/org/freedesktop/DBus"
#define MPRIS2_WATCHER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS2_WATCHER, Mpris2WatcherPrivate))
#define MPRIS2_CONTROLLER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerPrivate))
#define MPRIS_CLIENT_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS_CLIENT, MprisClientPrivate))

Typedefs

typedef struct _FreeDesktopObject
typedef struct _FreeDesktopObjectIface
typedef GDBusProxy FreeDesktopObjectProxy
typedef GDBusProxyClass FreeDesktopObjectProxyClass
typedef struct _MprisRoot
typedef struct _MprisRootIface
typedef GDBusProxy MprisRootProxy
typedef GDBusProxyClass MprisRootProxyClass
typedef struct _MprisPlayer
typedef struct _MprisPlayerIface
typedef GDBusProxy MprisPlayerProxy
typedef GDBusProxyClass MprisPlayerProxyClass
typedef struct _PlaylistDetails
typedef struct _ActivePlaylistContainer
typedef struct _MprisPlaylists
typedef struct _MprisPlaylistsIface
typedef GDBusProxy MprisPlaylistsProxy
typedef GDBusProxyClass MprisPlaylistsProxyClass
typedef struct _FreeDesktopProperties
typedef struct _FreeDesktopPropertiesIface
typedef GDBusProxy FreeDesktopPropertiesProxy
typedef GDBusProxyClass FreeDesktopPropertiesProxyClass
typedef struct _Mpris2Watcher
typedef struct _Mpris2WatcherClass
typedef struct _Mpris2WatcherPrivate
typedef struct _Mpris2WatcherCheckForActiveClientsData
typedef struct _Mpris2Controller
typedef struct _Mpris2ControllerClass
typedef struct _Mpris2ControllerPrivate
typedef struct _MprisClient
typedef struct _MprisClientClass
typedef struct _MprisClientPrivate
typedef struct _Block1Data
typedef struct _Block2Data
typedef struct _Block3Data
typedef struct _MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData

Enumerations

enum  XmlError { XML_ERROR_FILE_NOT_FOUND, XML_ERROR_XML_DOCUMENT_EMPTY }

Functions

GType free_desktop_object_proxy_get_type (void)
Mpris2Watcher * mpris2_watcher_new (void)
Mpris2Watcher * mpris2_watcher_construct (GType object_type)
static void mpris2_watcher_check_for_active_clients_data_free (gpointer _data)
void mpris2_watcher_check_for_active_clients (Mpris2Watcher *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris2_watcher_check_for_active_clients_finish (Mpris2Watcher *self, GAsyncResult *_res_)
static gboolean mpris2_watcher_check_for_active_clients_co (Mpris2WatcherCheckForActiveClientsData *_data_)
static void mpris2_watcher_check_for_active_clients_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static MprisRoot * mpris2_watcher_create_mpris_root (Mpris2Watcher *self, const gchar *name)
static void mpris2_watcher_name_changes_detected (Mpris2Watcher *self, FreeDesktopObject *dbus_obj, const gchar *name, const gchar *previous_owner, const gchar *current_owner)
static GObject * mpris2_watcher_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void _mpris2_watcher_name_changes_detected_free_desktop_object_name_owner_changed (FreeDesktopObject *_sender, const gchar *name, const gchar *old_owner, const gchar *new_owner, gpointer self)
static void mpris2_watcher_finalize (GObject *obj)
GType mpris2_controller_get_type (void)
Mpris2Controller * mpris2_controller_new (const gchar *name)
Mpris2Controller * mpris2_controller_construct (GType object_type, const gchar *name)
void mpris2_controller_property_changed_cb (Mpris2Controller *self, const gchar *interface_source, GHashTable *changed_properties, gchar **invalid, int invalid_length1)
static GHashTable * _variant_get1 (GVariant *value)
static gboolean mpris2_controller_update_active_playlist_array (Mpris2Controller *self)
static gboolean _mpris2_controller_update_active_playlist_array_gsource_func (gpointer self)
const gchar * mpris2_controller_get_dbus_name (Mpris2Controller *self)
static void mpris2_controller_set_dbus_name (Mpris2Controller *self, const gchar *value)
static GObject * mpris2_controller_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void _mpris2_controller_property_changed_cb_free_desktop_properties_properties_changed (FreeDesktopProperties *_sender, const gchar *source, GHashTable *changed_properties, gchar **invalid, int invalid_length1, gpointer self)
static void mpris2_controller_finalize (GObject *obj)
static void _vala_mpris2_controller_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_mpris2_controller_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
GType mpris_client_get_type (void)
MprisClient * mpris_client_new (GMainLoop *loop)
MprisClient * mpris_client_construct (GType object_type, GMainLoop *loop)
void mpris_client_on_client_appeared (MprisClient *self)
static gboolean __lambda2_ (MprisClient *self)
gboolean mpris_client_run_tests (void)
gboolean mpris_client_escape (MprisClient *self)
static gboolean ___lambda2__gsource_func (gpointer self)
GMainLoop * mpris_client_get_mainloop (MprisClient *self)
gint mpris_client_main (gchar **args, int args_length1)
void mpris_client_player_property_updates_playback_status (void)
static void _mpris_client_player_property_updates_playback_status_gtest_data_func (gpointer self)
void mpris_client_player_property_updates_metadata (void)
static void _mpris_client_player_property_updates_metadata_gtest_data_func (gpointer self)
void mpris_client_playlists_property_update_test_activate_playlist (void)
static void _mpris_client_playlists_property_update_test_activate_playlist_gtest_data_func (gpointer self)
static gboolean _mpris_client_run_tests_gsource_func (gpointer self)
static Block1Data * block1_data_ref (Block1Data *_data1_)
static void block1_data_unref (void *_userdata_)
static gboolean __lambda3_ (Block1Data *_data1_)
static gboolean ___lambda3__gsource_func (gpointer self)
static Block2Data * block2_data_ref (Block2Data *_data2_)
static void block2_data_unref (void *_userdata_)
static gboolean __lambda4_ (Block2Data *_data2_)
static gboolean ___lambda4__gsource_func (gpointer self)
void mpris_client_do_test_async_property_update_activate_playlist (GMainLoop *loop, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_client_do_test_async_property_update_activate_playlist_finish (GAsyncResult *_res_)
static void mpris_client_do_test_async_property_update_activate_playlist_data_free (gpointer _data)
static gboolean mpris_client_do_test_async_property_update_activate_playlist_co (MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData *_data_)
static Block3Data * block3_data_ref (Block3Data *_data3_)
static void block3_data_unref (void *_userdata_)
static void mpris_client_do_test_async_property_update_activate_playlist_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static gboolean ___lambda5_ (Block3Data *_data3_)
static gboolean ____lambda5__gsource_func (gpointer self)
static void mpris_client_set_mainloop (MprisClient *self, GMainLoop *value)
static GObject * mpris_client_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void _mpris_client_on_client_appeared_mpris2_watcher_client_appeared (Mpris2Watcher *_sender, gpointer self)
static void mpris_client_finalize (GObject *obj)
static void _vala_mpris_client_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_mpris_client_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func)
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func)
void free_desktop_object_list_names (FreeDesktopObject *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
gchar ** free_desktop_object_list_names_finish (FreeDesktopObject *self, GAsyncResult *_res_, int *result_length1, GError **error)
static void g_cclosure_user_marshal_VOID__STRING_STRING_STRING (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data)
static void free_desktop_object_base_init (FreeDesktopObjectIface *iface)
GType free_desktop_object_get_type (void)
static void free_desktop_object_proxy_class_init (FreeDesktopObjectProxyClass *klass)
static void _dbus_handle_free_desktop_object_name_owner_changed (FreeDesktopObject *self, GVariant *parameters)
static void free_desktop_object_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, GVariant *parameters)
static void free_desktop_object_proxy_init (FreeDesktopObjectProxy *self)
static void _vala_g_async_ready_callback (GObject *source_object, GAsyncResult *res, void *user_data)
static void free_desktop_object_proxy_list_names_async (FreeDesktopObject *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gchar ** free_desktop_object_proxy_list_names_finish (FreeDesktopObject *self, GAsyncResult *_res_, int *result_length1, GError **error)
static void free_desktop_object_proxy_free_desktop_object_interface_init (FreeDesktopObjectIface *iface)
static void _dbus_free_desktop_object_list_names (FreeDesktopObject *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_free_desktop_object_list_names_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void free_desktop_object_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 * free_desktop_object_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 free_desktop_object_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 _dbus_free_desktop_object_name_owner_changed (GObject *_sender, const gchar *name, const gchar *old_owner, const gchar *new_owner, gpointer *_data)
guint free_desktop_object_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void _free_desktop_object_unregister_object (gpointer user_data)
void mpris_root_Quit (MprisRoot *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_root_Quit_finish (MprisRoot *self, GAsyncResult *_res_, GError **error)
void mpris_root_Raise (MprisRoot *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_root_Raise_finish (MprisRoot *self, GAsyncResult *_res_, GError **error)
gboolean mpris_root_get_HasTracklist (MprisRoot *self)
void mpris_root_set_HasTracklist (MprisRoot *self, gboolean value)
gboolean mpris_root_get_CanQuit (MprisRoot *self)
void mpris_root_set_CanQuit (MprisRoot *self, gboolean value)
gboolean mpris_root_get_CanRaise (MprisRoot *self)
void mpris_root_set_CanRaise (MprisRoot *self, gboolean value)
gchar * mpris_root_get_Identity (MprisRoot *self)
void mpris_root_set_Identity (MprisRoot *self, const gchar *value)
gchar * mpris_root_get_DesktopEntry (MprisRoot *self)
void mpris_root_set_DesktopEntry (MprisRoot *self, const gchar *value)
static void mpris_root_base_init (MprisRootIface *iface)
GType mpris_root_get_type (void)
static void mpris_root_proxy_class_init (MprisRootProxyClass *klass)
static void mpris_root_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, GVariant *parameters)
static void mpris_root_proxy_init (MprisRootProxy *self)
static void mpris_root_proxy_Quit_async (MprisRoot *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_root_proxy_Quit_finish (MprisRoot *self, GAsyncResult *_res_, GError **error)
static void mpris_root_proxy_Raise_async (MprisRoot *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_root_proxy_Raise_finish (MprisRoot *self, GAsyncResult *_res_, GError **error)
static gboolean mpris_root_dbus_proxy_get_HasTracklist (MprisRoot *self)
static void mpris_root_dbus_proxy_set_HasTracklist (MprisRoot *self, gboolean value)
static gboolean mpris_root_dbus_proxy_get_CanQuit (MprisRoot *self)
static void mpris_root_dbus_proxy_set_CanQuit (MprisRoot *self, gboolean value)
static gboolean mpris_root_dbus_proxy_get_CanRaise (MprisRoot *self)
static void mpris_root_dbus_proxy_set_CanRaise (MprisRoot *self, gboolean value)
static gchar * mpris_root_dbus_proxy_get_Identity (MprisRoot *self)
static void mpris_root_dbus_proxy_set_Identity (MprisRoot *self, const gchar *value)
static gchar * mpris_root_dbus_proxy_get_DesktopEntry (MprisRoot *self)
static void mpris_root_dbus_proxy_set_DesktopEntry (MprisRoot *self, const gchar *value)
static void mpris_root_proxy_mpris_root_interface_init (MprisRootIface *iface)
static void _dbus_mpris_root_Quit (MprisRoot *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_root_Quit_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_mpris_root_Raise (MprisRoot *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_root_Raise_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void 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 * _dbus_mpris_root_get_HasTracklist (MprisRoot *self)
static GVariant * _dbus_mpris_root_get_CanQuit (MprisRoot *self)
static GVariant * _dbus_mpris_root_get_CanRaise (MprisRoot *self)
static GVariant * _dbus_mpris_root_get_Identity (MprisRoot *self)
static GVariant * _dbus_mpris_root_get_DesktopEntry (MprisRoot *self)
static GVariant * 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 void _dbus_mpris_root_set_HasTracklist (MprisRoot *self, GVariant *_value)
static void _dbus_mpris_root_set_CanQuit (MprisRoot *self, GVariant *_value)
static void _dbus_mpris_root_set_CanRaise (MprisRoot *self, GVariant *_value)
static void _dbus_mpris_root_set_Identity (MprisRoot *self, GVariant *_value)
static void _dbus_mpris_root_set_DesktopEntry (MprisRoot *self, GVariant *_value)
static gboolean 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)
guint mpris_root_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void _mpris_root_unregister_object (gpointer user_data)
void mpris_player_PlayPause (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_player_PlayPause_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
void mpris_player_Next (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_player_Next_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
void mpris_player_Previous (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_player_Previous_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
void mpris_player_Seek (MprisPlayer *self, gint64 offset, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_player_Seek_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
GHashTable * mpris_player_get_Metadata (MprisPlayer *self)
void mpris_player_set_Metadata (MprisPlayer *self, GHashTable *value)
gint32 mpris_player_get_Position (MprisPlayer *self)
void mpris_player_set_Position (MprisPlayer *self, gint32 value)
gchar * mpris_player_get_PlaybackStatus (MprisPlayer *self)
void mpris_player_set_PlaybackStatus (MprisPlayer *self, const gchar *value)
static void g_cclosure_user_marshal_VOID__INT64 (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data)
static void mpris_player_base_init (MprisPlayerIface *iface)
GType mpris_player_get_type (void)
static void mpris_player_proxy_class_init (MprisPlayerProxyClass *klass)
static void _dbus_handle_mpris_player_seeked (MprisPlayer *self, GVariant *parameters)
static void mpris_player_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, GVariant *parameters)
static void mpris_player_proxy_init (MprisPlayerProxy *self)
static void mpris_player_proxy_PlayPause_async (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_player_proxy_PlayPause_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
static void mpris_player_proxy_Next_async (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_player_proxy_Next_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
static void mpris_player_proxy_Previous_async (MprisPlayer *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_player_proxy_Previous_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
static void mpris_player_proxy_Seek_async (MprisPlayer *self, gint64 offset, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_player_proxy_Seek_finish (MprisPlayer *self, GAsyncResult *_res_, GError **error)
static GHashTable * mpris_player_dbus_proxy_get_Metadata (MprisPlayer *self)
static void mpris_player_dbus_proxy_set_Metadata (MprisPlayer *self, GHashTable *value)
static gint32 mpris_player_dbus_proxy_get_Position (MprisPlayer *self)
static void mpris_player_dbus_proxy_set_Position (MprisPlayer *self, gint32 value)
static gchar * mpris_player_dbus_proxy_get_PlaybackStatus (MprisPlayer *self)
static void mpris_player_dbus_proxy_set_PlaybackStatus (MprisPlayer *self, const gchar *value)
static void mpris_player_proxy_mpris_player_interface_init (MprisPlayerIface *iface)
static void _dbus_mpris_player_PlayPause (MprisPlayer *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_player_PlayPause_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_mpris_player_Next (MprisPlayer *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_player_Next_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_mpris_player_Previous (MprisPlayer *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_player_Previous_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_mpris_player_Seek (MprisPlayer *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_player_Seek_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void 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 * _dbus_mpris_player_get_Metadata (MprisPlayer *self)
static GVariant * _dbus_mpris_player_get_Position (MprisPlayer *self)
static GVariant * _dbus_mpris_player_get_PlaybackStatus (MprisPlayer *self)
static GVariant * 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 void _dbus_mpris_player_set_Metadata (MprisPlayer *self, GVariant *_value)
static void _dbus_mpris_player_set_Position (MprisPlayer *self, GVariant *_value)
static void _dbus_mpris_player_set_PlaybackStatus (MprisPlayer *self, GVariant *_value)
static gboolean 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 _dbus_mpris_player_seeked (GObject *_sender, gint64 new_position, gpointer *_data)
guint mpris_player_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void _mpris_player_unregister_object (gpointer user_data)
void playlist_details_copy (const PlaylistDetails *self, PlaylistDetails *dest)
void playlist_details_destroy (PlaylistDetails *self)
PlaylistDetails * playlist_details_dup (const PlaylistDetails *self)
void playlist_details_free (PlaylistDetails *self)
GType playlist_details_get_type (void)
void active_playlist_container_copy (const ActivePlaylistContainer *self, ActivePlaylistContainer *dest)
void active_playlist_container_destroy (ActivePlaylistContainer *self)
ActivePlaylistContainer * active_playlist_container_dup (const ActivePlaylistContainer *self)
void active_playlist_container_free (ActivePlaylistContainer *self)
GType active_playlist_container_get_type (void)
void mpris_playlists_ActivatePlaylist (MprisPlaylists *self, const char *playlist_id, GAsyncReadyCallback _callback_, gpointer _user_data_)
void mpris_playlists_ActivatePlaylist_finish (MprisPlaylists *self, GAsyncResult *_res_, GError **error)
void mpris_playlists_GetPlaylists (MprisPlaylists *self, guint32 index, guint32 max_count, const gchar *order, gboolean reverse_order, GAsyncReadyCallback _callback_, gpointer _user_data_)
PlaylistDetails * mpris_playlists_GetPlaylists_finish (MprisPlaylists *self, GAsyncResult *_res_, int *result_length1, GError **error)
gchar ** mpris_playlists_get_Orderings (MprisPlaylists *self, int *result_length1)
void mpris_playlists_set_Orderings (MprisPlaylists *self, gchar **value, int value_length1)
guint32 mpris_playlists_get_PlaylistCount (MprisPlaylists *self)
void mpris_playlists_set_PlaylistCount (MprisPlaylists *self, guint32 value)
void mpris_playlists_get_ActivePlaylist (MprisPlaylists *self, ActivePlaylistContainer *result)
void mpris_playlists_set_ActivePlaylist (MprisPlaylists *self, ActivePlaylistContainer *value)
static void g_cclosure_user_marshal_VOID__BOXED (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data)
static void mpris_playlists_base_init (MprisPlaylistsIface *iface)
GType mpris_playlists_get_type (void)
static void mpris_playlists_proxy_class_init (MprisPlaylistsProxyClass *klass)
static void _dbus_handle_mpris_playlists_playlist_changed (MprisPlaylists *self, GVariant *parameters)
static void mpris_playlists_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, GVariant *parameters)
static void mpris_playlists_proxy_init (MprisPlaylistsProxy *self)
static void mpris_playlists_proxy_ActivatePlaylist_async (MprisPlaylists *self, const char *playlist_id, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void mpris_playlists_proxy_ActivatePlaylist_finish (MprisPlaylists *self, GAsyncResult *_res_, GError **error)
static void mpris_playlists_proxy_GetPlaylists_async (MprisPlaylists *self, guint32 index, guint32 max_count, const gchar *order, gboolean reverse_order, GAsyncReadyCallback _callback_, gpointer _user_data_)
static PlaylistDetails * mpris_playlists_proxy_GetPlaylists_finish (MprisPlaylists *self, GAsyncResult *_res_, int *result_length1, GError **error)
static gchar ** mpris_playlists_dbus_proxy_get_Orderings (MprisPlaylists *self, int *result_length1)
static void mpris_playlists_dbus_proxy_set_Orderings (MprisPlaylists *self, gchar **value, int value_length1)
static guint32 mpris_playlists_dbus_proxy_get_PlaylistCount (MprisPlaylists *self)
static void mpris_playlists_dbus_proxy_set_PlaylistCount (MprisPlaylists *self, guint32 value)
static void mpris_playlists_dbus_proxy_get_ActivePlaylist (MprisPlaylists *self, ActivePlaylistContainer *result)
static void mpris_playlists_dbus_proxy_set_ActivePlaylist (MprisPlaylists *self, ActivePlaylistContainer *value)
static void mpris_playlists_proxy_mpris_playlists_interface_init (MprisPlaylistsIface *iface)
static void _dbus_mpris_playlists_ActivatePlaylist (MprisPlaylists *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _dbus_mpris_playlists_ActivatePlaylist_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _dbus_mpris_playlists_GetPlaylists (MprisPlaylists *self, GVariant *parameters, GDBusMethodInvocation *invocation)
static void _vala_PlaylistDetails_array_free (PlaylistDetails *array, gint array_length)
static void _dbus_mpris_playlists_GetPlaylists_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void 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 * _dbus_mpris_playlists_get_Orderings (MprisPlaylists *self)
static GVariant * _dbus_mpris_playlists_get_PlaylistCount (MprisPlaylists *self)
static GVariant * _dbus_mpris_playlists_get_ActivePlaylist (MprisPlaylists *self)
static GVariant * 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 void _dbus_mpris_playlists_set_Orderings (MprisPlaylists *self, GVariant *_value)
static void _dbus_mpris_playlists_set_PlaylistCount (MprisPlaylists *self, GVariant *_value)
static void _dbus_mpris_playlists_set_ActivePlaylist (MprisPlaylists *self, GVariant *_value)
static gboolean 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 _dbus_mpris_playlists_playlist_changed (GObject *_sender, PlaylistDetails *details, gpointer *_data)
guint mpris_playlists_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void _mpris_playlists_unregister_object (gpointer user_data)
static void g_cclosure_user_marshal_VOID__STRING_BOXED_BOXED_INT (GClosure *closure, GValue *return_value, guint n_param_values, const GValue *param_values, gpointer invocation_hint, gpointer marshal_data)
static void free_desktop_properties_base_init (FreeDesktopPropertiesIface *iface)
GType free_desktop_properties_get_type (void)
static void free_desktop_properties_proxy_class_init (FreeDesktopPropertiesProxyClass *klass)
static void _dbus_handle_free_desktop_properties_properties_changed (FreeDesktopProperties *self, GVariant *parameters)
static void free_desktop_properties_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name, const gchar *signal_name, GVariant *parameters)
static void free_desktop_properties_proxy_init (FreeDesktopPropertiesProxy *self)
static void free_desktop_properties_proxy_free_desktop_properties_interface_init (FreeDesktopPropertiesIface *iface)
static void free_desktop_properties_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 * free_desktop_properties_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 free_desktop_properties_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 _dbus_free_desktop_properties_properties_changed (GObject *_sender, const gchar *source, GHashTable *changed_properties, gchar **invalid, int invalid_length1, gpointer *_data)
guint free_desktop_properties_register_object (gpointer object, GDBusConnection *connection, const gchar *path, GError **error)
static void _free_desktop_properties_unregister_object (gpointer user_data)
GQuark xml_error_quark (void)
static gpointer _g_object_ref0 (gpointer self)
static void mpris2_watcher_class_init (Mpris2WatcherClass *klass)
static void mpris2_watcher_instance_init (Mpris2Watcher *self)
GType mpris2_watcher_get_type (void)
static void mpris2_controller_class_init (Mpris2ControllerClass *klass)
static void mpris2_controller_instance_init (Mpris2Controller *self)
int main (int argc, char **argv)
static gpointer _g_variant_ref0 (gpointer self)
static gpointer _g_main_loop_ref0 (gpointer self)
static void mpris_client_class_init (MprisClientClass *klass)
static void mpris_client_instance_init (MprisClient *self)

Variables

static gpointer mpris2_watcher_parent_class = NULL
static gpointer mpris2_controller_parent_class = NULL
static gpointer mpris_client_parent_class = NULL
static const GDBusArgInfo _free_desktop_object_dbus_arg_info_list_names_result = {-1, "result", "as"}
static const GDBusArgInfo *const _free_desktop_object_dbus_arg_info_list_names_in [] = {NULL}
static const GDBusArgInfo *const _free_desktop_object_dbus_arg_info_list_names_out [] = {&_free_desktop_object_dbus_arg_info_list_names_result, NULL}
static const GDBusMethodInfo _free_desktop_object_dbus_method_info_list_names = {-1, "ListNames", (GDBusArgInfo **) (&_free_desktop_object_dbus_arg_info_list_names_in), (GDBusArgInfo **) (&_free_desktop_object_dbus_arg_info_list_names_out)}
static const GDBusMethodInfo *const _free_desktop_object_dbus_method_info [] = {&_free_desktop_object_dbus_method_info_list_names, NULL}
static const GDBusArgInfo _free_desktop_object_dbus_arg_info_name_owner_changed_name = {-1, "name", "s"}
static const GDBusArgInfo _free_desktop_object_dbus_arg_info_name_owner_changed_old_owner = {-1, "old_owner", "s"}
static const GDBusArgInfo _free_desktop_object_dbus_arg_info_name_owner_changed_new_owner = {-1, "new_owner", "s"}
static const GDBusArgInfo *const _free_desktop_object_dbus_arg_info_name_owner_changed [] = {&_free_desktop_object_dbus_arg_info_name_owner_changed_name, &_free_desktop_object_dbus_arg_info_name_owner_changed_old_owner, &_free_desktop_object_dbus_arg_info_name_owner_changed_new_owner, NULL}
static const GDBusSignalInfo _free_desktop_object_dbus_signal_info_name_owner_changed = {-1, "NameOwnerChanged", (GDBusArgInfo **) (&_free_desktop_object_dbus_arg_info_name_owner_changed)}
static const GDBusSignalInfo *const _free_desktop_object_dbus_signal_info [] = {&_free_desktop_object_dbus_signal_info_name_owner_changed, NULL}
static const GDBusPropertyInfo
*const 
_free_desktop_object_dbus_property_info [] = {NULL}
static const GDBusInterfaceInfo _free_desktop_object_dbus_interface_info = {-1, "org.freedesktop.DBus", (GDBusMethodInfo **) (&_free_desktop_object_dbus_method_info), (GDBusSignalInfo **) (&_free_desktop_object_dbus_signal_info), (GDBusPropertyInfo **) (&_free_desktop_object_dbus_property_info)}
static const GDBusInterfaceVTable _free_desktop_object_dbus_interface_vtable = {free_desktop_object_dbus_interface_method_call, free_desktop_object_dbus_interface_get_property, free_desktop_object_dbus_interface_set_property}
static const GDBusArgInfo *const _mpris_root_dbus_arg_info_Quit_in [] = {NULL}
static const GDBusArgInfo *const _mpris_root_dbus_arg_info_Quit_out [] = {NULL}
static const GDBusMethodInfo _mpris_root_dbus_method_info_Quit = {-1, "Quit", (GDBusArgInfo **) (&_mpris_root_dbus_arg_info_Quit_in), (GDBusArgInfo **) (&_mpris_root_dbus_arg_info_Quit_out)}
static const GDBusArgInfo *const _mpris_root_dbus_arg_info_Raise_in [] = {NULL}
static const GDBusArgInfo *const _mpris_root_dbus_arg_info_Raise_out [] = {NULL}
static const GDBusMethodInfo _mpris_root_dbus_method_info_Raise = {-1, "Raise", (GDBusArgInfo **) (&_mpris_root_dbus_arg_info_Raise_in), (GDBusArgInfo **) (&_mpris_root_dbus_arg_info_Raise_out)}
static const GDBusMethodInfo *const _mpris_root_dbus_method_info [] = {&_mpris_root_dbus_method_info_Quit, &_mpris_root_dbus_method_info_Raise, NULL}
static const GDBusSignalInfo *const _mpris_root_dbus_signal_info [] = {NULL}
static const GDBusPropertyInfo _mpris_root_dbus_property_info_HasTracklist = {-1, "HasTracklist", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_root_dbus_property_info_CanQuit = {-1, "CanQuit", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_root_dbus_property_info_CanRaise = {-1, "CanRaise", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_root_dbus_property_info_Identity = {-1, "Identity", "s", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_root_dbus_property_info_DesktopEntry = {-1, "DesktopEntry", "s", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo
*const 
_mpris_root_dbus_property_info [] = {&_mpris_root_dbus_property_info_HasTracklist, &_mpris_root_dbus_property_info_CanQuit, &_mpris_root_dbus_property_info_CanRaise, &_mpris_root_dbus_property_info_Identity, &_mpris_root_dbus_property_info_DesktopEntry, NULL}
static const GDBusInterfaceInfo _mpris_root_dbus_interface_info = {-1, "org.mpris.MediaPlayer2", (GDBusMethodInfo **) (&_mpris_root_dbus_method_info), (GDBusSignalInfo **) (&_mpris_root_dbus_signal_info), (GDBusPropertyInfo **) (&_mpris_root_dbus_property_info)}
static const GDBusInterfaceVTable _mpris_root_dbus_interface_vtable = {mpris_root_dbus_interface_method_call, mpris_root_dbus_interface_get_property, mpris_root_dbus_interface_set_property}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_PlayPause_in [] = {NULL}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_PlayPause_out [] = {NULL}
static const GDBusMethodInfo _mpris_player_dbus_method_info_PlayPause = {-1, "PlayPause", (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_PlayPause_in), (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_PlayPause_out)}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Next_in [] = {NULL}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Next_out [] = {NULL}
static const GDBusMethodInfo _mpris_player_dbus_method_info_Next = {-1, "Next", (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Next_in), (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Next_out)}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Previous_in [] = {NULL}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Previous_out [] = {NULL}
static const GDBusMethodInfo _mpris_player_dbus_method_info_Previous = {-1, "Previous", (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Previous_in), (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Previous_out)}
static const GDBusArgInfo _mpris_player_dbus_arg_info_Seek_offset = {-1, "offset", "x"}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Seek_in [] = {&_mpris_player_dbus_arg_info_Seek_offset, NULL}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_Seek_out [] = {NULL}
static const GDBusMethodInfo _mpris_player_dbus_method_info_Seek = {-1, "Seek", (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Seek_in), (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_Seek_out)}
static const GDBusMethodInfo *const _mpris_player_dbus_method_info [] = {&_mpris_player_dbus_method_info_PlayPause, &_mpris_player_dbus_method_info_Next, &_mpris_player_dbus_method_info_Previous, &_mpris_player_dbus_method_info_Seek, NULL}
static const GDBusArgInfo _mpris_player_dbus_arg_info_seeked_new_position = {-1, "new_position", "x"}
static const GDBusArgInfo *const _mpris_player_dbus_arg_info_seeked [] = {&_mpris_player_dbus_arg_info_seeked_new_position, NULL}
static const GDBusSignalInfo _mpris_player_dbus_signal_info_seeked = {-1, "Seeked", (GDBusArgInfo **) (&_mpris_player_dbus_arg_info_seeked)}
static const GDBusSignalInfo *const _mpris_player_dbus_signal_info [] = {&_mpris_player_dbus_signal_info_seeked, NULL}
static const GDBusPropertyInfo _mpris_player_dbus_property_info_Metadata = {-1, "Metadata", "a{sv}", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_player_dbus_property_info_Position = {-1, "Position", "i", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_player_dbus_property_info_PlaybackStatus = {-1, "PlaybackStatus", "s", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo
*const 
_mpris_player_dbus_property_info [] = {&_mpris_player_dbus_property_info_Metadata, &_mpris_player_dbus_property_info_Position, &_mpris_player_dbus_property_info_PlaybackStatus, NULL}
static const GDBusInterfaceInfo _mpris_player_dbus_interface_info = {-1, "org.mpris.MediaPlayer2.Player", (GDBusMethodInfo **) (&_mpris_player_dbus_method_info), (GDBusSignalInfo **) (&_mpris_player_dbus_signal_info), (GDBusPropertyInfo **) (&_mpris_player_dbus_property_info)}
static const GDBusInterfaceVTable _mpris_player_dbus_interface_vtable = {mpris_player_dbus_interface_method_call, mpris_player_dbus_interface_get_property, mpris_player_dbus_interface_set_property}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_ActivatePlaylist_playlist_id = {-1, "playlist_id", "o"}
static const GDBusArgInfo *const _mpris_playlists_dbus_arg_info_ActivatePlaylist_in [] = {&_mpris_playlists_dbus_arg_info_ActivatePlaylist_playlist_id, NULL}
static const GDBusArgInfo *const _mpris_playlists_dbus_arg_info_ActivatePlaylist_out [] = {NULL}
static const GDBusMethodInfo _mpris_playlists_dbus_method_info_ActivatePlaylist = {-1, "ActivatePlaylist", (GDBusArgInfo **) (&_mpris_playlists_dbus_arg_info_ActivatePlaylist_in), (GDBusArgInfo **) (&_mpris_playlists_dbus_arg_info_ActivatePlaylist_out)}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_GetPlaylists_index = {-1, "index", "u"}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_GetPlaylists_max_count = {-1, "max_count", "u"}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_GetPlaylists_order = {-1, "order", "s"}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_GetPlaylists_reverse_order = {-1, "reverse_order", "b"}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_GetPlaylists_result = {-1, "result", "a(oss)"}
static const GDBusArgInfo *const _mpris_playlists_dbus_arg_info_GetPlaylists_in [] = {&_mpris_playlists_dbus_arg_info_GetPlaylists_index, &_mpris_playlists_dbus_arg_info_GetPlaylists_max_count, &_mpris_playlists_dbus_arg_info_GetPlaylists_order, &_mpris_playlists_dbus_arg_info_GetPlaylists_reverse_order, NULL}
static const GDBusArgInfo *const _mpris_playlists_dbus_arg_info_GetPlaylists_out [] = {&_mpris_playlists_dbus_arg_info_GetPlaylists_result, NULL}
static const GDBusMethodInfo _mpris_playlists_dbus_method_info_GetPlaylists = {-1, "GetPlaylists", (GDBusArgInfo **) (&_mpris_playlists_dbus_arg_info_GetPlaylists_in), (GDBusArgInfo **) (&_mpris_playlists_dbus_arg_info_GetPlaylists_out)}
static const GDBusMethodInfo *const _mpris_playlists_dbus_method_info [] = {&_mpris_playlists_dbus_method_info_ActivatePlaylist, &_mpris_playlists_dbus_method_info_GetPlaylists, NULL}
static const GDBusArgInfo _mpris_playlists_dbus_arg_info_playlist_changed_details = {-1, "details", "(oss)"}
static const GDBusArgInfo *const _mpris_playlists_dbus_arg_info_playlist_changed [] = {&_mpris_playlists_dbus_arg_info_playlist_changed_details, NULL}
static const GDBusSignalInfo _mpris_playlists_dbus_signal_info_playlist_changed = {-1, "PlaylistChanged", (GDBusArgInfo **) (&_mpris_playlists_dbus_arg_info_playlist_changed)}
static const GDBusSignalInfo *const _mpris_playlists_dbus_signal_info [] = {&_mpris_playlists_dbus_signal_info_playlist_changed, NULL}
static const GDBusPropertyInfo _mpris_playlists_dbus_property_info_Orderings = {-1, "Orderings", "as", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_playlists_dbus_property_info_PlaylistCount = {-1, "PlaylistCount", "u", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo _mpris_playlists_dbus_property_info_ActivePlaylist = {-1, "ActivePlaylist", "(b(oss))", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE}
static const GDBusPropertyInfo
*const 
_mpris_playlists_dbus_property_info [] = {&_mpris_playlists_dbus_property_info_Orderings, &_mpris_playlists_dbus_property_info_PlaylistCount, &_mpris_playlists_dbus_property_info_ActivePlaylist, NULL}
static const GDBusInterfaceInfo _mpris_playlists_dbus_interface_info = {-1, "org.mpris.MediaPlayer2.Playlists", (GDBusMethodInfo **) (&_mpris_playlists_dbus_method_info), (GDBusSignalInfo **) (&_mpris_playlists_dbus_signal_info), (GDBusPropertyInfo **) (&_mpris_playlists_dbus_property_info)}
static const GDBusInterfaceVTable _mpris_playlists_dbus_interface_vtable = {mpris_playlists_dbus_interface_method_call, mpris_playlists_dbus_interface_get_property, mpris_playlists_dbus_interface_set_property}
static const GDBusMethodInfo *const _free_desktop_properties_dbus_method_info [] = {NULL}
static const GDBusArgInfo _free_desktop_properties_dbus_arg_info_properties_changed_source = {-1, "source", "s"}
static const GDBusArgInfo _free_desktop_properties_dbus_arg_info_properties_changed_changed_properties = {-1, "changed_properties", "a{sv}"}
static const GDBusArgInfo _free_desktop_properties_dbus_arg_info_properties_changed_invalid = {-1, "invalid", "as"}
static const GDBusArgInfo *const _free_desktop_properties_dbus_arg_info_properties_changed [] = {&_free_desktop_properties_dbus_arg_info_properties_changed_source, &_free_desktop_properties_dbus_arg_info_properties_changed_changed_properties, &_free_desktop_properties_dbus_arg_info_properties_changed_invalid, NULL}
static const GDBusSignalInfo _free_desktop_properties_dbus_signal_info_properties_changed = {-1, "PropertiesChanged", (GDBusArgInfo **) (&_free_desktop_properties_dbus_arg_info_properties_changed)}
static const GDBusSignalInfo *const _free_desktop_properties_dbus_signal_info [] = {&_free_desktop_properties_dbus_signal_info_properties_changed, NULL}
static const GDBusPropertyInfo
*const 
_free_desktop_properties_dbus_property_info [] = {NULL}
static const GDBusInterfaceInfo _free_desktop_properties_dbus_interface_info = {-1, "org.freedesktop.DBus.Properties", (GDBusMethodInfo **) (&_free_desktop_properties_dbus_method_info), (GDBusSignalInfo **) (&_free_desktop_properties_dbus_signal_info), (GDBusPropertyInfo **) (&_free_desktop_properties_dbus_property_info)}
static const GDBusInterfaceVTable _free_desktop_properties_dbus_interface_vtable = {free_desktop_properties_dbus_interface_method_call, free_desktop_properties_dbus_interface_get_property, free_desktop_properties_dbus_interface_set_property}

Class Documentation

struct _PlaylistDetails

Definition at line 154 of file test-mpris-backend-client.c.

Class Members
gchar * icon_name
gchar * name
char * path
struct _ActivePlaylistContainer

Definition at line 160 of file test-mpris-backend-client.c.

Class Members
PlaylistDetails details
gboolean valid
struct _FreeDesktopPropertiesIface

Definition at line 193 of file test-mpris-backend-prop-updates-client.c.

Class Members
GTypeInterface parent_iface
struct _Mpris2Watcher

Definition at line 179 of file test-mpris-backend-client.c.

Collaboration diagram for _Mpris2Watcher:
Class Members
GObject parent_instance
Mpris2WatcherPrivate * priv
struct _Mpris2WatcherClass

Definition at line 184 of file test-mpris-backend-client.c.

Class Members
GObjectClass parent_class
struct _Mpris2WatcherPrivate

Definition at line 188 of file test-mpris-backend-client.c.

Class Members
FreeDesktopObject * fdesktop_obj
struct _Mpris2WatcherCheckForActiveClientsData

Definition at line 192 of file test-mpris-backend-client.c.

Collaboration diagram for _Mpris2WatcherCheckForActiveClientsData:
Class Members
gint __tmp3__size_
gint _address_collection_size_
GSimpleAsyncResult * _async_result
GError * _inner_error_
gint _interfaces_size_
GAsyncResult * _res_
GObject * _source_object_
int _state_
FreeDesktopObject * _tmp0_
const gchar * _tmp10_
MprisRoot * _tmp11_
MprisRoot * _tmp12_
gint _tmp1_
gchar ** _tmp2_
gchar ** _tmp3_
gint _tmp3__length1
GError * _tmp4_
const gchar * _tmp5_
gchar ** _tmp6_
gint _tmp6__length1
gchar * _tmp7_
const gchar * _tmp8_
gboolean _tmp9_
gchar * address
gchar ** address_collection
gint address_collection_length1
gint address_it
GError * e
gchar ** interfaces
gint interfaces_length1
MprisRoot * mpris2_root
Mpris2Watcher * self
struct _Mpris2Controller

Definition at line 227 of file test-mpris-backend-client.c.

Collaboration diagram for _Mpris2Controller:
Class Members
MprisRoot * mpris2_root
GObject parent_instance
MprisPlayer * player
MprisPlaylists * playlists
Mpris2ControllerPrivate * priv
FreeDesktopProperties * properties_interface
GeeArrayList * received_prop_updates_for_active_playlists
GeeArrayList * received_prop_updates_for_metadata_change
GeeArrayList * received_prop_updates_for_playback_status
struct _Mpris2ControllerClass

Definition at line 235 of file test-mpris-backend-client.c.

Class Members
GObjectClass parent_class
struct _Mpris2ControllerPrivate

Definition at line 239 of file test-mpris-backend-client.c.

Class Members
gchar * _dbus_name
GeeHashMap * _name_changed_playlistdetails
struct _MprisClient

Definition at line 244 of file test-mpris-backend-client.c.

Collaboration diagram for _MprisClient:
Class Members
GObject parent_instance
MprisClientPrivate * priv
Mpris2Watcher * watcher
struct _MprisClientClass

Definition at line 250 of file test-mpris-backend-client.c.

Class Members
GObjectClass parent_class
struct _MprisClientPrivate

Definition at line 254 of file test-mpris-backend-client.c.

Class Members
GMainLoop * _mainloop
struct _Block1Data

Definition at line 224 of file protocol-previews.c.

Class Members
gpointer _async_data_
int _ref_count_
UnityProtocolApplicationPreview * _result_
Mpris2Controller * contr
Mpris2Controller * controller
gchar * desc
gboolean got_generate_preview_signal
gboolean got_search_changed
GMainLoop * ml
UnityScopeProxy * scope
UnityLensImpl * self
gboolean timeout_reached
gchar * title
gboolean was_changed
struct _Block2Data

Definition at line 243 of file protocol-previews.c.

Class Members
gpointer _async_data_
int _ref_count_
UnityProtocolMusicPreview * _result_
GHashTable * _result_
Mpris2Controller * controller
gboolean got_search_changed
gboolean got_signal
GMainLoop * ml
gint num_scopes
gboolean scope_up
UnityLensImpl * self
gboolean timeout_reached
struct _Block3Data

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

Class Members
gpointer _async_data_
Block2Data * _data2_
int _ref_count_
UnityProtocolMoviePreview * _result_
GDBusConnection * bus
GFunc cb
gpointer cb_target
Mpris2Controller * contr
gboolean got_signal
UnityLensSearch * lens_search
GMainLoop * ml
guint64 seqnum
struct _MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData

Definition at line 300 of file test-mpris-backend-prop-updates-client.c.

Collaboration diagram for _MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData:
Class Members
GSimpleAsyncResult * _async_result
Block3Data * _data3_
GError * _inner_error_
gint _pls_size_
GAsyncResult * _res_
GObject * _source_object_
int _state_
Mpris2Controller * _tmp0_
MprisPlaylists * _tmp1_
gint _tmp2_
PlaylistDetails * _tmp3_
MprisPlaylists * _tmp4_
PlaylistDetails _tmp5_
const char * _tmp6_
GMainLoop * _tmp7_
GError * e
GMainLoop * loop
PlaylistDetails * pls
gint pls_length1

Define Documentation

#define _active_playlist_container_free0 (   var)    ((var == NULL) ? NULL : (var = (active_playlist_container_free (var), NULL)))

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

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

Definition at line 93 of file test-mpris-backend-prop-updates-client.c.

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

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

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

Definition at line 50 of file test-mpris-backend-prop-updates-client.c.

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

Definition at line 117 of file test-mpris-backend-prop-updates-client.c.

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

Definition at line 92 of file test-mpris-backend-prop-updates-client.c.

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

Definition at line 120 of file test-mpris-backend-prop-updates-client.c.

#define _vala_assert (   expr,
  msg 
)    if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

Definition at line 124 of file test-mpris-backend-prop-updates-client.c.

#define FREE_DESKTOP_OBJECT (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FREE_DESKTOP_OBJECT, FreeDesktopObject))

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

#define FREE_DESKTOP_OBJECT_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_FREE_DESKTOP_OBJECT, FreeDesktopObjectIface))

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

#define FREE_DESKTOP_PROPERTIES (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_FREE_DESKTOP_PROPERTIES, FreeDesktopProperties))

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

#define FREE_DESKTOP_PROPERTIES_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_FREE_DESKTOP_PROPERTIES, FreeDesktopPropertiesIface))

Definition at line 73 of file test-mpris-backend-prop-updates-client.c.

#define FREEDESKTOP_OBJECT   "/org/freedesktop/DBus"

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

#define FREEDESKTOP_SERVICE   "org.freedesktop.DBus"

Definition at line 329 of file test-mpris-backend-prop-updates-client.c.

#define IS_FREE_DESKTOP_OBJECT (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FREE_DESKTOP_OBJECT))

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

#define IS_FREE_DESKTOP_PROPERTIES (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_FREE_DESKTOP_PROPERTIES))

Definition at line 72 of file test-mpris-backend-prop-updates-client.c.

#define IS_MPRIS2_CONTROLLER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS2_CONTROLLER))

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

#define IS_MPRIS2_CONTROLLER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS2_CONTROLLER))

Definition at line 100 of file test-mpris-backend-prop-updates-client.c.

#define IS_MPRIS2_WATCHER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS2_WATCHER))

Definition at line 85 of file test-mpris-backend-prop-updates-client.c.

#define IS_MPRIS2_WATCHER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS2_WATCHER))

Definition at line 86 of file test-mpris-backend-prop-updates-client.c.

#define IS_MPRIS_CLIENT (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_CLIENT))

Definition at line 110 of file test-mpris-backend-prop-updates-client.c.

#define IS_MPRIS_CLIENT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MPRIS_CLIENT))

Definition at line 111 of file test-mpris-backend-prop-updates-client.c.

#define IS_MPRIS_PLAYER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_PLAYER))

Definition at line 41 of file test-mpris-backend-prop-updates-client.c.

#define IS_MPRIS_PLAYLISTS (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_PLAYLISTS))

Definition at line 60 of file test-mpris-backend-prop-updates-client.c.

#define IS_MPRIS_ROOT (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MPRIS_ROOT))

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

#define MPRIS2_CONTROLLER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS2_CONTROLLER, Mpris2Controller))

Definition at line 97 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS2_CONTROLLER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerClass))

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

#define MPRIS2_CONTROLLER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerClass))

Definition at line 101 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS2_CONTROLLER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS2_CONTROLLER, Mpris2ControllerPrivate))
#define MPRIS2_WATCHER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS2_WATCHER, Mpris2Watcher))

Definition at line 83 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS2_WATCHER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS2_WATCHER, Mpris2WatcherClass))

Definition at line 84 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS2_WATCHER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS2_WATCHER, Mpris2WatcherClass))

Definition at line 87 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS2_WATCHER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS2_WATCHER, Mpris2WatcherPrivate))
#define MPRIS_CLIENT (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_CLIENT, MprisClient))

Definition at line 108 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS_CLIENT_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MPRIS_CLIENT, MprisClientClass))

Definition at line 109 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS_CLIENT_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MPRIS_CLIENT, MprisClientClass))

Definition at line 112 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS_CLIENT_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MPRIS_CLIENT, MprisClientPrivate))
#define MPRIS_MEDIA_PLAYER_PATH   "/org/mpris/MediaPlayer2"

Definition at line 328 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS_PLAYER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_PLAYER, MprisPlayer))

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

#define MPRIS_PLAYER_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_PLAYER, MprisPlayerIface))

Definition at line 42 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS_PLAYLISTS (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_PLAYLISTS, MprisPlaylists))

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

#define MPRIS_PLAYLISTS_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_PLAYLISTS, MprisPlaylistsIface))

Definition at line 61 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS_PREFIX   "org.mpris.MediaPlayer2."

Definition at line 327 of file test-mpris-backend-prop-updates-client.c.

#define MPRIS_ROOT (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MPRIS_ROOT, MprisRoot))

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

#define MPRIS_ROOT_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MPRIS_ROOT, MprisRootIface))

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

Definition at line 55 of file test-mpris-backend-prop-updates-client.c.

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

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

Definition at line 70 of file test-mpris-backend-prop-updates-client.c.

#define TYPE_FREE_DESKTOP_PROPERTIES_PROXY   (free_desktop_properties_proxy_get_type ())

Definition at line 78 of file test-mpris-backend-prop-updates-client.c.

Definition at line 96 of file test-mpris-backend-prop-updates-client.c.

Definition at line 82 of file test-mpris-backend-prop-updates-client.c.

Definition at line 107 of file test-mpris-backend-prop-updates-client.c.

Definition at line 39 of file test-mpris-backend-prop-updates-client.c.

#define TYPE_MPRIS_PLAYER_PROXY   (mpris_player_proxy_get_type ())

Definition at line 47 of file test-mpris-backend-prop-updates-client.c.

Definition at line 58 of file test-mpris-backend-prop-updates-client.c.

#define TYPE_MPRIS_PLAYLISTS_PROXY   (mpris_playlists_proxy_get_type ())

Definition at line 66 of file test-mpris-backend-prop-updates-client.c.

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

#define TYPE_MPRIS_ROOT_PROXY   (mpris_root_proxy_get_type ())

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

Definition at line 52 of file test-mpris-backend-prop-updates-client.c.

#define XML_ERROR   xml_error_quark ()

Definition at line 201 of file test-mpris-backend-prop-updates-client.c.


Typedef Documentation

typedef struct _ActivePlaylistContainer

Definition at line 56 of file test-mpris-backend-prop-updates-client.c.

typedef struct _Block1Data

Definition at line 118 of file test-mpris-backend-prop-updates-client.c.

typedef struct _Block2Data

Definition at line 119 of file test-mpris-backend-prop-updates-client.c.

typedef struct _Block3Data

Definition at line 121 of file test-mpris-backend-prop-updates-client.c.

typedef struct _FreeDesktopObject

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

typedef struct _FreeDesktopObjectIface

Definition at line 20 of file test-mpris-backend-prop-updates-client.c.

typedef struct _FreeDesktopProperties

Definition at line 75 of file test-mpris-backend-prop-updates-client.c.

Definition at line 76 of file test-mpris-backend-prop-updates-client.c.

typedef struct _Mpris2Controller

Definition at line 103 of file test-mpris-backend-prop-updates-client.c.

typedef struct _Mpris2ControllerClass

Definition at line 104 of file test-mpris-backend-prop-updates-client.c.

typedef struct _Mpris2ControllerPrivate

Definition at line 105 of file test-mpris-backend-prop-updates-client.c.

typedef struct _Mpris2Watcher

Definition at line 89 of file test-mpris-backend-prop-updates-client.c.

Definition at line 94 of file test-mpris-backend-prop-updates-client.c.

typedef struct _Mpris2WatcherClass

Definition at line 90 of file test-mpris-backend-prop-updates-client.c.

typedef struct _Mpris2WatcherPrivate

Definition at line 91 of file test-mpris-backend-prop-updates-client.c.

typedef struct _MprisClient

Definition at line 114 of file test-mpris-backend-prop-updates-client.c.

typedef struct _MprisClientClass

Definition at line 115 of file test-mpris-backend-prop-updates-client.c.

Definition at line 123 of file test-mpris-backend-prop-updates-client.c.

typedef struct _MprisClientPrivate

Definition at line 116 of file test-mpris-backend-prop-updates-client.c.

typedef struct _MprisPlayer

Definition at line 44 of file test-mpris-backend-prop-updates-client.c.

typedef struct _MprisPlayerIface

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

typedef struct _MprisPlaylists

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

typedef struct _MprisPlaylistsIface

Definition at line 64 of file test-mpris-backend-prop-updates-client.c.

typedef struct _MprisRoot

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

typedef struct _MprisRootIface

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

typedef struct _PlaylistDetails

Definition at line 53 of file test-mpris-backend-prop-updates-client.c.

typedef GDBusProxy FreeDesktopObjectProxy

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

typedef GDBusProxyClass FreeDesktopObjectProxyClass

Definition at line 24 of file test-mpris-backend-prop-updates-client.c.

typedef GDBusProxy FreeDesktopPropertiesProxy

Definition at line 79 of file test-mpris-backend-prop-updates-client.c.

typedef GDBusProxyClass FreeDesktopPropertiesProxyClass

Definition at line 80 of file test-mpris-backend-prop-updates-client.c.

typedef GDBusProxy MprisPlayerProxy

Definition at line 48 of file test-mpris-backend-prop-updates-client.c.

typedef GDBusProxyClass MprisPlayerProxyClass

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

typedef GDBusProxy MprisPlaylistsProxy

Definition at line 67 of file test-mpris-backend-prop-updates-client.c.

typedef GDBusProxyClass MprisPlaylistsProxyClass

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

typedef GDBusProxy MprisRootProxy

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

typedef GDBusProxyClass MprisRootProxyClass

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


Enumeration Type Documentation

enum XmlError
Enumerator:
XML_ERROR_FILE_NOT_FOUND 
XML_ERROR_XML_DOCUMENT_EMPTY 

Definition at line 197 of file test-mpris-backend-prop-updates-client.c.


Function Documentation

static gboolean ____lambda5__gsource_func ( gpointer  self) [static]

Definition at line 4574 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda2__gsource_func ( gpointer  self) [static]

Definition at line 4149 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

static gboolean ___lambda3__gsource_func ( gpointer  self) [static]

Definition at line 4288 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda4__gsource_func ( gpointer  self) [static]

Definition at line 4422 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda5_ ( Block3Data *  _data3_) [static]

Definition at line 4514 of file test-mpris-backend-prop-updates-client.c.

                                                  {
       gboolean result = FALSE;
       GeeArrayList* _tmp0_;
       gint _tmp1_;
       gint _tmp2_;
       GeeArrayList* _tmp3_;
       gpointer _tmp4_ = NULL;
       ActivePlaylistContainer* _tmp5_;
       gboolean _tmp6_;
       GeeArrayList* _tmp7_;
       gpointer _tmp8_ = NULL;
       ActivePlaylistContainer* _tmp9_;
       PlaylistDetails _tmp10_;
       const char* _tmp11_;
       GeeArrayList* _tmp12_;
       gpointer _tmp13_ = NULL;
       ActivePlaylistContainer* _tmp14_;
       PlaylistDetails _tmp15_;
       const gchar* _tmp16_;
       GeeArrayList* _tmp17_;
       gpointer _tmp18_ = NULL;
       ActivePlaylistContainer* _tmp19_;
       PlaylistDetails _tmp20_;
       const gchar* _tmp21_;
       _tmp0_ = _data3_->contr->received_prop_updates_for_active_playlists;
       _tmp1_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp0_);
       _tmp2_ = _tmp1_;
       _vala_assert (_tmp2_ == 1, "contr.received_prop_updates_for_active_playlists.size == 1");
       _tmp3_ = _data3_->contr->received_prop_updates_for_active_playlists;
       _tmp4_ = gee_abstract_list_get ((GeeAbstractList*) _tmp3_, 0);
       _tmp5_ = (ActivePlaylistContainer*) _tmp4_;
       _tmp6_ = (*_tmp5_).valid;
       _vala_assert (_tmp6_ == TRUE, "contr.received_prop_updates_for_active_playlists[0].valid == true");
       _active_playlist_container_free0 (_tmp5_);
       _tmp7_ = _data3_->contr->received_prop_updates_for_active_playlists;
       _tmp8_ = gee_abstract_list_get ((GeeAbstractList*) _tmp7_, 0);
       _tmp9_ = (ActivePlaylistContainer*) _tmp8_;
       _tmp10_ = (*_tmp9_).details;
       _tmp11_ = _tmp10_.path;
       _vala_assert (g_strcmp0 (_tmp11_, "/fake/pl2/id") == 0, "contr.received_prop_updates_for_active_playlists[0].details.path == \"/fake/pl2/id\"");
       _active_playlist_container_free0 (_tmp9_);
       _tmp12_ = _data3_->contr->received_prop_updates_for_active_playlists;
       _tmp13_ = gee_abstract_list_get ((GeeAbstractList*) _tmp12_, 0);
       _tmp14_ = (ActivePlaylistContainer*) _tmp13_;
       _tmp15_ = (*_tmp14_).details;
       _tmp16_ = _tmp15_.name;
       _vala_assert (g_strcmp0 (_tmp16_, "another playlist") == 0, "contr.received_prop_updates_for_active_playlists[0].details.name == \"another playlist\"");
       _active_playlist_container_free0 (_tmp14_);
       _tmp17_ = _data3_->contr->received_prop_updates_for_active_playlists;
       _tmp18_ = gee_abstract_list_get ((GeeAbstractList*) _tmp17_, 0);
       _tmp19_ = (ActivePlaylistContainer*) _tmp18_;
       _tmp20_ = (*_tmp19_).details;
       _tmp21_ = _tmp20_.icon_name;
       _vala_assert (g_strcmp0 (_tmp21_, "audio-volume-high") == 0, "contr.received_prop_updates_for_active_playlists[0].details.icon_name == \"audio-volume-high\"");
       _active_playlist_container_free0 (_tmp19_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static gboolean __lambda2_ ( MprisClient *  self) [static]

Definition at line 4139 of file test-mpris-backend-prop-updates-client.c.

                                               {
       gboolean result = FALSE;
       gboolean _tmp0_ = FALSE;
       mpris_client_run_tests ();
       _tmp0_ = mpris_client_escape (self);
       result = _tmp0_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda3_ ( Block1Data *  _data1_) [static]

Definition at line 4273 of file test-mpris-backend-prop-updates-client.c.

                                                 {
       gboolean result = FALSE;
       GeeArrayList* _tmp0_;
       gpointer _tmp1_ = NULL;
       gchar* _tmp2_;
       _tmp0_ = _data1_->controller->received_prop_updates_for_playback_status;
       _tmp1_ = gee_abstract_list_get ((GeeAbstractList*) _tmp0_, 0);
       _tmp2_ = (gchar*) _tmp1_;
       _vala_assert (g_strcmp0 (_tmp2_, "Playing") == 0, "controller.received_prop_updates_for_playback_status[0] == \"Playing\"");
       _g_free0 (_tmp2_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static gboolean __lambda4_ ( Block2Data *  _data2_) [static]

Definition at line 4332 of file test-mpris-backend-prop-updates-client.c.

                                                 {
       gboolean result = FALSE;
       GeeArrayList* _tmp0_;
       gint _tmp1_;
       gint _tmp2_;
       GeeArrayList* _tmp3_;
       gpointer _tmp4_ = NULL;
       GHashTable* _tmp5_;
       gconstpointer _tmp6_ = NULL;
       GVariant* _tmp7_;
       GVariant* _tmp8_;
       GVariant* artist_v;
       const gchar* _tmp9_ = NULL;
       GeeArrayList* _tmp10_;
       gpointer _tmp11_ = NULL;
       GHashTable* _tmp12_;
       gconstpointer _tmp13_ = NULL;
       GVariant* _tmp14_;
       GVariant* _tmp15_;
       GVariant* album_v;
       const gchar* _tmp16_ = NULL;
       GeeArrayList* _tmp17_;
       gpointer _tmp18_ = NULL;
       GHashTable* _tmp19_;
       gconstpointer _tmp20_ = NULL;
       GVariant* _tmp21_;
       GVariant* _tmp22_;
       GVariant* title_v;
       const gchar* _tmp23_ = NULL;
       GeeArrayList* _tmp24_;
       gpointer _tmp25_ = NULL;
       GHashTable* _tmp26_;
       gconstpointer _tmp27_ = NULL;
       GVariant* _tmp28_;
       GVariant* _tmp29_;
       GVariant* art_v;
       const gchar* _tmp30_ = NULL;
       _tmp0_ = _data2_->controller->received_prop_updates_for_metadata_change;
       _tmp1_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp0_);
       _tmp2_ = _tmp1_;
       _vala_assert (_tmp2_ == 1, "controller.received_prop_updates_for_metadata_change.size == 1");
       _tmp3_ = _data2_->controller->received_prop_updates_for_metadata_change;
       _tmp4_ = gee_abstract_list_get ((GeeAbstractList*) _tmp3_, 0);
       _tmp5_ = (GHashTable*) _tmp4_;
       _tmp6_ = g_hash_table_lookup (_tmp5_, "xesam:artist");
       _tmp7_ = _g_variant_ref0 ((GVariant*) _tmp6_);
       _tmp8_ = _tmp7_;
       _g_hash_table_unref0 (_tmp5_);
       artist_v = _tmp8_;
       _tmp9_ = g_variant_get_string (artist_v, NULL);
       _vala_assert (g_strcmp0 (_tmp9_, "Sonnamble") == 0, "artist_v.get_string() == \"Sonnamble\"");
       _tmp10_ = _data2_->controller->received_prop_updates_for_metadata_change;
       _tmp11_ = gee_abstract_list_get ((GeeAbstractList*) _tmp10_, 0);
       _tmp12_ = (GHashTable*) _tmp11_;
       _tmp13_ = g_hash_table_lookup (_tmp12_, "xesam:album");
       _tmp14_ = _g_variant_ref0 ((GVariant*) _tmp13_);
       _tmp15_ = _tmp14_;
       _g_hash_table_unref0 (_tmp12_);
       album_v = _tmp15_;
       _tmp16_ = g_variant_get_string (album_v, NULL);
       _vala_assert (g_strcmp0 (_tmp16_, "Seven months in E minor") == 0, "album_v.get_string() == \"Seven months in E minor\"");
       _tmp17_ = _data2_->controller->received_prop_updates_for_metadata_change;
       _tmp18_ = gee_abstract_list_get ((GeeAbstractList*) _tmp17_, 0);
       _tmp19_ = (GHashTable*) _tmp18_;
       _tmp20_ = g_hash_table_lookup (_tmp19_, "xesam:title");
       _tmp21_ = _g_variant_ref0 ((GVariant*) _tmp20_);
       _tmp22_ = _tmp21_;
       _g_hash_table_unref0 (_tmp19_);
       title_v = _tmp22_;
       _tmp23_ = g_variant_get_string (title_v, NULL);
       _vala_assert (g_strcmp0 (_tmp23_, "Sehnsucht") == 0, "title_v.get_string() == \"Sehnsucht\"");
       _tmp24_ = _data2_->controller->received_prop_updates_for_metadata_change;
       _tmp25_ = gee_abstract_list_get ((GeeAbstractList*) _tmp24_, 0);
       _tmp26_ = (GHashTable*) _tmp25_;
       _tmp27_ = g_hash_table_lookup (_tmp26_, "mpris:artUrl");
       _tmp28_ = _g_variant_ref0 ((GVariant*) _tmp27_);
       _tmp29_ = _tmp28_;
       _g_hash_table_unref0 (_tmp26_);
       art_v = _tmp29_;
       _tmp30_ = g_variant_get_string (art_v, NULL);
       _vala_assert (g_strcmp0 (_tmp30_, "file:///home/user/download/sonnamble.jpg") == 0, "art_v.get_string() == \"file:///home/user/download/sonnamble.jpg\"");
       result = FALSE;
       _g_variant_unref0 (art_v);
       _g_variant_unref0 (title_v);
       _g_variant_unref0 (album_v);
       _g_variant_unref0 (artist_v);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_free_desktop_object_list_names ( FreeDesktopObject *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 865 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                    {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       free_desktop_object_list_names (self, (GAsyncReadyCallback) _dbus_free_desktop_object_list_names_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 872 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                             {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       gchar** result;
       int result_length1 = 0;
       gchar** _tmp7_;
       GVariantBuilder _tmp8_;
       int _tmp9_;
       invocation = _user_data_;
       result = free_desktop_object_list_names_finish ((FreeDesktopObject*) 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);
       _tmp7_ = result;
       g_variant_builder_init (&_tmp8_, G_VARIANT_TYPE ("as"));
       for (_tmp9_ = 0; _tmp9_ < result_length1; _tmp9_++) {
              g_variant_builder_add_value (&_tmp8_, g_variant_new_string (*_tmp7_));
              _tmp7_++;
       }
       g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp8_));
       result = (_vala_array_free (result, result_length1, (GDestroyNotify) g_free), 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 void _dbus_free_desktop_object_name_owner_changed ( GObject *  _sender,
const gchar *  name,
const gchar *  old_owner,
const gchar *  new_owner,
gpointer *  _data 
) [static]

Definition at line 938 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                {
       GDBusConnection * _connection;
       const gchar * _path;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       _connection = _data[1];
       _path = _data[2];
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (name));
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (old_owner));
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (new_owner));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_connection_emit_signal (_connection, NULL, _path, "org.freedesktop.DBus", "NameOwnerChanged", _arguments, NULL);
}

Here is the caller graph for this function:

static void _dbus_free_desktop_properties_properties_changed ( GObject *  _sender,
const gchar *  source,
GHashTable *  changed_properties,
gchar **  invalid,
int  invalid_length1,
gpointer *  _data 
) [static]

Definition at line 3389 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                            {
       GDBusConnection * _connection;
       const gchar * _path;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       GVariantBuilder _tmp97_;
       GHashTableIter _tmp98_;
       gpointer _tmp99_;
       gpointer _tmp100_;
       gchar** _tmp101_;
       GVariantBuilder _tmp102_;
       int _tmp103_;
       _connection = _data[1];
       _path = _data[2];
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (source));
       g_hash_table_iter_init (&_tmp98_, changed_properties);
       g_variant_builder_init (&_tmp97_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp98_, &_tmp99_, &_tmp100_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp99_;
              _value = (GVariant*) _tmp100_;
              g_variant_builder_add (&_tmp97_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp97_));
       _tmp101_ = invalid;
       g_variant_builder_init (&_tmp102_, G_VARIANT_TYPE ("as"));
       for (_tmp103_ = 0; _tmp103_ < invalid_length1; _tmp103_++) {
              g_variant_builder_add_value (&_tmp102_, g_variant_new_string (*_tmp101_));
              _tmp101_++;
       }
       g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp102_));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_connection_emit_signal (_connection, NULL, _path, "org.freedesktop.DBus.Properties", "PropertiesChanged", _arguments, NULL);
}

Here is the caller graph for this function:

static void _dbus_handle_free_desktop_object_name_owner_changed ( FreeDesktopObject *  self,
GVariant *  parameters 
) [static]

Definition at line 754 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                {
       GVariantIter _arguments_iter;
       gchar* name = NULL;
       GVariant* _tmp0_;
       gchar* old_owner = NULL;
       GVariant* _tmp1_;
       gchar* new_owner = NULL;
       GVariant* _tmp2_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp0_ = g_variant_iter_next_value (&_arguments_iter);
       name = g_variant_dup_string (_tmp0_, NULL);
       g_variant_unref (_tmp0_);
       _tmp1_ = g_variant_iter_next_value (&_arguments_iter);
       old_owner = g_variant_dup_string (_tmp1_, NULL);
       g_variant_unref (_tmp1_);
       _tmp2_ = g_variant_iter_next_value (&_arguments_iter);
       new_owner = g_variant_dup_string (_tmp2_, NULL);
       g_variant_unref (_tmp2_);
       g_signal_emit_by_name (self, "name-owner-changed", name, old_owner, new_owner);
       _g_free0 (name);
       _g_free0 (old_owner);
       _g_free0 (new_owner);
}

Here is the caller graph for this function:

static void _dbus_handle_free_desktop_properties_properties_changed ( FreeDesktopProperties *  self,
GVariant *  parameters 
) [static]

Definition at line 3290 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                        {
       GVariantIter _arguments_iter;
       gchar* source = NULL;
       GVariant* _tmp87_;
       GHashTable* changed_properties = NULL;
       GVariant* _tmp88_;
       GHashTable* _tmp89_;
       GVariantIter _tmp90_;
       GVariant* _tmp91_;
       GVariant* _tmp92_;
       gchar** invalid = NULL;
       int invalid_length1;
       GVariant* _tmp93_;
       gchar** _tmp94_;
       int _tmp94__length;
       int _tmp94__size;
       int _tmp94__length1;
       GVariantIter _tmp95_;
       GVariant* _tmp96_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp87_ = g_variant_iter_next_value (&_arguments_iter);
       source = g_variant_dup_string (_tmp87_, NULL);
       g_variant_unref (_tmp87_);
       _tmp88_ = g_variant_iter_next_value (&_arguments_iter);
       _tmp89_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp90_, _tmp88_);
       while (g_variant_iter_loop (&_tmp90_, "{?*}", &_tmp91_, &_tmp92_)) {
              g_hash_table_insert (_tmp89_, g_variant_dup_string (_tmp91_, NULL), g_variant_get_variant (_tmp92_));
       }
       changed_properties = _tmp89_;
       g_variant_unref (_tmp88_);
       invalid_length1 = 0;
       _tmp93_ = g_variant_iter_next_value (&_arguments_iter);
       _tmp94_ = g_new (gchar*, 5);
       _tmp94__length = 0;
       _tmp94__size = 4;
       _tmp94__length1 = 0;
       g_variant_iter_init (&_tmp95_, _tmp93_);
       for (; (_tmp96_ = g_variant_iter_next_value (&_tmp95_)) != NULL; _tmp94__length1++) {
              if (_tmp94__size == _tmp94__length) {
                     _tmp94__size = 2 * _tmp94__size;
                     _tmp94_ = g_renew (gchar*, _tmp94_, _tmp94__size + 1);
              }
              _tmp94_[_tmp94__length++] = g_variant_dup_string (_tmp96_, NULL);
              g_variant_unref (_tmp96_);
       }
       invalid_length1 = _tmp94__length1;
       _tmp94_[_tmp94__length] = NULL;
       invalid = _tmp94_;
       g_variant_unref (_tmp93_);
       g_signal_emit_by_name (self, "properties-changed", source, changed_properties, invalid, invalid_length1);
       _g_free0 (source);
       _g_hash_table_unref0 (changed_properties);
       invalid = (_vala_array_free (invalid, invalid_length1, (GDestroyNotify) g_free), NULL);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_handle_mpris_player_seeked ( MprisPlayer *  self,
GVariant *  parameters 
) [static]

Definition at line 1747 of file test-mpris-backend-prop-updates-client.c.

                                                                                       {
       GVariantIter _arguments_iter;
       gint64 new_position = 0LL;
       GVariant* _tmp10_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp10_ = g_variant_iter_next_value (&_arguments_iter);
       new_position = g_variant_get_int64 (_tmp10_);
       g_variant_unref (_tmp10_);
       g_signal_emit_by_name (self, "seeked", new_position);
}

Here is the caller graph for this function:

static void _dbus_handle_mpris_playlists_playlist_changed ( MprisPlaylists *  self,
GVariant *  parameters 
) [static]

Definition at line 2549 of file test-mpris-backend-prop-updates-client.c.

                                                                                                       {
       GVariantIter _arguments_iter;
       PlaylistDetails details = {0};
       GVariant* _tmp28_;
       PlaylistDetails _tmp29_;
       GVariantIter _tmp30_;
       GVariant* _tmp31_;
       GVariant* _tmp32_;
       GVariant* _tmp33_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp28_ = g_variant_iter_next_value (&_arguments_iter);
       g_variant_iter_init (&_tmp30_, _tmp28_);
       _tmp31_ = g_variant_iter_next_value (&_tmp30_);
       _tmp29_.path = g_variant_dup_string (_tmp31_, NULL);
       g_variant_unref (_tmp31_);
       _tmp32_ = g_variant_iter_next_value (&_tmp30_);
       _tmp29_.name = g_variant_dup_string (_tmp32_, NULL);
       g_variant_unref (_tmp32_);
       _tmp33_ = g_variant_iter_next_value (&_tmp30_);
       _tmp29_.icon_name = g_variant_dup_string (_tmp33_, NULL);
       g_variant_unref (_tmp33_);
       details = _tmp29_;
       g_variant_unref (_tmp28_);
       g_signal_emit_by_name (self, "playlist-changed", &details);
       playlist_details_destroy (&details);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_player_get_Metadata ( MprisPlayer *  self) [static]

Definition at line 2195 of file test-mpris-backend-prop-updates-client.c.

                                                                     {
       GHashTable* result;
       GVariantBuilder _tmp20_;
       GHashTableIter _tmp21_;
       gpointer _tmp22_;
       gpointer _tmp23_;
       GVariant* _reply;
       result = mpris_player_get_Metadata (self);
       g_hash_table_iter_init (&_tmp21_, result);
       g_variant_builder_init (&_tmp20_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp21_, &_tmp22_, &_tmp23_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp22_;
              _value = (GVariant*) _tmp23_;
              g_variant_builder_add (&_tmp20_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       _reply = g_variant_builder_end (&_tmp20_);
       _g_hash_table_unref0 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_player_get_PlaybackStatus ( MprisPlayer *  self) [static]

Definition at line 2227 of file test-mpris-backend-prop-updates-client.c.

                                                                           {
       gchar* result;
       GVariant* _reply;
       result = mpris_player_get_PlaybackStatus (self);
       _reply = g_variant_new_string (result);
       _g_free0 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_player_get_Position ( MprisPlayer *  self) [static]

Definition at line 2218 of file test-mpris-backend-prop-updates-client.c.

                                                                     {
       gint32 result;
       GVariant* _reply;
       result = mpris_player_get_Position (self);
       _reply = g_variant_new_int32 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_Next ( MprisPlayer *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2084 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                 {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       mpris_player_Next (self, (GAsyncReadyCallback) _dbus_mpris_player_Next_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 2091 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_player_Next_finish ((MprisPlayer*) 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_mpris_player_PlayPause ( MprisPlayer *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2055 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                      {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       mpris_player_PlayPause (self, (GAsyncReadyCallback) _dbus_mpris_player_PlayPause_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 2062 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                     {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_player_PlayPause_finish ((MprisPlayer*) 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_mpris_player_Previous ( MprisPlayer *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2113 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                     {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       mpris_player_Previous (self, (GAsyncReadyCallback) _dbus_mpris_player_Previous_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 2120 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                    {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_player_Previous_finish ((MprisPlayer*) 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_mpris_player_Seek ( MprisPlayer *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2142 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                 {
       GVariantIter _arguments_iter;
       gint64 offset = 0LL;
       GVariant* _tmp19_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp19_ = g_variant_iter_next_value (&_arguments_iter);
       offset = g_variant_get_int64 (_tmp19_);
       g_variant_unref (_tmp19_);
       mpris_player_Seek (self, offset, (GAsyncReadyCallback) _dbus_mpris_player_Seek_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 2154 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_player_Seek_finish ((MprisPlayer*) 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_mpris_player_seeked ( GObject *  _sender,
gint64  new_position,
gpointer *  _data 
) [static]

Definition at line 2304 of file test-mpris-backend-prop-updates-client.c.

                                                                                               {
       GDBusConnection * _connection;
       const gchar * _path;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       _connection = _data[1];
       _path = _data[2];
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_int64 (new_position));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_connection_emit_signal (_connection, NULL, _path, "org.mpris.MediaPlayer2.Player", "Seeked", _arguments, NULL);
}

Here is the caller graph for this function:

static void _dbus_mpris_player_set_Metadata ( MprisPlayer *  self,
GVariant *  _value 
) [static]

Definition at line 2253 of file test-mpris-backend-prop-updates-client.c.

                                                                                  {
       GHashTable* value = NULL;
       GHashTable* _tmp24_;
       GVariantIter _tmp25_;
       GVariant* _tmp26_;
       GVariant* _tmp27_;
       _tmp24_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp25_, _value);
       while (g_variant_iter_loop (&_tmp25_, "{?*}", &_tmp26_, &_tmp27_)) {
              g_hash_table_insert (_tmp24_, g_variant_dup_string (_tmp26_, NULL), g_variant_get_variant (_tmp27_));
       }
       value = _tmp24_;
       mpris_player_set_Metadata (self, value);
       _g_hash_table_unref0 (value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_set_PlaybackStatus ( MprisPlayer *  self,
GVariant *  _value 
) [static]

Definition at line 2277 of file test-mpris-backend-prop-updates-client.c.

                                                                                        {
       gchar* value = NULL;
       value = g_variant_dup_string (_value, NULL);
       mpris_player_set_PlaybackStatus (self, value);
       _g_free0 (value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_player_set_Position ( MprisPlayer *  self,
GVariant *  _value 
) [static]

Definition at line 2270 of file test-mpris-backend-prop-updates-client.c.

                                                                                  {
       gint32 value = 0;
       value = g_variant_get_int32 (_value);
       mpris_player_set_Position (self, value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_playlists_ActivatePlaylist ( MprisPlaylists *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2910 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                   {
       GVariantIter _arguments_iter;
       char* playlist_id = NULL;
       GVariant* _tmp60_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp60_ = g_variant_iter_next_value (&_arguments_iter);
       playlist_id = g_variant_dup_string (_tmp60_, NULL);
       g_variant_unref (_tmp60_);
       mpris_playlists_ActivatePlaylist (self, playlist_id, (GAsyncReadyCallback) _dbus_mpris_playlists_ActivatePlaylist_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_mpris_playlists_ActivatePlaylist_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 2923 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                               {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_playlists_ActivatePlaylist_finish ((MprisPlaylists*) 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_mpris_playlists_get_ActivePlaylist ( MprisPlaylists *  self) [static]

Definition at line 3068 of file test-mpris-backend-prop-updates-client.c.

                                                                                 {
       ActivePlaylistContainer result = {0};
       GVariantBuilder _tmp72_;
       GVariantBuilder _tmp73_;
       GVariant* _reply;
       mpris_playlists_get_ActivePlaylist (self, &result);
       g_variant_builder_init (&_tmp72_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp72_, g_variant_new_boolean (result.valid));
       g_variant_builder_init (&_tmp73_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp73_, g_variant_new_object_path (result.details.path));
       g_variant_builder_add_value (&_tmp73_, g_variant_new_string (result.details.name));
       g_variant_builder_add_value (&_tmp73_, g_variant_new_string (result.details.icon_name));
       g_variant_builder_add_value (&_tmp72_, g_variant_builder_end (&_tmp73_));
       _reply = g_variant_builder_end (&_tmp72_);
       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_mpris_playlists_get_Orderings ( MprisPlaylists *  self) [static]

Definition at line 3039 of file test-mpris-backend-prop-updates-client.c.

                                                                            {
       gchar** result;
       int result_length1;
       gchar** _tmp69_;
       GVariantBuilder _tmp70_;
       int _tmp71_;
       GVariant* _reply;
       result = mpris_playlists_get_Orderings (self, &result_length1);
       _tmp69_ = result;
       g_variant_builder_init (&_tmp70_, G_VARIANT_TYPE ("as"));
       for (_tmp71_ = 0; _tmp71_ < result_length1; _tmp71_++) {
              g_variant_builder_add_value (&_tmp70_, g_variant_new_string (*_tmp69_));
              _tmp69_++;
       }
       _reply = g_variant_builder_end (&_tmp70_);
       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_mpris_playlists_get_PlaylistCount ( MprisPlaylists *  self) [static]

Definition at line 3059 of file test-mpris-backend-prop-updates-client.c.

                                                                                {
       guint32 result;
       GVariant* _reply;
       result = mpris_playlists_get_PlaylistCount (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_mpris_playlists_GetPlaylists ( MprisPlaylists *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 2945 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                               {
       GVariantIter _arguments_iter;
       guint32 index = 0U;
       GVariant* _tmp61_;
       guint32 max_count = 0U;
       GVariant* _tmp62_;
       gchar* order = NULL;
       GVariant* _tmp63_;
       gboolean reverse_order = FALSE;
       GVariant* _tmp64_;
       g_variant_iter_init (&_arguments_iter, parameters);
       _tmp61_ = g_variant_iter_next_value (&_arguments_iter);
       index = g_variant_get_uint32 (_tmp61_);
       g_variant_unref (_tmp61_);
       _tmp62_ = g_variant_iter_next_value (&_arguments_iter);
       max_count = g_variant_get_uint32 (_tmp62_);
       g_variant_unref (_tmp62_);
       _tmp63_ = g_variant_iter_next_value (&_arguments_iter);
       order = g_variant_dup_string (_tmp63_, NULL);
       g_variant_unref (_tmp63_);
       _tmp64_ = g_variant_iter_next_value (&_arguments_iter);
       reverse_order = g_variant_get_boolean (_tmp64_);
       g_variant_unref (_tmp64_);
       mpris_playlists_GetPlaylists (self, index, max_count, order, reverse_order, (GAsyncReadyCallback) _dbus_mpris_playlists_GetPlaylists_ready, invocation);
       _g_free0 (order);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 2984 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                           {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       PlaylistDetails* result;
       int result_length1 = 0;
       PlaylistDetails* _tmp65_;
       GVariantBuilder _tmp66_;
       int _tmp67_;
       invocation = _user_data_;
       result = mpris_playlists_GetPlaylists_finish ((MprisPlaylists*) 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);
       _tmp65_ = result;
       g_variant_builder_init (&_tmp66_, G_VARIANT_TYPE ("a(oss)"));
       for (_tmp67_ = 0; _tmp67_ < result_length1; _tmp67_++) {
              GVariantBuilder _tmp68_;
              g_variant_builder_init (&_tmp68_, G_VARIANT_TYPE_TUPLE);
              g_variant_builder_add_value (&_tmp68_, g_variant_new_object_path ((*_tmp65_).path));
              g_variant_builder_add_value (&_tmp68_, g_variant_new_string ((*_tmp65_).name));
              g_variant_builder_add_value (&_tmp68_, g_variant_new_string ((*_tmp65_).icon_name));
              g_variant_builder_add_value (&_tmp66_, g_variant_builder_end (&_tmp68_));
              _tmp65_++;
       }
       g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp66_));
       result = (_vala_PlaylistDetails_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 void _dbus_mpris_playlists_playlist_changed ( GObject *  _sender,
PlaylistDetails *  details,
gpointer *  _data 
) [static]

Definition at line 3193 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                 {
       GDBusConnection * _connection;
       const gchar * _path;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       GVariantBuilder _tmp86_;
       _connection = _data[1];
       _path = _data[2];
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_init (&_tmp86_, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_tmp86_, g_variant_new_object_path ((*details).path));
       g_variant_builder_add_value (&_tmp86_, g_variant_new_string ((*details).name));
       g_variant_builder_add_value (&_tmp86_, g_variant_new_string ((*details).icon_name));
       g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp86_));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_connection_emit_signal (_connection, NULL, _path, "org.mpris.MediaPlayer2.Playlists", "PlaylistChanged", _arguments, NULL);
}

Here is the caller graph for this function:

static void _dbus_mpris_playlists_set_ActivePlaylist ( MprisPlaylists *  self,
GVariant *  _value 
) [static]

Definition at line 3140 of file test-mpris-backend-prop-updates-client.c.

                                                                                              {
       ActivePlaylistContainer value = {0};
       ActivePlaylistContainer _tmp77_;
       GVariantIter _tmp78_;
       GVariant* _tmp79_;
       GVariant* _tmp80_;
       PlaylistDetails _tmp81_;
       GVariantIter _tmp82_;
       GVariant* _tmp83_;
       GVariant* _tmp84_;
       GVariant* _tmp85_;
       g_variant_iter_init (&_tmp78_, _value);
       _tmp79_ = g_variant_iter_next_value (&_tmp78_);
       _tmp77_.valid = g_variant_get_boolean (_tmp79_);
       g_variant_unref (_tmp79_);
       _tmp80_ = g_variant_iter_next_value (&_tmp78_);
       g_variant_iter_init (&_tmp82_, _tmp80_);
       _tmp83_ = g_variant_iter_next_value (&_tmp82_);
       _tmp81_.path = g_variant_dup_string (_tmp83_, NULL);
       g_variant_unref (_tmp83_);
       _tmp84_ = g_variant_iter_next_value (&_tmp82_);
       _tmp81_.name = g_variant_dup_string (_tmp84_, NULL);
       g_variant_unref (_tmp84_);
       _tmp85_ = g_variant_iter_next_value (&_tmp82_);
       _tmp81_.icon_name = g_variant_dup_string (_tmp85_, NULL);
       g_variant_unref (_tmp85_);
       _tmp77_.details = _tmp81_;
       g_variant_unref (_tmp80_);
       value = _tmp77_;
       mpris_playlists_set_ActivePlaylist (self, &value);
       active_playlist_container_destroy (&value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_playlists_set_Orderings ( MprisPlaylists *  self,
GVariant *  _value 
) [static]

Definition at line 3103 of file test-mpris-backend-prop-updates-client.c.

                                                                                         {
       gchar** value = NULL;
       int value_length1;
       gchar** _tmp74_;
       int _tmp74__length;
       int _tmp74__size;
       int _tmp74__length1;
       GVariantIter _tmp75_;
       GVariant* _tmp76_;
       _tmp74_ = g_new (gchar*, 5);
       _tmp74__length = 0;
       _tmp74__size = 4;
       _tmp74__length1 = 0;
       g_variant_iter_init (&_tmp75_, _value);
       for (; (_tmp76_ = g_variant_iter_next_value (&_tmp75_)) != NULL; _tmp74__length1++) {
              if (_tmp74__size == _tmp74__length) {
                     _tmp74__size = 2 * _tmp74__size;
                     _tmp74_ = g_renew (gchar*, _tmp74_, _tmp74__size + 1);
              }
              _tmp74_[_tmp74__length++] = g_variant_dup_string (_tmp76_, NULL);
              g_variant_unref (_tmp76_);
       }
       value_length1 = _tmp74__length1;
       _tmp74_[_tmp74__length] = NULL;
       value = _tmp74_;
       mpris_playlists_set_Orderings (self, value, value_length1);
       value = (_vala_array_free (value, value_length1, (GDestroyNotify) g_free), NULL);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_playlists_set_PlaylistCount ( MprisPlaylists *  self,
GVariant *  _value 
) [static]

Definition at line 3133 of file test-mpris-backend-prop-updates-client.c.

                                                                                             {
       guint32 value = 0U;
       value = g_variant_get_uint32 (_value);
       mpris_playlists_set_PlaylistCount (self, value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_root_get_CanQuit ( MprisRoot *  self) [static]

Definition at line 1475 of file test-mpris-backend-prop-updates-client.c.

                                                                {
       gboolean result;
       GVariant* _reply;
       result = mpris_root_get_CanQuit (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_mpris_root_get_CanRaise ( MprisRoot *  self) [static]

Definition at line 1484 of file test-mpris-backend-prop-updates-client.c.

                                                                 {
       gboolean result;
       GVariant* _reply;
       result = mpris_root_get_CanRaise (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_mpris_root_get_DesktopEntry ( MprisRoot *  self) [static]

Definition at line 1503 of file test-mpris-backend-prop-updates-client.c.

                                                                     {
       gchar* result;
       GVariant* _reply;
       result = mpris_root_get_DesktopEntry (self);
       _reply = g_variant_new_string (result);
       _g_free0 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* _dbus_mpris_root_get_HasTracklist ( MprisRoot *  self) [static]

Definition at line 1466 of file test-mpris-backend-prop-updates-client.c.

                                                                     {
       gboolean result;
       GVariant* _reply;
       result = mpris_root_get_HasTracklist (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_mpris_root_get_Identity ( MprisRoot *  self) [static]

Definition at line 1493 of file test-mpris-backend-prop-updates-client.c.

                                                                 {
       gchar* result;
       GVariant* _reply;
       result = mpris_root_get_Identity (self);
       _reply = g_variant_new_string (result);
       _g_free0 (result);
       return _reply;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_Quit ( MprisRoot *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 1393 of file test-mpris-backend-prop-updates-client.c.

                                                                                                             {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       mpris_root_Quit (self, (GAsyncReadyCallback) _dbus_mpris_root_Quit_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1400 of file test-mpris-backend-prop-updates-client.c.

                                                                                                              {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_root_Quit_finish ((MprisRoot*) 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_mpris_root_Raise ( MprisRoot *  self,
GVariant *  parameters,
GDBusMethodInvocation *  invocation 
) [static]

Definition at line 1422 of file test-mpris-backend-prop-updates-client.c.

                                                                                                              {
       GVariantIter _arguments_iter;
       g_variant_iter_init (&_arguments_iter, parameters);
       mpris_root_Raise (self, (GAsyncReadyCallback) _dbus_mpris_root_Raise_ready, invocation);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1429 of file test-mpris-backend-prop-updates-client.c.

                                                                                                               {
       GDBusMethodInvocation * invocation;
       GError* error = NULL;
       GDBusMessage* _reply_message;
       GVariant* _reply;
       GVariantBuilder _reply_builder;
       invocation = _user_data_;
       mpris_root_Raise_finish ((MprisRoot*) 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_mpris_root_set_CanQuit ( MprisRoot *  self,
GVariant *  _value 
) [static]

Definition at line 1540 of file test-mpris-backend-prop-updates-client.c.

                                                                             {
       gboolean value = FALSE;
       value = g_variant_get_boolean (_value);
       mpris_root_set_CanQuit (self, value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_set_CanRaise ( MprisRoot *  self,
GVariant *  _value 
) [static]

Definition at line 1547 of file test-mpris-backend-prop-updates-client.c.

                                                                              {
       gboolean value = FALSE;
       value = g_variant_get_boolean (_value);
       mpris_root_set_CanRaise (self, value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_set_DesktopEntry ( MprisRoot *  self,
GVariant *  _value 
) [static]

Definition at line 1562 of file test-mpris-backend-prop-updates-client.c.

                                                                                  {
       gchar* value = NULL;
       value = g_variant_dup_string (_value, NULL);
       mpris_root_set_DesktopEntry (self, value);
       _g_free0 (value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_set_HasTracklist ( MprisRoot *  self,
GVariant *  _value 
) [static]

Definition at line 1533 of file test-mpris-backend-prop-updates-client.c.

                                                                                  {
       gboolean value = FALSE;
       value = g_variant_get_boolean (_value);
       mpris_root_set_HasTracklist (self, value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _dbus_mpris_root_set_Identity ( MprisRoot *  self,
GVariant *  _value 
) [static]

Definition at line 1554 of file test-mpris-backend-prop-updates-client.c.

                                                                              {
       gchar* value = NULL;
       value = g_variant_dup_string (_value, NULL);
       mpris_root_set_Identity (self, value);
       _g_free0 (value);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _free_desktop_object_unregister_object ( gpointer  user_data) [static]

Definition at line 970 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void _free_desktop_properties_unregister_object ( gpointer  user_data) [static]

Definition at line 3443 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static gpointer _g_main_loop_ref0 ( gpointer  self) [static]

Definition at line 4464 of file test-mpris-backend-prop-updates-client.c.

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

Here is the caller graph for this function:

static gpointer _g_object_ref0 ( gpointer  self) [static]

Definition at line 3479 of file test-mpris-backend-prop-updates-client.c.

                                               {
       return self ? g_object_ref (self) : NULL;
}
static gpointer _g_variant_ref0 ( gpointer  self) [static]

Definition at line 4327 of file test-mpris-backend-prop-updates-client.c.

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

Here is the caller graph for this function:

static void _mpris2_controller_property_changed_cb_free_desktop_properties_properties_changed ( FreeDesktopProperties *  _sender,
const gchar *  source,
GHashTable *  changed_properties,
gchar **  invalid,
int  invalid_length1,
gpointer  self 
) [static]

Definition at line 3942 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                         {
       mpris2_controller_property_changed_cb (self, source, changed_properties, invalid, invalid_length1);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean _mpris2_controller_update_active_playlist_array_gsource_func ( gpointer  self) [static]

Definition at line 3842 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris2_watcher_name_changes_detected_free_desktop_object_name_owner_changed ( FreeDesktopObject *  _sender,
const gchar *  name,
const gchar *  old_owner,
const gchar *  new_owner,
gpointer  self 
) [static]

Definition at line 3724 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                        {
       mpris2_watcher_name_changes_detected (self, _sender, name, old_owner, new_owner);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_on_client_appeared_mpris2_watcher_client_appeared ( Mpris2Watcher *  _sender,
gpointer  self 
) [static]

Definition at line 4678 of file test-mpris-backend-prop-updates-client.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_client_player_property_updates_metadata_gtest_data_func ( gpointer  self) [static]

Definition at line 4178 of file test-mpris-backend-prop-updates-client.c.

Here is the call graph for this function:

Definition at line 4173 of file test-mpris-backend-prop-updates-client.c.

Here is the call graph for this function:

Definition at line 4183 of file test-mpris-backend-prop-updates-client.c.

Here is the call graph for this function:

static gboolean _mpris_client_run_tests_gsource_func ( gpointer  self) [static]

Definition at line 4188 of file test-mpris-backend-prop-updates-client.c.

                                                                     {
       gboolean result;
       result = mpris_client_run_tests ();
       return result;
}

Here is the call graph for this function:

static void _mpris_player_unregister_object ( gpointer  user_data) [static]

Definition at line 2334 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_playlists_unregister_object ( gpointer  user_data) [static]

Definition at line 3228 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void _mpris_root_unregister_object ( gpointer  user_data) [static]

Definition at line 1610 of file test-mpris-backend-prop-updates-client.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 _vala_array_destroy ( gpointer  array,
gint  array_length,
GDestroyNotify  destroy_func 
) [static]

Definition at line 4769 of file test-mpris-backend-prop-updates-client.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 4781 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_g_async_ready_callback ( GObject *  source_object,
GAsyncResult *  res,
void *  user_data 
) [static]

Definition at line 790 of file test-mpris-backend-prop-updates-client.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_mpris2_controller_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 4096 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                           {
       Mpris2Controller * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MPRIS2_CONTROLLER, Mpris2Controller);
       switch (property_id) {
              case MPRIS2_CONTROLLER_DBUS_NAME:
              g_value_set_string (value, mpris2_controller_get_dbus_name (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_mpris2_controller_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 4110 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                 {
       Mpris2Controller * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MPRIS2_CONTROLLER, Mpris2Controller);
       switch (property_id) {
              case MPRIS2_CONTROLLER_DBUS_NAME:
              mpris2_controller_set_dbus_name (self, g_value_get_string (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 4741 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                      {
       MprisClient * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MPRIS_CLIENT, MprisClient);
       switch (property_id) {
              case MPRIS_CLIENT_MAINLOOP:
              g_value_set_pointer (value, mpris_client_get_mainloop (self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 4755 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                            {
       MprisClient * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_MPRIS_CLIENT, MprisClient);
       switch (property_id) {
              case MPRIS_CLIENT_MAINLOOP:
              mpris_client_set_mainloop (self, g_value_get_pointer (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_PlaylistDetails_array_free ( PlaylistDetails *  array,
gint  array_length 
) [static]

Definition at line 2973 of file test-mpris-backend-prop-updates-client.c.

                                                                                         {
       if (array != NULL) {
              int i;
              for (i = 0; i < array_length; i = i + 1) {
                     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 GHashTable * _variant_get1 ( GVariant *  value) [static]

Definition at line 3828 of file test-mpris-backend-prop-updates-client.c.

                                                   {
       GHashTable* _tmp12_;
       GVariantIter _tmp13_;
       GVariant* _tmp14_;
       GVariant* _tmp15_;
       _tmp12_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp13_, value);
       while (g_variant_iter_loop (&_tmp13_, "{?*}", &_tmp14_, &_tmp15_)) {
              g_hash_table_insert (_tmp12_, g_variant_dup_string (_tmp14_, NULL), g_variant_get_variant (_tmp15_));
       }
       return _tmp12_;
}

Here is the caller graph for this function:

void active_playlist_container_copy ( const ActivePlaylistContainer *  self,
ActivePlaylistContainer *  dest 
)

Definition at line 2399 of file test-mpris-backend-prop-updates-client.c.

                                                                                                         {
       gboolean _tmp0_;
       PlaylistDetails _tmp1_;
       PlaylistDetails _tmp2_ = {0};
       _tmp0_ = (*self).valid;
       (*dest).valid = _tmp0_;
       _tmp1_ = (*self).details;
       playlist_details_copy (&_tmp1_, &_tmp2_);
       playlist_details_destroy (&(*dest).details);
       (*dest).details = _tmp2_;
}

Here is the call graph for this function:

void active_playlist_container_destroy ( ActivePlaylistContainer *  self)

Definition at line 2412 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

ActivePlaylistContainer* active_playlist_container_dup ( const ActivePlaylistContainer *  self)

Definition at line 2417 of file test-mpris-backend-prop-updates-client.c.

                                                                                             {
       ActivePlaylistContainer* dup;
       dup = g_new0 (ActivePlaylistContainer, 1);
       active_playlist_container_copy (self, dup);
       return dup;
}

Here is the call graph for this function:

void active_playlist_container_free ( ActivePlaylistContainer *  self)

Definition at line 2425 of file test-mpris-backend-prop-updates-client.c.

                                                                    {
       active_playlist_container_destroy (self);
       g_free (self);
}

Here is the call graph for this function:

Definition at line 2431 of file test-mpris-backend-prop-updates-client.c.

                                                {
       static volatile gsize active_playlist_container_type_id__volatile = 0;
       if (g_once_init_enter (&active_playlist_container_type_id__volatile)) {
              GType active_playlist_container_type_id;
              active_playlist_container_type_id = g_boxed_type_register_static ("ActivePlaylistContainer", (GBoxedCopyFunc) active_playlist_container_dup, (GBoxedFreeFunc) active_playlist_container_free);
              g_once_init_leave (&active_playlist_container_type_id__volatile, active_playlist_container_type_id);
       }
       return active_playlist_container_type_id__volatile;
}

Here is the call graph for this function:

static Block1Data * block1_data_ref ( Block1Data *  _data1_) [static]

Definition at line 4257 of file test-mpris-backend-prop-updates-client.c.

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

Here is the caller graph for this function:

static void block1_data_unref ( void *  _userdata_) [static]

Definition at line 4263 of file test-mpris-backend-prop-updates-client.c.

                                                  {
       Block1Data* _data1_;
       _data1_ = (Block1Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
              _g_object_unref0 (_data1_->controller);
              g_slice_free (Block1Data, _data1_);
       }
}

Here is the caller graph for this function:

static Block2Data * block2_data_ref ( Block2Data *  _data2_) [static]

Definition at line 4311 of file test-mpris-backend-prop-updates-client.c.

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

Here is the caller graph for this function:

static void block2_data_unref ( void *  _userdata_) [static]

Definition at line 4317 of file test-mpris-backend-prop-updates-client.c.

                                                  {
       Block2Data* _data2_;
       _data2_ = (Block2Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
              _g_object_unref0 (_data2_->controller);
              g_slice_free (Block2Data, _data2_);
       }
}

Here is the caller graph for this function:

static Block3Data * block3_data_ref ( Block3Data *  _data3_) [static]

Definition at line 4489 of file test-mpris-backend-prop-updates-client.c.

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

Here is the caller graph for this function:

static void block3_data_unref ( void *  _userdata_) [static]

Definition at line 4495 of file test-mpris-backend-prop-updates-client.c.

                                                  {
       Block3Data* _data3_;
       _data3_ = (Block3Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
              _g_object_unref0 (_data3_->contr);
              g_slice_free (Block3Data, _data3_);
       }
}

Here is the caller graph for this function:

static void free_desktop_object_base_init ( FreeDesktopObjectIface *  iface) [static]

Definition at line 723 of file test-mpris-backend-prop-updates-client.c.

                                                                           {
       static gboolean initialized = FALSE;
       if (!initialized) {
              initialized = TRUE;
              g_signal_new ("name_owner_changed", TYPE_FREE_DESKTOP_OBJECT, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_STRING_STRING, G_TYPE_NONE, 3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* free_desktop_object_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 920 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                           {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       return NULL;
}
static void free_desktop_object_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 907 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                                                            {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (method_name, "ListNames") == 0) {
              _dbus_free_desktop_object_list_names (object, parameters, invocation);
       } else {
              g_object_unref (invocation);
       }
}

Here is the call graph for this function:

static gboolean free_desktop_object_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 929 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                                           {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       return FALSE;
}
GType free_desktop_object_get_type ( void  )

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

                                          {
       static volatile gsize free_desktop_object_type_id__volatile = 0;
       if (g_once_init_enter (&free_desktop_object_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (FreeDesktopObjectIface), (GBaseInitFunc) free_desktop_object_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
              GType free_desktop_object_type_id;
              free_desktop_object_type_id = g_type_register_static (G_TYPE_INTERFACE, "FreeDesktopObject", &g_define_type_info, 0);
              g_type_interface_add_prerequisite (free_desktop_object_type_id, G_TYPE_OBJECT);
              g_type_set_qdata (free_desktop_object_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) free_desktop_object_proxy_get_type);
              g_type_set_qdata (free_desktop_object_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.freedesktop.DBus");
              g_type_set_qdata (free_desktop_object_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) free_desktop_object_register_object);
              g_once_init_leave (&free_desktop_object_type_id__volatile, free_desktop_object_type_id);
       }
       return free_desktop_object_type_id__volatile;
}

Here is the call graph for this function:

void free_desktop_object_list_names ( FreeDesktopObject *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 693 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                    {
       FREE_DESKTOP_OBJECT_GET_INTERFACE (self)->list_names (self, _callback_, _user_data_);
}
gchar** free_desktop_object_list_names_finish ( FreeDesktopObject *  self,
GAsyncResult *  _res_,
int *  result_length1,
GError **  error 
)

Definition at line 698 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                  {
       return FREE_DESKTOP_OBJECT_GET_INTERFACE (self)->list_names_finish (self, _res_, result_length1, error);
}

Definition at line 749 of file test-mpris-backend-prop-updates-client.c.

                                                                                      {
       G_DBUS_PROXY_CLASS (klass)->g_signal = free_desktop_object_proxy_g_signal;
}

Here is the call graph for this function:

static void free_desktop_object_proxy_free_desktop_object_interface_init ( FreeDesktopObjectIface *  iface) [static]

Definition at line 859 of file test-mpris-backend-prop-updates-client.c.

Here is the call graph for this function:

static void free_desktop_object_proxy_g_signal ( GDBusProxy *  proxy,
const gchar *  sender_name,
const gchar *  signal_name,
GVariant *  parameters 
) [static]

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

                                                                                                                                             {
       if (strcmp (signal_name, "NameOwnerChanged") == 0) {
              _dbus_handle_free_desktop_object_name_owner_changed ((FreeDesktopObject*) proxy, parameters);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 331 of file test-mpris-backend-prop-updates-client.c.

      {
       MPRIS2_WATCHER_DUMMY_PROPERTY
};
static void free_desktop_object_proxy_init ( FreeDesktopObjectProxy self) [static]

Definition at line 786 of file test-mpris-backend-prop-updates-client.c.

                                                                          {
}
static void free_desktop_object_proxy_list_names_async ( FreeDesktopObject *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 797 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                       {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.freedesktop.DBus", "ListNames");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gchar** free_desktop_object_proxy_list_names_finish ( FreeDesktopObject *  self,
GAsyncResult *  _res_,
int *  result_length1,
GError **  error 
) [static]

Definition at line 811 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                               {
       GDBusMessage *_reply_message;
       GVariant *_reply;
       GVariantIter _reply_iter;
       gchar** _result;
       int _result_length1;
       GVariant* _tmp3_;
       gchar** _tmp4_;
       int _tmp4__length;
       int _tmp4__size;
       int _tmp4__length1;
       GVariantIter _tmp5_;
       GVariant* _tmp6_;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return NULL;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return NULL;
       }
       _reply = g_dbus_message_get_body (_reply_message);
       g_variant_iter_init (&_reply_iter, _reply);
       _result_length1 = 0;
       _tmp3_ = g_variant_iter_next_value (&_reply_iter);
       _tmp4_ = g_new (gchar*, 5);
       _tmp4__length = 0;
       _tmp4__size = 4;
       _tmp4__length1 = 0;
       g_variant_iter_init (&_tmp5_, _tmp3_);
       for (; (_tmp6_ = g_variant_iter_next_value (&_tmp5_)) != NULL; _tmp4__length1++) {
              if (_tmp4__size == _tmp4__length) {
                     _tmp4__size = 2 * _tmp4__size;
                     _tmp4_ = g_renew (gchar*, _tmp4_, _tmp4__size + 1);
              }
              _tmp4_[_tmp4__length++] = g_variant_dup_string (_tmp6_, NULL);
              g_variant_unref (_tmp6_);
       }
       _result_length1 = _tmp4__length1;
       _tmp4_[_tmp4__length] = NULL;
       _result = _tmp4_;
       g_variant_unref (_tmp3_);
       *result_length1 = _result_length1;
       g_object_unref (_reply_message);
       return _result;
}

Here is the caller graph for this function:

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

Definition at line 954 of file test-mpris-backend-prop-updates-client.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 *) (&_free_desktop_object_dbus_interface_info), &_free_desktop_object_dbus_interface_vtable, data, _free_desktop_object_unregister_object, error);
       if (!result) {
              return 0;
       }
       g_signal_connect (object, "name-owner-changed", (GCallback) _dbus_free_desktop_object_name_owner_changed, data);
       return result;
}

Here is the call graph for this function:

static void free_desktop_properties_base_init ( FreeDesktopPropertiesIface *  iface) [static]

Definition at line 3259 of file test-mpris-backend-prop-updates-client.c.

                                                                                   {
       static gboolean initialized = FALSE;
       if (!initialized) {
              initialized = TRUE;
              g_signal_new ("properties_changed", TYPE_FREE_DESKTOP_PROPERTIES, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_BOXED_BOXED_INT, G_TYPE_NONE, 4, G_TYPE_STRING, G_TYPE_HASH_TABLE, G_TYPE_STRV, G_TYPE_INT);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* free_desktop_properties_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 3371 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                               {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       return NULL;
}
static void free_desktop_properties_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 3362 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                                                                {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       g_object_unref (invocation);
}
static gboolean free_desktop_properties_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 3380 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                                               {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       return FALSE;
}

Definition at line 3268 of file test-mpris-backend-prop-updates-client.c.

                                              {
       static volatile gsize free_desktop_properties_type_id__volatile = 0;
       if (g_once_init_enter (&free_desktop_properties_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (FreeDesktopPropertiesIface), (GBaseInitFunc) free_desktop_properties_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
              GType free_desktop_properties_type_id;
              free_desktop_properties_type_id = g_type_register_static (G_TYPE_INTERFACE, "FreeDesktopProperties", &g_define_type_info, 0);
              g_type_interface_add_prerequisite (free_desktop_properties_type_id, G_TYPE_OBJECT);
              g_type_set_qdata (free_desktop_properties_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) free_desktop_properties_proxy_get_type);
              g_type_set_qdata (free_desktop_properties_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.freedesktop.DBus.Properties");
              g_type_set_qdata (free_desktop_properties_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) free_desktop_properties_register_object);
              g_once_init_leave (&free_desktop_properties_type_id__volatile, free_desktop_properties_type_id);
       }
       return free_desktop_properties_type_id__volatile;
}

Here is the call graph for this function:

Definition at line 3285 of file test-mpris-backend-prop-updates-client.c.

                                                                                              {
       G_DBUS_PROXY_CLASS (klass)->g_signal = free_desktop_properties_proxy_g_signal;
}

Here is the call graph for this function:

static void free_desktop_properties_proxy_free_desktop_properties_interface_init ( FreeDesktopPropertiesIface *  iface) [static]

Definition at line 3358 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                     {
}
static void free_desktop_properties_proxy_g_signal ( GDBusProxy *  proxy,
const gchar *  sender_name,
const gchar *  signal_name,
GVariant *  parameters 
) [static]

Definition at line 3347 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                 {
       if (strcmp (signal_name, "PropertiesChanged") == 0) {
              _dbus_handle_free_desktop_properties_properties_changed ((FreeDesktopProperties*) proxy, parameters);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 3354 of file test-mpris-backend-prop-updates-client.c.

                                                                                  {
}
guint free_desktop_properties_register_object ( gpointer  object,
GDBusConnection *  connection,
const gchar *  path,
GError **  error 
)

Definition at line 3427 of file test-mpris-backend-prop-updates-client.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 *) (&_free_desktop_properties_dbus_interface_info), &_free_desktop_properties_dbus_interface_vtable, data, _free_desktop_properties_unregister_object, error);
       if (!result) {
              return 0;
       }
       g_signal_connect (object, "properties-changed", (GCallback) _dbus_free_desktop_properties_properties_changed, data);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 2498 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                {
       typedef void (*GMarshalFunc_VOID__BOXED) (gpointer data1, gpointer arg_1, gpointer data2);
       register GMarshalFunc_VOID__BOXED callback;
       register GCClosure * cc;
       register gpointer data1;
       register gpointer data2;
       cc = (GCClosure *) closure;
       g_return_if_fail (n_param_values == 2);
       if (G_CCLOSURE_SWAP_DATA (closure)) {
              data1 = closure->data;
              data2 = param_values->data[0].v_pointer;
       } else {
              data1 = param_values->data[0].v_pointer;
              data2 = closure->data;
       }
       callback = (GMarshalFunc_VOID__BOXED) (marshal_data ? marshal_data : cc->callback);
       callback (data1, g_value_get_boxed (param_values + 1), data2);
}

Here is the caller graph for this function:

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

Definition at line 1696 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                {
       typedef void (*GMarshalFunc_VOID__INT64) (gpointer data1, gint64 arg_1, gpointer data2);
       register GMarshalFunc_VOID__INT64 callback;
       register GCClosure * cc;
       register gpointer data1;
       register gpointer data2;
       cc = (GCClosure *) closure;
       g_return_if_fail (n_param_values == 2);
       if (G_CCLOSURE_SWAP_DATA (closure)) {
              data1 = closure->data;
              data2 = param_values->data[0].v_pointer;
       } else {
              data1 = param_values->data[0].v_pointer;
              data2 = closure->data;
       }
       callback = (GMarshalFunc_VOID__INT64) (marshal_data ? marshal_data : cc->callback);
       callback (data1, g_value_get_int64 (param_values + 1), data2);
}

Here is the caller graph for this function:

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

Definition at line 3239 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                 {
       typedef void (*GMarshalFunc_VOID__STRING_BOXED_BOXED_INT) (gpointer data1, const char* arg_1, gpointer arg_2, gpointer arg_3, gint arg_4, gpointer data2);
       register GMarshalFunc_VOID__STRING_BOXED_BOXED_INT callback;
       register GCClosure * cc;
       register gpointer data1;
       register gpointer data2;
       cc = (GCClosure *) closure;
       g_return_if_fail (n_param_values == 5);
       if (G_CCLOSURE_SWAP_DATA (closure)) {
              data1 = closure->data;
              data2 = param_values->data[0].v_pointer;
       } else {
              data1 = param_values->data[0].v_pointer;
              data2 = closure->data;
       }
       callback = (GMarshalFunc_VOID__STRING_BOXED_BOXED_INT) (marshal_data ? marshal_data : cc->callback);
       callback (data1, g_value_get_string (param_values + 1), g_value_get_boxed (param_values + 2), g_value_get_boxed (param_values + 3), g_value_get_int (param_values + 4), data2);
}

Here is the caller graph for this function:

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

Definition at line 703 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                               {
       typedef void (*GMarshalFunc_VOID__STRING_STRING_STRING) (gpointer data1, const char* arg_1, const char* arg_2, const char* arg_3, gpointer data2);
       register GMarshalFunc_VOID__STRING_STRING_STRING callback;
       register GCClosure * cc;
       register gpointer data1;
       register gpointer data2;
       cc = (GCClosure *) closure;
       g_return_if_fail (n_param_values == 4);
       if (G_CCLOSURE_SWAP_DATA (closure)) {
              data1 = closure->data;
              data2 = param_values->data[0].v_pointer;
       } else {
              data1 = param_values->data[0].v_pointer;
              data2 = closure->data;
       }
       callback = (GMarshalFunc_VOID__STRING_STRING_STRING) (marshal_data ? marshal_data : cc->callback);
       callback (data1, g_value_get_string (param_values + 1), g_value_get_string (param_values + 2), g_value_get_string (param_values + 3), data2);
}

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 4243 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

static void mpris2_controller_class_init ( Mpris2ControllerClass *  klass) [static]

Definition at line 4053 of file test-mpris-backend-prop-updates-client.c.

                                                                         {
       mpris2_controller_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (Mpris2ControllerPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_mpris2_controller_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_mpris2_controller_set_property;
       G_OBJECT_CLASS (klass)->constructor = mpris2_controller_constructor;
       G_OBJECT_CLASS (klass)->finalize = mpris2_controller_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), MPRIS2_CONTROLLER_DBUS_NAME, g_param_spec_string ("dbus-name", "dbus-name", "dbus-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

Here is the call graph for this function:

Mpris2Controller* mpris2_controller_construct ( GType  object_type,
const gchar *  name 
)
static GObject * mpris2_controller_constructor ( GType  type,
guint  n_construct_properties,
GObjectConstructParam *  construct_properties 
) [static]

Definition at line 3947 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                        {
       GObject * obj;
       GObjectClass * parent_class;
       Mpris2Controller * self;
       GError * _inner_error_ = NULL;
       parent_class = G_OBJECT_CLASS (mpris2_controller_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS2_CONTROLLER, Mpris2Controller);
       {
              GeeArrayList* _tmp0_;
              GeeArrayList* _tmp1_;
              GeeArrayList* _tmp2_;
              const gchar* _tmp3_;
              MprisRoot* _tmp4_ = NULL;
              MprisRoot* _tmp5_;
              const gchar* _tmp6_;
              MprisPlayer* _tmp7_ = NULL;
              MprisPlayer* _tmp8_;
              FreeDesktopProperties* _tmp9_ = NULL;
              FreeDesktopProperties* _tmp10_;
              FreeDesktopProperties* _tmp11_;
              const gchar* _tmp12_;
              MprisPlaylists* _tmp13_ = NULL;
              MprisPlaylists* _tmp14_;
              _tmp0_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL);
              _g_object_unref0 (self->received_prop_updates_for_playback_status);
              self->received_prop_updates_for_playback_status = _tmp0_;
              _tmp1_ = gee_array_list_new (G_TYPE_HASH_TABLE, (GBoxedCopyFunc) g_hash_table_ref, g_hash_table_unref, NULL);
              _g_object_unref0 (self->received_prop_updates_for_metadata_change);
              self->received_prop_updates_for_metadata_change = _tmp1_;
              _tmp2_ = gee_array_list_new (TYPE_ACTIVE_PLAYLIST_CONTAINER, (GBoxedCopyFunc) active_playlist_container_dup, active_playlist_container_free, NULL);
              _g_object_unref0 (self->received_prop_updates_for_active_playlists);
              self->received_prop_updates_for_active_playlists = _tmp2_;
              _tmp3_ = self->priv->_dbus_name;
              _tmp4_ = g_initable_new (TYPE_MPRIS_ROOT_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", _tmp3_, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", "/org/mpris/MediaPlayer2", "g-interface-name", "org.mpris.MediaPlayer2", NULL);
              _tmp5_ = (MprisRoot*) _tmp4_;
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch3_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_);
              }
              _g_object_unref0 (self->mpris2_root);
              self->mpris2_root = _tmp5_;
              _tmp6_ = self->priv->_dbus_name;
              _tmp7_ = g_initable_new (TYPE_MPRIS_PLAYER_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", _tmp6_, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", "/org/mpris/MediaPlayer2", "g-interface-name", "org.mpris.MediaPlayer2.Player", NULL);
              _tmp8_ = (MprisPlayer*) _tmp7_;
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch3_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_);
              }
              _g_object_unref0 (self->player);
              self->player = _tmp8_;
              _tmp9_ = g_initable_new (TYPE_FREE_DESKTOP_PROPERTIES_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.Properties.PropertiesChanged", "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", "/org/mpris/MediaPlayer2", "g-interface-name", "org.freedesktop.DBus.Properties", NULL);
              _tmp10_ = (FreeDesktopProperties*) _tmp9_;
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch3_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_);
              }
              _g_object_unref0 (self->properties_interface);
              self->properties_interface = _tmp10_;
              _tmp11_ = self->properties_interface;
              g_signal_connect_object (_tmp11_, "properties-changed", (GCallback) _mpris2_controller_property_changed_cb_free_desktop_properties_properties_changed, self, 0);
              _tmp12_ = self->priv->_dbus_name;
              _tmp13_ = g_initable_new (TYPE_MPRIS_PLAYLISTS_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", _tmp12_, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", "/org/mpris/MediaPlayer2", "g-interface-name", "org.mpris.MediaPlayer2.Playlists", NULL);
              _tmp14_ = (MprisPlaylists*) _tmp13_;
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch3_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_);
              }
              _g_object_unref0 (self->playlists);
              self->playlists = _tmp14_;
       }
       goto __finally3;
       __catch3_g_io_error:
       {
              GError* e = NULL;
              GError* _tmp15_;
              const gchar* _tmp16_;
              e = _inner_error_;
              _inner_error_ = NULL;
              _tmp15_ = e;
              _tmp16_ = _tmp15_->message;
              g_critical ("test-mpris-backend-prop-updates-client.vala:210: Can't create our DBus" \
" interfaces - %s", _tmp16_);
              _g_error_free0 (e);
       }
       __finally3:
       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 obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris2_controller_finalize ( GObject *  obj) [static]

Definition at line 4069 of file test-mpris-backend-prop-updates-client.c.

                                                      {
       Mpris2Controller * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS2_CONTROLLER, Mpris2Controller);
       _g_free0 (self->priv->_dbus_name);
       _g_object_unref0 (self->mpris2_root);
       _g_object_unref0 (self->player);
       _g_object_unref0 (self->playlists);
       _g_object_unref0 (self->properties_interface);
       _g_object_unref0 (self->received_prop_updates_for_playback_status);
       _g_object_unref0 (self->received_prop_updates_for_metadata_change);
       _g_object_unref0 (self->received_prop_updates_for_active_playlists);
       G_OBJECT_CLASS (mpris2_controller_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

const gchar* mpris2_controller_get_dbus_name ( Mpris2Controller *  self)
GType mpris2_controller_get_type ( void  )

Definition at line 538 of file test-mpris-backend-prop-updates-client.c.

      {
       MPRIS2_CONTROLLER_DUMMY_PROPERTY,
       MPRIS2_CONTROLLER_DBUS_NAME
};
static void mpris2_controller_instance_init ( Mpris2Controller *  self) [static]

Definition at line 4064 of file test-mpris-backend-prop-updates-client.c.

                                                                      {
       self->priv = MPRIS2_CONTROLLER_GET_PRIVATE (self);
}
Mpris2Controller* mpris2_controller_new ( const gchar *  name)
void mpris2_controller_property_changed_cb ( Mpris2Controller *  self,
const gchar *  interface_source,
GHashTable *  changed_properties,
gchar **  invalid,
int  invalid_length1 
)

Definition at line 3849 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                         {
       GHashTable* _tmp0_;
       gconstpointer _tmp1_ = NULL;
       g_return_if_fail (self != NULL);
       g_return_if_fail (interface_source != NULL);
       g_return_if_fail (changed_properties != NULL);
       _tmp0_ = changed_properties;
       _tmp1_ = g_hash_table_lookup (_tmp0_, "PlaybackStatus");
       if (((GVariant*) _tmp1_) != NULL) {
              GeeArrayList* _tmp2_;
              GHashTable* _tmp3_;
              gconstpointer _tmp4_ = NULL;
              const gchar* _tmp5_ = NULL;
              _tmp2_ = self->received_prop_updates_for_playback_status;
              _tmp3_ = changed_properties;
              _tmp4_ = g_hash_table_lookup (_tmp3_, "PlaybackStatus");
              _tmp5_ = g_variant_get_string ((GVariant*) _tmp4_, NULL);
              gee_abstract_collection_add ((GeeAbstractCollection*) _tmp2_, _tmp5_);
       } else {
              GHashTable* _tmp6_;
              gconstpointer _tmp7_ = NULL;
              _tmp6_ = changed_properties;
              _tmp7_ = g_hash_table_lookup (_tmp6_, "Metadata");
              if (((GVariant*) _tmp7_) != NULL) {
                     GeeArrayList* _tmp8_;
                     GHashTable* _tmp9_;
                     gconstpointer _tmp10_ = NULL;
                     GHashTable* _tmp11_;
                     GHashTable* _tmp16_;
                     _tmp8_ = self->received_prop_updates_for_metadata_change;
                     _tmp9_ = changed_properties;
                     _tmp10_ = g_hash_table_lookup (_tmp9_, "Metadata");
                     _tmp11_ = _variant_get1 ((GVariant*) _tmp10_);
                     _tmp16_ = _tmp11_;
                     gee_abstract_collection_add ((GeeAbstractCollection*) _tmp8_, _tmp16_);
                     _g_hash_table_unref0 (_tmp16_);
              } else {
                     GHashTable* _tmp17_;
                     gconstpointer _tmp18_ = NULL;
                     _tmp17_ = changed_properties;
                     _tmp18_ = g_hash_table_lookup (_tmp17_, "ActivePlaylist");
                     if (((GVariant*) _tmp18_) != NULL) {
                            g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 500, _mpris2_controller_update_active_playlist_array_gsource_func, g_object_ref (self), g_object_unref);
                     }
              }
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris2_controller_set_dbus_name ( Mpris2Controller *  self,
const gchar *  value 
) [static]

Definition at line 3930 of file test-mpris-backend-prop-updates-client.c.

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

Here is the caller graph for this function:

static gboolean mpris2_controller_update_active_playlist_array ( Mpris2Controller *  self) [static]

Definition at line 3898 of file test-mpris-backend-prop-updates-client.c.

                                                                                        {
       gboolean result = FALSE;
       GeeArrayList* _tmp0_;
       MprisPlaylists* _tmp1_;
       ActivePlaylistContainer _tmp2_;
       ActivePlaylistContainer _tmp3_;
       ActivePlaylistContainer _tmp4_;
       ActivePlaylistContainer _tmp5_;
       g_return_val_if_fail (self != NULL, FALSE);
       _tmp0_ = self->received_prop_updates_for_active_playlists;
       _tmp1_ = self->playlists;
       mpris_playlists_get_ActivePlaylist (_tmp1_, &_tmp2_);
       _tmp3_ = _tmp2_;
       _tmp4_ = _tmp3_;
       _tmp5_ = _tmp4_;
       gee_abstract_collection_add ((GeeAbstractCollection*) _tmp0_, &_tmp5_);
       active_playlist_container_destroy (&_tmp4_);
       result = FALSE;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void mpris2_watcher_check_for_active_clients ( Mpris2Watcher *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)
static gboolean mpris2_watcher_check_for_active_clients_co ( Mpris2WatcherCheckForActiveClientsData *  _data_) [static]

Definition at line 3511 of file test-mpris-backend-prop-updates-client.c.

                                                                                                            {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->interfaces_length1 = 0;
       _data_->_interfaces_size_ = 0;
       {
              _data_->_tmp0_ = _data_->self->priv->fdesktop_obj;
              _data_->_tmp1_ = 0;
              _data_->_state_ = 1;
              free_desktop_object_list_names (_data_->_tmp0_, mpris2_watcher_check_for_active_clients_ready, _data_);
              return FALSE;
              _state_1:
              _data_->_tmp2_ = NULL;
              _data_->_tmp2_ = free_desktop_object_list_names_finish (_data_->_tmp0_, _data_->_res_, &_data_->_tmp1_, &_data_->_inner_error_);
              _data_->_tmp3_ = _data_->_tmp2_;
              _data_->_tmp3__length1 = _data_->_tmp1_;
              _data_->__tmp3__size_ = _data_->_tmp3__length1;
              if (_data_->_inner_error_ != NULL) {
                     if (_data_->_inner_error_->domain == G_IO_ERROR) {
                            goto __catch0_g_io_error;
                     }
                     _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
                     g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                     g_clear_error (&_data_->_inner_error_);
                     return FALSE;
              }
              _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
              _data_->interfaces = _data_->_tmp3_;
              _data_->interfaces_length1 = _data_->_tmp3__length1;
              _data_->_interfaces_size_ = _data_->interfaces_length1;
       }
       goto __finally0;
       __catch0_g_io_error:
       {
              _data_->e = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              _data_->_tmp4_ = _data_->e;
              _data_->_tmp5_ = _data_->_tmp4_->message;
              g_warning ("test-mpris-backend-prop-updates-client.vala:122: Mpris2watcher could f" \
"etch active interfaces at startup: %s", _data_->_tmp5_);
              _g_error_free0 (_data_->e);
              _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
              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;
       }
       __finally0:
       if (_data_->_inner_error_ != NULL) {
              _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
              g_clear_error (&_data_->_inner_error_);
              return FALSE;
       }
       _data_->_tmp6_ = _data_->interfaces;
       _data_->_tmp6__length1 = _data_->interfaces_length1;
       {
              _data_->address_collection_length1 = 0;
              _data_->_address_collection_size_ = 0;
              _data_->address_collection = _data_->_tmp6_;
              _data_->address_collection_length1 = _data_->_tmp6__length1;
              for (_data_->address_it = 0; _data_->address_it < _data_->_tmp6__length1; _data_->address_it = _data_->address_it + 1) {
                     _data_->_tmp7_ = g_strdup (_data_->address_collection[_data_->address_it]);
                     _data_->address = _data_->_tmp7_;
                     {
                            _data_->_tmp8_ = _data_->address;
                            _data_->_tmp9_ = FALSE;
                            _data_->_tmp9_ = g_str_has_prefix (_data_->_tmp8_, MPRIS_PREFIX);
                            if (_data_->_tmp9_) {
                                   _data_->_tmp10_ = _data_->address;
                                   _data_->_tmp11_ = NULL;
                                   _data_->_tmp11_ = mpris2_watcher_create_mpris_root (_data_->self, _data_->_tmp10_);
                                   _data_->mpris2_root = _data_->_tmp11_;
                                   _data_->_tmp12_ = _data_->mpris2_root;
                                   if (_data_->_tmp12_ == NULL) {
                                          _g_object_unref0 (_data_->mpris2_root);
                                          _g_free0 (_data_->address);
                                          _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
                                          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;
                                   }
                                   g_signal_emit_by_name (_data_->self, "client-appeared");
                                   _g_object_unref0 (_data_->mpris2_root);
                            }
                            _g_free0 (_data_->address);
                     }
              }
       }
       _data_->interfaces = (_vala_array_free (_data_->interfaces, _data_->interfaces_length1, (GDestroyNotify) g_free), NULL);
       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 call graph for this function:

Here is the caller graph for this function:

static void mpris2_watcher_check_for_active_clients_data_free ( gpointer  _data) [static]

Definition at line 3471 of file test-mpris-backend-prop-updates-client.c.

                                                                               {
       Mpris2WatcherCheckForActiveClientsData* _data_;
       _data_ = _data;
       _g_object_unref0 (_data_->self);
       g_slice_free (Mpris2WatcherCheckForActiveClientsData, _data_);
}
void mpris2_watcher_check_for_active_clients_finish ( Mpris2Watcher *  self,
GAsyncResult *  _res_ 
)
static void mpris2_watcher_check_for_active_clients_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 3502 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                              {
       Mpris2WatcherCheckForActiveClientsData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       mpris2_watcher_check_for_active_clients_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris2_watcher_class_init ( Mpris2WatcherClass *  klass) [static]

Definition at line 3778 of file test-mpris-backend-prop-updates-client.c.

                                                                   {
       mpris2_watcher_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (Mpris2WatcherPrivate));
       G_OBJECT_CLASS (klass)->constructor = mpris2_watcher_constructor;
       G_OBJECT_CLASS (klass)->finalize = mpris2_watcher_finalize;
       g_signal_new ("client_appeared", TYPE_MPRIS2_WATCHER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
       g_signal_new ("client_disappeared", TYPE_MPRIS2_WATCHER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Mpris2Watcher* mpris2_watcher_construct ( GType  object_type)
static GObject * mpris2_watcher_constructor ( GType  type,
guint  n_construct_properties,
GObjectConstructParam *  construct_properties 
) [static]

Definition at line 3729 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                     {
       GObject * obj;
       GObjectClass * parent_class;
       Mpris2Watcher * self;
       GError * _inner_error_ = NULL;
       parent_class = G_OBJECT_CLASS (mpris2_watcher_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS2_WATCHER, Mpris2Watcher);
       {
              FreeDesktopObject* _tmp0_ = NULL;
              FreeDesktopObject* _tmp1_;
              FreeDesktopObject* _tmp2_;
              _tmp0_ = g_initable_new (TYPE_FREE_DESKTOP_OBJECT_PROXY, NULL, &_inner_error_, "g-flags", G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, "g-name", FREEDESKTOP_SERVICE, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", FREEDESKTOP_OBJECT, "g-interface-name", "org.freedesktop.DBus", NULL);
              _tmp1_ = (FreeDesktopObject*) _tmp0_;
              if (_inner_error_ != NULL) {
                     if (_inner_error_->domain == G_IO_ERROR) {
                            goto __catch2_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_);
              }
              _g_object_unref0 (self->priv->fdesktop_obj);
              self->priv->fdesktop_obj = _tmp1_;
              _tmp2_ = self->priv->fdesktop_obj;
              g_signal_connect_object (_tmp2_, "name-owner-changed", (GCallback) _mpris2_watcher_name_changes_detected_free_desktop_object_name_owner_changed, self, 0);
       }
       goto __finally2;
       __catch2_g_io_error:
       {
              GError* e = NULL;
              GError* _tmp3_;
              const gchar* _tmp4_;
              e = _inner_error_;
              _inner_error_ = NULL;
              _tmp3_ = e;
              _tmp4_ = _tmp3_->message;
              g_warning ("test-mpris-backend-prop-updates-client.vala:109: Mpris2watcher could n" \
"ot set up a watch for mpris clients appearing on the bus: %s", _tmp4_);
              _g_error_free0 (e);
       }
       __finally2:
       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 obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static MprisRoot * mpris2_watcher_create_mpris_root ( Mpris2Watcher *  self,
const gchar *  name 
) [static]

Definition at line 3666 of file test-mpris-backend-prop-updates-client.c.

                                                                                            {
       MprisRoot* result = NULL;
       MprisRoot* mpris2_root;
       const gchar* _tmp0_;
       gboolean _tmp1_ = FALSE;
       GError * _inner_error_ = NULL;
       g_return_val_if_fail (self != NULL, NULL);
       g_return_val_if_fail (name != NULL, NULL);
       mpris2_root = NULL;
       _tmp0_ = name;
       _tmp1_ = g_str_has_prefix (_tmp0_, MPRIS_PREFIX);
       if (_tmp1_) {
              {
                     const gchar* _tmp2_;
                     MprisRoot* _tmp3_ = NULL;
                     MprisRoot* _tmp4_;
                     _tmp2_ = name;
                     _tmp3_ = g_initable_new (TYPE_MPRIS_ROOT_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", _tmp2_, "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", MPRIS_MEDIA_PLAYER_PATH, "g-interface-name", "org.mpris.MediaPlayer2", NULL);
                     _tmp4_ = (MprisRoot*) _tmp3_;
                     if (_inner_error_ != NULL) {
                            if (_inner_error_->domain == G_IO_ERROR) {
                                   goto __catch1_g_io_error;
                            }
                            _g_object_unref0 (mpris2_root);
                            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 NULL;
                     }
                     _g_object_unref0 (mpris2_root);
                     mpris2_root = _tmp4_;
              }
              goto __finally1;
              __catch1_g_io_error:
              {
                     GError* e = NULL;
                     GError* _tmp5_;
                     const gchar* _tmp6_;
                     e = _inner_error_;
                     _inner_error_ = NULL;
                     _tmp5_ = e;
                     _tmp6_ = _tmp5_->message;
                     g_warning ("test-mpris-backend-prop-updates-client.vala:160: Mpris2watcher could n" \
"ot create a root interface: %s", _tmp6_);
                     _g_error_free0 (e);
              }
              __finally1:
              if (_inner_error_ != NULL) {
                     _g_object_unref0 (mpris2_root);
                     g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
                     g_clear_error (&_inner_error_);
                     return NULL;
              }
       }
       result = mpris2_root;
       return result;
}

Here is the caller graph for this function:

static void mpris2_watcher_finalize ( GObject *  obj) [static]

Definition at line 3793 of file test-mpris-backend-prop-updates-client.c.

                                                   {
       Mpris2Watcher * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS2_WATCHER, Mpris2Watcher);
       _g_object_unref0 (self->priv->fdesktop_obj);
       G_OBJECT_CLASS (mpris2_watcher_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GType mpris2_watcher_get_type ( void  )

Definition at line 3801 of file test-mpris-backend-prop-updates-client.c.

                                     {
       static volatile gsize mpris2_watcher_type_id__volatile = 0;
       if (g_once_init_enter (&mpris2_watcher_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (Mpris2WatcherClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) mpris2_watcher_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Mpris2Watcher), 0, (GInstanceInitFunc) mpris2_watcher_instance_init, NULL };
              GType mpris2_watcher_type_id;
              mpris2_watcher_type_id = g_type_register_static (G_TYPE_OBJECT, "Mpris2Watcher", &g_define_type_info, 0);
              g_once_init_leave (&mpris2_watcher_type_id__volatile, mpris2_watcher_type_id);
       }
       return mpris2_watcher_type_id__volatile;
}

Here is the call graph for this function:

static void mpris2_watcher_instance_init ( Mpris2Watcher *  self) [static]

Definition at line 3788 of file test-mpris-backend-prop-updates-client.c.

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

Here is the caller graph for this function:

static void mpris2_watcher_name_changes_detected ( Mpris2Watcher *  self,
FreeDesktopObject *  dbus_obj,
const gchar *  name,
const gchar *  previous_owner,
const gchar *  current_owner 
) [static]

Definition at line 3625 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                {
       const gchar* _tmp0_;
       MprisRoot* _tmp1_ = NULL;
       MprisRoot* mpris2_root;
       MprisRoot* _tmp2_;
       gboolean _tmp3_ = FALSE;
       const gchar* _tmp4_;
       gboolean _tmp6_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (dbus_obj != NULL);
       g_return_if_fail (name != NULL);
       g_return_if_fail (previous_owner != NULL);
       g_return_if_fail (current_owner != NULL);
       _tmp0_ = name;
       _tmp1_ = mpris2_watcher_create_mpris_root (self, _tmp0_);
       mpris2_root = _tmp1_;
       _tmp2_ = mpris2_root;
       if (_tmp2_ == NULL) {
              _g_object_unref0 (mpris2_root);
              return;
       }
       _tmp4_ = previous_owner;
       if (g_strcmp0 (_tmp4_, "") == 0) {
              const gchar* _tmp5_;
              _tmp5_ = current_owner;
              _tmp3_ = g_strcmp0 (_tmp5_, "") != 0;
       } else {
              _tmp3_ = FALSE;
       }
       _tmp6_ = _tmp3_;
       if (_tmp6_) {
              const gchar* _tmp7_;
              _tmp7_ = name;
              g_debug ("test-mpris-backend-prop-updates-client.vala:146: Client '%s' has appea" \
"red", _tmp7_);
              g_signal_emit_by_name (self, "client-appeared");
       }
       _g_object_unref0 (mpris2_root);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Mpris2Watcher* mpris2_watcher_new ( void  )
static void mpris_client_class_init ( MprisClientClass *  klass) [static]

Definition at line 4704 of file test-mpris-backend-prop-updates-client.c.

                                                               {
       mpris_client_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (MprisClientPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_mpris_client_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_mpris_client_set_property;
       G_OBJECT_CLASS (klass)->constructor = mpris_client_constructor;
       G_OBJECT_CLASS (klass)->finalize = mpris_client_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), MPRIS_CLIENT_MAINLOOP, g_param_spec_pointer ("mainloop", "mainloop", "mainloop", G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

Here is the call graph for this function:

MprisClient* mpris_client_construct ( GType  object_type,
GMainLoop *  loop 
)
static GObject * mpris_client_constructor ( GType  type,
guint  n_construct_properties,
GObjectConstructParam *  construct_properties 
) [static]

Definition at line 4683 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                   {
       GObject * obj;
       GObjectClass * parent_class;
       MprisClient * self;
       Mpris2Watcher* _tmp0_;
       Mpris2Watcher* _tmp1_;
       Mpris2Watcher* _tmp2_;
       parent_class = G_OBJECT_CLASS (mpris_client_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS_CLIENT, MprisClient);
       _tmp0_ = mpris2_watcher_new ();
       _g_object_unref0 (self->watcher);
       self->watcher = _tmp0_;
       _tmp1_ = self->watcher;
       g_signal_connect_object (_tmp1_, "client-appeared", (GCallback) _mpris_client_on_client_appeared_mpris2_watcher_client_appeared, self, 0);
       _tmp2_ = self->watcher;
       mpris2_watcher_check_for_active_clients (_tmp2_, NULL, NULL);
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void mpris_client_do_test_async_property_update_activate_playlist ( GMainLoop *  loop,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 4469 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                          {
       MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData* _data_;
       GMainLoop* _tmp0_;
       GMainLoop* _tmp1_;
       _data_ = g_slice_new0 (MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData);
       _data_->_async_result = g_simple_async_result_new (g_object_newv (G_TYPE_OBJECT, 0, NULL), _callback_, _user_data_, mpris_client_do_test_async_property_update_activate_playlist);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, mpris_client_do_test_async_property_update_activate_playlist_data_free);
       _tmp0_ = loop;
       _tmp1_ = _g_main_loop_ref0 (_tmp0_);
       _data_->loop = _tmp1_;
       mpris_client_do_test_async_property_update_activate_playlist_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean mpris_client_do_test_async_property_update_activate_playlist_co ( MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData *  _data_) [static]

Definition at line 4581 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                   {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_data3_ = g_slice_new0 (Block3Data);
       _data_->_data3_->_ref_count_ = 1;
       _data_->_data3_->_async_data_ = _data_;
       _data_->_tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       _data_->_data3_->contr = _data_->_tmp0_;
       {
              _data_->_tmp1_ = _data_->_data3_->contr->playlists;
              _data_->_tmp2_ = 0;
              _data_->_state_ = 1;
              mpris_playlists_GetPlaylists (_data_->_tmp1_, (guint32) 0, (guint32) 10, "alphabetical", FALSE, mpris_client_do_test_async_property_update_activate_playlist_ready, _data_);
              return FALSE;
              _state_1:
              _data_->_tmp3_ = NULL;
              _data_->_tmp3_ = mpris_playlists_GetPlaylists_finish (_data_->_tmp1_, _data_->_res_, &_data_->_tmp2_, &_data_->_inner_error_);
              _data_->pls = _data_->_tmp3_;
              _data_->pls_length1 = _data_->_tmp2_;
              _data_->_pls_size_ = _data_->pls_length1;
              if (_data_->_inner_error_ != NULL) {
                     if (_data_->_inner_error_->domain == G_IO_ERROR) {
                            goto __catch4_g_io_error;
                     }
                     block3_data_unref (_data_->_data3_);
                     _data_->_data3_ = NULL;
                     g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                     g_clear_error (&_data_->_inner_error_);
                     return FALSE;
              }
              _data_->_tmp4_ = _data_->_data3_->contr->playlists;
              _data_->_tmp5_ = _data_->pls[1];
              _data_->_tmp6_ = _data_->_tmp5_.path;
              mpris_playlists_ActivatePlaylist (_data_->_tmp4_, _data_->_tmp6_, NULL, NULL);
              g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 3, ____lambda5__gsource_func, block3_data_ref (_data_->_data3_), block3_data_unref);
              _data_->pls = (_vala_PlaylistDetails_array_free (_data_->pls, _data_->pls_length1), NULL);
       }
       goto __finally4;
       __catch4_g_io_error:
       {
              _data_->e = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              g_warning ("test-mpris-backend-prop-updates-client.vala:368: do_test_async_propert" \
"y_update_activate_playlist: Failed to activate playlist asynchronously");
              _g_error_free0 (_data_->e);
       }
       __finally4:
       if (_data_->_inner_error_ != NULL) {
              block3_data_unref (_data_->_data3_);
              _data_->_data3_ = NULL;
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
              g_clear_error (&_data_->_inner_error_);
              return FALSE;
       }
       _data_->_tmp7_ = _data_->loop;
       g_main_loop_quit (_data_->_tmp7_);
       block3_data_unref (_data_->_data3_);
       _data_->_data3_ = NULL;
       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 call graph for this function:

Here is the caller graph for this function:

Definition at line 4456 of file test-mpris-backend-prop-updates-client.c.

                                                                                                    {
       MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData* _data_;
       _data_ = _data;
       _g_main_loop_unref0 (_data_->loop);
       g_slice_free (MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData, _data_);
}

Here is the caller graph for this function:

Definition at line 4483 of file test-mpris-backend-prop-updates-client.c.

                                                                                               {
       MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData* _data_;
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}
static void mpris_client_do_test_async_property_update_activate_playlist_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 4505 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                   {
       MprisClientDoTestAsyncPropertyUpdateActivatePlaylistData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       mpris_client_do_test_async_property_update_activate_playlist_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

gboolean mpris_client_escape ( MprisClient *  self)
static void mpris_client_finalize ( GObject *  obj) [static]

Definition at line 4720 of file test-mpris-backend-prop-updates-client.c.

                                                 {
       MprisClient * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MPRIS_CLIENT, MprisClient);
       _g_main_loop_unref0 (self->priv->_mainloop);
       _g_object_unref0 (self->watcher);
       G_OBJECT_CLASS (mpris_client_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

GMainLoop* mpris_client_get_mainloop ( MprisClient *  self)
GType mpris_client_get_type ( void  )

Definition at line 557 of file test-mpris-backend-prop-updates-client.c.

      {
       MPRIS_CLIENT_DUMMY_PROPERTY,
       MPRIS_CLIENT_MAINLOOP
};
static void mpris_client_instance_init ( MprisClient *  self) [static]

Definition at line 4715 of file test-mpris-backend-prop-updates-client.c.

                                                            {
       self->priv = MPRIS_CLIENT_GET_PRIVATE (self);
}
gint mpris_client_main ( gchar **  args,
int  args_length1 
)
MprisClient* mpris_client_new ( GMainLoop *  loop)
void mpris_client_on_client_appeared ( MprisClient *  self)

Definition at line 4429 of file test-mpris-backend-prop-updates-client.c.

                                                          {
       Block2Data* _data2_;
       Mpris2Controller* _tmp0_;
       MprisPlayer* _tmp1_;
       _data2_ = g_slice_new0 (Block2Data);
       _data2_->_ref_count_ = 1;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       _data2_->controller = _tmp0_;
       _tmp1_ = _data2_->controller->player;
       mpris_player_Next (_tmp1_, NULL, NULL);
       g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 2, ___lambda4__gsource_func, block2_data_ref (_data2_), block2_data_unref);
       block2_data_unref (_data2_);
       _data2_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4295 of file test-mpris-backend-prop-updates-client.c.

                                                                 {
       Block1Data* _data1_;
       Mpris2Controller* _tmp0_;
       MprisPlayer* _tmp1_;
       _data1_ = g_slice_new0 (Block1Data);
       _data1_->_ref_count_ = 1;
       _tmp0_ = mpris2_controller_new ("org.mpris.MediaPlayer2.rhythmbox");
       _data1_->controller = _tmp0_;
       _tmp1_ = _data1_->controller->player;
       mpris_player_PlayPause (_tmp1_, NULL, NULL);
       g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 2, ___lambda3__gsource_func, block1_data_ref (_data1_), block1_data_unref);
       block1_data_unref (_data1_);
       _data1_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 4445 of file test-mpris-backend-prop-updates-client.c.

                                                                          {
       GMainLoop* _tmp0_;
       GMainLoop* loop;
       _tmp0_ = g_main_loop_new (NULL, FALSE);
       loop = _tmp0_;
       mpris_client_do_test_async_property_update_activate_playlist (loop, NULL, NULL);
       g_main_loop_run (loop);
       _g_main_loop_unref0 (loop);
}

Here is the call graph for this function:

Here is the caller graph for this function:

gboolean mpris_client_run_tests ( void  )
static void mpris_client_set_mainloop ( MprisClient *  self,
GMainLoop *  value 
) [static]

Definition at line 4666 of file test-mpris-backend-prop-updates-client.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_player_base_init ( MprisPlayerIface *  iface) [static]

Definition at line 1716 of file test-mpris-backend-prop-updates-client.c.

                                                              {
       static gboolean initialized = FALSE;
       if (!initialized) {
              initialized = TRUE;
              g_signal_new ("seeked", TYPE_MPRIS_PLAYER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__INT64, G_TYPE_NONE, 1, G_TYPE_INT64);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* 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 2237 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                    {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (property_name, "Metadata") == 0) {
              return _dbus_mpris_player_get_Metadata (object);
       } else if (strcmp (property_name, "Position") == 0) {
              return _dbus_mpris_player_get_Position (object);
       } else if (strcmp (property_name, "PlaybackStatus") == 0) {
              return _dbus_mpris_player_get_PlaybackStatus (object);
       }
       return NULL;
}

Here is the call graph for this function:

static void 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 2176 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                                                     {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (method_name, "PlayPause") == 0) {
              _dbus_mpris_player_PlayPause (object, parameters, invocation);
       } else if (strcmp (method_name, "Next") == 0) {
              _dbus_mpris_player_Next (object, parameters, invocation);
       } else if (strcmp (method_name, "Previous") == 0) {
              _dbus_mpris_player_Previous (object, parameters, invocation);
       } else if (strcmp (method_name, "Seek") == 0) {
              _dbus_mpris_player_Seek (object, parameters, invocation);
       } else {
              g_object_unref (invocation);
       }
}

Here is the call graph for this function:

static gboolean 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 2285 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                                    {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (property_name, "Metadata") == 0) {
              _dbus_mpris_player_set_Metadata (object, value);
              return TRUE;
       } else if (strcmp (property_name, "Position") == 0) {
              _dbus_mpris_player_set_Position (object, value);
              return TRUE;
       } else if (strcmp (property_name, "PlaybackStatus") == 0) {
              _dbus_mpris_player_set_PlaybackStatus (object, value);
              return TRUE;
       }
       return FALSE;
}

Here is the call graph for this function:

static GHashTable* mpris_player_dbus_proxy_get_Metadata ( MprisPlayer *  self) [static]

Definition at line 1883 of file test-mpris-backend-prop-updates-client.c.

                                                                            {
       GVariant *_inner_reply;
       GHashTable* _result;
       GHashTable* _tmp11_;
       GVariantIter _tmp12_;
       GVariant* _tmp13_;
       GVariant* _tmp14_;
       _inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "Metadata");
       if (!_inner_reply) {
              GVariant *_arguments;
              GVariant *_reply;
              GVariantBuilder _arguments_builder;
              g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("Metadata"));
              _arguments = g_variant_builder_end (&_arguments_builder);
              _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
              if (!_reply) {
                     return NULL;
              }
              g_variant_get (_reply, "(v)", &_inner_reply);
              g_variant_unref (_reply);
       }
       _tmp11_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp12_, _inner_reply);
       while (g_variant_iter_loop (&_tmp12_, "{?*}", &_tmp13_, &_tmp14_)) {
              g_hash_table_insert (_tmp11_, g_variant_dup_string (_tmp13_, NULL), g_variant_get_variant (_tmp14_));
       }
       _result = _tmp11_;
       g_variant_unref (_inner_reply);
       return _result;
}

Here is the caller graph for this function:

static gchar* mpris_player_dbus_proxy_get_PlaybackStatus ( MprisPlayer *  self) [static]

Definition at line 1993 of file test-mpris-backend-prop-updates-client.c.

                                                                             {
       GVariant *_inner_reply;
       gchar* _result;
       _inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "PlaybackStatus");
       if (!_inner_reply) {
              GVariant *_arguments;
              GVariant *_reply;
              GVariantBuilder _arguments_builder;
              g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("PlaybackStatus"));
              _arguments = g_variant_builder_end (&_arguments_builder);
              _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
              if (!_reply) {
                     return NULL;
              }
              g_variant_get (_reply, "(v)", &_inner_reply);
              g_variant_unref (_reply);
       }
       _result = g_variant_dup_string (_inner_reply, NULL);
       g_variant_unref (_inner_reply);
       return _result;
}

Here is the caller graph for this function:

static gint32 mpris_player_dbus_proxy_get_Position ( MprisPlayer *  self) [static]

Definition at line 1949 of file test-mpris-backend-prop-updates-client.c.

                                                                       {
       GVariant *_inner_reply;
       gint32 _result;
       _inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "Position");
       if (!_inner_reply) {
              GVariant *_arguments;
              GVariant *_reply;
              GVariantBuilder _arguments_builder;
              g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("Position"));
              _arguments = g_variant_builder_end (&_arguments_builder);
              _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
              if (!_reply) {
                     return 0;
              }
              g_variant_get (_reply, "(v)", &_inner_reply);
              g_variant_unref (_reply);
       }
       _result = g_variant_get_int32 (_inner_reply);
       g_variant_unref (_inner_reply);
       return _result;
}

Here is the caller graph for this function:

static void mpris_player_dbus_proxy_set_Metadata ( MprisPlayer *  self,
GHashTable *  value 
) [static]

Definition at line 1917 of file test-mpris-backend-prop-updates-client.c.

                                                                                        {
       GVariant *_arguments;
       GVariant *_reply;
       GVariantBuilder _arguments_builder;
       GVariantBuilder _tmp15_;
       GHashTableIter _tmp16_;
       gpointer _tmp17_;
       gpointer _tmp18_;
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("Metadata"));
       g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
       g_hash_table_iter_init (&_tmp16_, value);
       g_variant_builder_init (&_tmp15_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp16_, &_tmp17_, &_tmp18_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp17_;
              _value = (GVariant*) _tmp18_;
              g_variant_builder_add (&_tmp15_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp15_));
       g_variant_builder_close (&_arguments_builder);
       _arguments = g_variant_builder_end (&_arguments_builder);
       _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
       if (!_reply) {
              return;
       }
       g_variant_unref (_reply);
}

Here is the caller graph for this function:

static void mpris_player_dbus_proxy_set_PlaybackStatus ( MprisPlayer *  self,
const gchar *  value 
) [static]

Definition at line 2018 of file test-mpris-backend-prop-updates-client.c.

                                                                                               {
       GVariant *_arguments;
       GVariant *_reply;
       GVariantBuilder _arguments_builder;
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("PlaybackStatus"));
       g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (value));
       g_variant_builder_close (&_arguments_builder);
       _arguments = g_variant_builder_end (&_arguments_builder);
       _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
       if (!_reply) {
              return;
       }
       g_variant_unref (_reply);
}

Here is the caller graph for this function:

static void mpris_player_dbus_proxy_set_Position ( MprisPlayer *  self,
gint32  value 
) [static]

Definition at line 1974 of file test-mpris-backend-prop-updates-client.c.

                                                                                   {
       GVariant *_arguments;
       GVariant *_reply;
       GVariantBuilder _arguments_builder;
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Player"));
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("Position"));
       g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_int32 (value));
       g_variant_builder_close (&_arguments_builder);
       _arguments = g_variant_builder_end (&_arguments_builder);
       _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
       if (!_reply) {
              return;
       }
       g_variant_unref (_reply);
}

Here is the caller graph for this function:

GHashTable* mpris_player_get_Metadata ( MprisPlayer *  self)

Definition at line 1660 of file test-mpris-backend-prop-updates-client.c.

                                                          {
       g_return_val_if_fail (self != NULL, NULL);
       return MPRIS_PLAYER_GET_INTERFACE (self)->get_Metadata (self);
}
gchar* mpris_player_get_PlaybackStatus ( MprisPlayer *  self)

Definition at line 1684 of file test-mpris-backend-prop-updates-client.c.

                                                           {
       g_return_val_if_fail (self != NULL, NULL);
       return MPRIS_PLAYER_GET_INTERFACE (self)->get_PlaybackStatus (self);
}
gint32 mpris_player_get_Position ( MprisPlayer *  self)

Definition at line 1672 of file test-mpris-backend-prop-updates-client.c.

                                                     {
       g_return_val_if_fail (self != NULL, 0);
       return MPRIS_PLAYER_GET_INTERFACE (self)->get_Position (self);
}
GType mpris_player_get_type ( void  )

Definition at line 1725 of file test-mpris-backend-prop-updates-client.c.

                                   {
       static volatile gsize mpris_player_type_id__volatile = 0;
       if (g_once_init_enter (&mpris_player_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (MprisPlayerIface), (GBaseInitFunc) mpris_player_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
              GType mpris_player_type_id;
              mpris_player_type_id = g_type_register_static (G_TYPE_INTERFACE, "MprisPlayer", &g_define_type_info, 0);
              g_type_interface_add_prerequisite (mpris_player_type_id, G_TYPE_OBJECT);
              g_type_set_qdata (mpris_player_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) mpris_player_proxy_get_type);
              g_type_set_qdata (mpris_player_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.mpris.MediaPlayer2.Player");
              g_type_set_qdata (mpris_player_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) mpris_player_register_object);
              g_once_init_leave (&mpris_player_type_id__volatile, mpris_player_type_id);
       }
       return mpris_player_type_id__volatile;
}

Here is the call graph for this function:

void mpris_player_Next ( MprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 1630 of file test-mpris-backend-prop-updates-client.c.

                                                                                                 {
       MPRIS_PLAYER_GET_INTERFACE (self)->Next (self, _callback_, _user_data_);
}
void mpris_player_Next_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 1635 of file test-mpris-backend-prop-updates-client.c.

                                                                                       {
       MPRIS_PLAYER_GET_INTERFACE (self)->Next_finish (self, _res_, error);
}
void mpris_player_PlayPause ( MprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 1620 of file test-mpris-backend-prop-updates-client.c.

                                                                                                      {
       MPRIS_PLAYER_GET_INTERFACE (self)->PlayPause (self, _callback_, _user_data_);
}
void mpris_player_PlayPause_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 1625 of file test-mpris-backend-prop-updates-client.c.

                                                                                            {
       MPRIS_PLAYER_GET_INTERFACE (self)->PlayPause_finish (self, _res_, error);
}
void mpris_player_Previous ( MprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 1640 of file test-mpris-backend-prop-updates-client.c.

                                                                                                     {
       MPRIS_PLAYER_GET_INTERFACE (self)->Previous (self, _callback_, _user_data_);
}
void mpris_player_Previous_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 1645 of file test-mpris-backend-prop-updates-client.c.

                                                                                           {
       MPRIS_PLAYER_GET_INTERFACE (self)->Previous_finish (self, _res_, error);
}
static void mpris_player_proxy_class_init ( MprisPlayerProxyClass klass) [static]

Definition at line 1742 of file test-mpris-backend-prop-updates-client.c.

                                                                         {
       G_DBUS_PROXY_CLASS (klass)->g_signal = mpris_player_proxy_g_signal;
}

Here is the call graph for this function:

static void mpris_player_proxy_g_signal ( GDBusProxy *  proxy,
const gchar *  sender_name,
const gchar *  signal_name,
GVariant *  parameters 
) [static]

Definition at line 1759 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                      {
       if (strcmp (signal_name, "Seeked") == 0) {
              _dbus_handle_mpris_player_seeked ((MprisPlayer*) proxy, parameters);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_player_proxy_init ( MprisPlayerProxy self) [static]

Definition at line 1766 of file test-mpris-backend-prop-updates-client.c.

                                                             {
}
static void mpris_player_proxy_mpris_player_interface_init ( MprisPlayerIface *  iface) [static]

Definition at line 2037 of file test-mpris-backend-prop-updates-client.c.

                                                                                     {
       iface->PlayPause = mpris_player_proxy_PlayPause_async;
       iface->PlayPause_finish = mpris_player_proxy_PlayPause_finish;
       iface->Next = mpris_player_proxy_Next_async;
       iface->Next_finish = mpris_player_proxy_Next_finish;
       iface->Previous = mpris_player_proxy_Previous_async;
       iface->Previous_finish = mpris_player_proxy_Previous_finish;
       iface->Seek = mpris_player_proxy_Seek_async;
       iface->Seek_finish = mpris_player_proxy_Seek_finish;
       iface->get_Metadata = mpris_player_dbus_proxy_get_Metadata;
       iface->set_Metadata = mpris_player_dbus_proxy_set_Metadata;
       iface->get_Position = mpris_player_dbus_proxy_get_Position;
       iface->set_Position = mpris_player_dbus_proxy_set_Position;
       iface->get_PlaybackStatus = mpris_player_dbus_proxy_get_PlaybackStatus;
       iface->set_PlaybackStatus = mpris_player_dbus_proxy_set_PlaybackStatus;
}

Here is the call graph for this function:

static void mpris_player_proxy_Next_async ( MprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 1798 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                    {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.mpris.MediaPlayer2.Player", "Next");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_player_proxy_Next_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 1812 of file test-mpris-backend-prop-updates-client.c.

                                                                                                    {
       GDBusMessage *_reply_message;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return;
       }
       g_object_unref (_reply_message);
}

Here is the caller graph for this function:

static void mpris_player_proxy_PlayPause_async ( MprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 1770 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                         {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.mpris.MediaPlayer2.Player", "PlayPause");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_player_proxy_PlayPause_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 1784 of file test-mpris-backend-prop-updates-client.c.

                                                                                                         {
       GDBusMessage *_reply_message;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return;
       }
       g_object_unref (_reply_message);
}

Here is the caller graph for this function:

static void mpris_player_proxy_Previous_async ( MprisPlayer *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 1826 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                        {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.mpris.MediaPlayer2.Player", "Previous");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_player_proxy_Previous_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 1840 of file test-mpris-backend-prop-updates-client.c.

                                                                                                        {
       GDBusMessage *_reply_message;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return;
       }
       g_object_unref (_reply_message);
}

Here is the caller graph for this function:

static void mpris_player_proxy_Seek_async ( MprisPlayer *  self,
gint64  offset,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 1854 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                   {
       GDBusMessage *_message;
       GVariant *_arguments;
       GVariantBuilder _arguments_builder;
       G_IO_ERROR;
       _message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.mpris.MediaPlayer2.Player", "Seek");
       g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
       g_variant_builder_add_value (&_arguments_builder, g_variant_new_int64 (offset));
       _arguments = g_variant_builder_end (&_arguments_builder);
       g_dbus_message_set_body (_message, _arguments);
       g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_simple_async_result_new ((GObject *) self, _callback_, _user_data_, NULL));
       g_object_unref (_message);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void mpris_player_proxy_Seek_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 1869 of file test-mpris-backend-prop-updates-client.c.

                                                                                                    {
       GDBusMessage *_reply_message;
       _reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), g_simple_async_result_get_op_res_gpointer ((GSimpleAsyncResult *) _res_), error);
       if (!_reply_message) {
              return;
       }
       if (g_dbus_message_to_gerror (_reply_message, error)) {
              g_object_unref (_reply_message);
              return;
       }
       g_object_unref (_reply_message);
}

Here is the caller graph for this function:

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

Definition at line 2318 of file test-mpris-backend-prop-updates-client.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 *) (&_mpris_player_dbus_interface_info), &_mpris_player_dbus_interface_vtable, data, _mpris_player_unregister_object, error);
       if (!result) {
              return 0;
       }
       g_signal_connect (object, "seeked", (GCallback) _dbus_mpris_player_seeked, data);
       return result;
}

Here is the call graph for this function:

void mpris_player_Seek ( MprisPlayer *  self,
gint64  offset,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 1650 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                {
       MPRIS_PLAYER_GET_INTERFACE (self)->Seek (self, offset, _callback_, _user_data_);
}
void mpris_player_Seek_finish ( MprisPlayer *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 1655 of file test-mpris-backend-prop-updates-client.c.

                                                                                       {
       MPRIS_PLAYER_GET_INTERFACE (self)->Seek_finish (self, _res_, error);
}
void mpris_player_set_Metadata ( MprisPlayer *  self,
GHashTable *  value 
)

Definition at line 1666 of file test-mpris-backend-prop-updates-client.c.

                                                                      {
       g_return_if_fail (self != NULL);
       MPRIS_PLAYER_GET_INTERFACE (self)->set_Metadata (self, value);
}
void mpris_player_set_PlaybackStatus ( MprisPlayer *  self,
const gchar *  value 
)

Definition at line 1690 of file test-mpris-backend-prop-updates-client.c.

                                                                             {
       g_return_if_fail (self != NULL);
       MPRIS_PLAYER_GET_INTERFACE (self)->set_PlaybackStatus (self, value);
}
void mpris_player_set_Position ( MprisPlayer *  self,
gint32  value 
)

Definition at line 1678 of file test-mpris-backend-prop-updates-client.c.

                                                                 {
       g_return_if_fail (self != NULL);
       MPRIS_PLAYER_GET_INTERFACE (self)->set_Position (self, value);
}
void mpris_playlists_ActivatePlaylist ( MprisPlaylists *  self,
const char *  playlist_id,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 2442 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                            {
       MPRIS_PLAYLISTS_GET_INTERFACE (self)->ActivatePlaylist (self, playlist_id, _callback_, _user_data_);
}
void mpris_playlists_ActivatePlaylist_finish ( MprisPlaylists *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 2447 of file test-mpris-backend-prop-updates-client.c.

                                                                                                         {
       MPRIS_PLAYLISTS_GET_INTERFACE (self)->ActivatePlaylist_finish (self, _res_, error);
}
static void mpris_playlists_base_init ( MprisPlaylistsIface *  iface) [static]

Definition at line 2518 of file test-mpris-backend-prop-updates-client.c.

                                                                    {
       static gboolean initialized = FALSE;
       if (!initialized) {
              initialized = TRUE;
              g_signal_new ("playlist_changed", TYPE_MPRIS_PLAYLISTS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__BOXED, G_TYPE_NONE, 1, TYPE_PLAYLIST_DETAILS);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static GVariant* 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]

Definition at line 3087 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                       {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (property_name, "Orderings") == 0) {
              return _dbus_mpris_playlists_get_Orderings (object);
       } else if (strcmp (property_name, "PlaylistCount") == 0) {
              return _dbus_mpris_playlists_get_PlaylistCount (object);
       } else if (strcmp (property_name, "ActivePlaylist") == 0) {
              return _dbus_mpris_playlists_get_ActivePlaylist (object);
       }
       return NULL;
}

Here is the call graph for this function:

static void 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]

Definition at line 3024 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                                                        {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (method_name, "ActivatePlaylist") == 0) {
              _dbus_mpris_playlists_ActivatePlaylist (object, parameters, invocation);
       } else if (strcmp (method_name, "GetPlaylists") == 0) {
              _dbus_mpris_playlists_GetPlaylists (object, parameters, invocation);
       } else {
              g_object_unref (invocation);
       }
}

Here is the call graph for this function:

static gboolean 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]

Definition at line 3174 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                                                                                                                                                       {
       gpointer* data;
       gpointer object;
       data = user_data;
       object = data[0];
       if (strcmp (property_name, "Orderings") == 0) {
              _dbus_mpris_playlists_set_Orderings (object, value);
              return TRUE;
       } else if (strcmp (property_name, "PlaylistCount") == 0) {
              _dbus_mpris_playlists_set_PlaylistCount (object, value);
              return TRUE;
       } else if (strcmp (property_name, "ActivePlaylist") == 0) {
              _dbus_mpris_playlists_set_ActivePlaylist (object, value);
              return TRUE;
       }
       return FALSE;
}

Here is the call graph for this function:

static void mpris_playlists_dbus_proxy_get_ActivePlaylist ( MprisPlaylists *  self,
ActivePlaylistContainer *  result 
) [static]

Definition at line 2818 of file test-mpris-backend-prop-updates-client.c.

                                                                                                                  {
       GVariant *_inner_reply;
       ActivePlaylistContainer _tmp49_;
       GVariantIter _tmp50_;
       GVariant* _tmp51_;
       GVariant* _tmp52_;
       PlaylistDetails _tmp53_;
       GVariantIter _tmp54_;
       GVariant* _tmp55_;
       GVariant* _tmp56_;
       GVariant* _tmp57_;
       _inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "ActivePlaylist");
       if (!_inner_reply) {
              GVariant *_arguments;
              GVariant *_reply;
              GVariantBuilder _arguments_builder;
              g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.mpris.MediaPlayer2.Playlists"));
              g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("ActivePlaylist"));
              _arguments = g_variant_builder_end (&_arguments_builder);
              _reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
              if (!_reply) {
                     return;
              }
              g_variant_get (_reply, "(v)", &_inner_reply);
              g_variant_unref (_reply);
       }
       g_variant_iter_init (&_tmp50_, _inner_reply);
       _tmp51_ = g_variant_iter_next_value (&_tmp50_);
       _tmp49_.valid = g_variant_get_boolean (_tmp51_);
       g_variant_unref (_tmp51_);
       _tmp52_ = g_variant_iter_next_value (&_tmp50_);
       g_variant_iter_init (&_tmp54_, _tmp52_);
       _tmp55_ = g_variant_iter_next_value (&_tmp54_);
       _tmp53_.path = g_variant_dup_string (_tmp55_, NULL);
       g_variant_unref (_tmp55_);
       _tmp56_ = g_variant_iter_next_value (&_tmp54_);
       _tmp53_.name = g_variant_dup_string (_tmp56_, NULL);
       g_variant_unref (_tmp56_);
       _tmp57_ = g_variant_iter_next_value (&_tmp54_);
       _tmp53_.icon_name = g_variant_dup_string (_tmp57_, NULL);
       g_variant_unref (_tmp57_);
       _tmp49_.details = _tmp53_;
       g_variant_unref (_tmp52_);
       *result = _tmp49_;
       g_variant_unref (_inner_reply);
       return;
}

Here is the caller graph for this function: