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

@ -427,10 +427,13 @@ pinos_gst_source_init (PinosGstSource * source)
PinosSource *
pinos_gst_source_new (PinosDaemon *daemon,
const gchar *name,
PinosProperties *properties,
GstElement *element)
{
return g_object_new (PINOS_TYPE_GST_SOURCE,
"daemon", daemon,
"name", name,
"element", element, NULL);
"properties", properties,
"element", element,
NULL);
}

View file

@ -55,6 +55,7 @@ GType pinos_gst_source_get_type (void);
PinosSource * pinos_gst_source_new (PinosDaemon *daemon,
const gchar *name,
PinosProperties *properties,
GstElement *element);
G_END_DECLS