properties: pass PinosProperties around

Pass PinosProperties around instead of GVariant. This is much easier to
deal with.
This commit is contained in:
Wim Taymans 2015-07-17 16:57:01 +02:00
parent c77d7718a2
commit 31da833069
18 changed files with 248 additions and 120 deletions

View file

@ -24,6 +24,7 @@
#include <glib-object.h>
#include <client/context.h>
#include <client/properties.h>
G_BEGIN_DECLS
@ -57,13 +58,14 @@ typedef enum {
* @state: the current state of the source
* @formats: the supported formats
*
* The source information
* The source information. Extra information can be added in later
* versions.
*/
typedef struct {
gpointer id;
const char *source_path;
const char *name;
GVariant *properties;
PinosProperties *properties;
PinosSourceState state;
GBytes *formats;
} PinosSourceInfo;