aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/media/media-rygel.h
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2016-01-20 16:31:00 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2016-01-20 16:31:00 +0100
commit9c066241bc2c1195f1bee5c17b39b023d257bd9e (patch)
tree3f689153cd1cebfbf013d1966a31ed8b2c428a8f /plugins/media/media-rygel.h
parenta5a5383bba11e69379e27919f101c5e7718f8bf2 (diff)
Fix Media Plugin content list API
Listing content had various pointer-related issues. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins/media/media-rygel.h')
-rw-r--r--plugins/media/media-rygel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/media/media-rygel.h b/plugins/media/media-rygel.h
index c9705a4a..37fa53c4 100644
--- a/plugins/media/media-rygel.h
+++ b/plugins/media/media-rygel.h
@@ -42,7 +42,8 @@ struct dev_ctx {
STATIC void _rygel_device_cb (GUPnPControlPoint *, GUPnPDeviceProxy *, gpointer);
STATIC void _rygel_content_cb (GUPnPServiceProxy *, GUPnPServiceProxyAction *, gpointer);
-static struct dev_ctx **dev_ctx = NULL;
+static gint handler_cb;
static unsigned int client_count = 0;
+static struct dev_ctx **dev_ctx = NULL;
#endif /* MEDIA_RYGEL_H */