summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2018-06-14 15:37:40 +0300
committerLeon Anavi <leon.anavi@konsulko.com>2018-06-15 09:31:17 +0300
commit509fccb7b03b72361c614f26c24e7e0a9034c877 (patch)
tree0f555f4296aefd615b93e3cba961bd617c30a7d0 /binding
parent4848cc2ed0365c3ba1bffc7f3c1f59652e245a7e (diff)
afm-mediaplayer-binding.c: Fix coding styleeel_5.1.0eel/5.1.05.1.0eel
Set the opening brace at the beginning of the next line for each function. Bug-AGL: SPEC-1515 Change-Id: I8277e52fd2093e0df5ab998e990bed3d5c2ab32c Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Diffstat (limited to 'binding')
-rw-r--r--binding/afm-mediaplayer-binding.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/binding/afm-mediaplayer-binding.c b/binding/afm-mediaplayer-binding.c
index 86ed5bf..88cc574 100644
--- a/binding/afm-mediaplayer-binding.c
+++ b/binding/afm-mediaplayer-binding.c
@@ -167,7 +167,8 @@ static int set_media_uri(struct playlist_item *item)
return 0;
}
-static int in_list(gconstpointer item, gconstpointer list) {
+static int in_list(gconstpointer item, gconstpointer list)
+{
return g_strcmp0(((struct playlist_item *) item)->media_path,
((struct playlist_item *) list)->media_path);
}
@@ -843,7 +844,8 @@ void *gstreamer_loop_thread(void *ptr)
g_main_loop_run(g_main_loop_new(NULL, FALSE));
}
-static int init() {
+static int init()
+{
pthread_t thread_id;
json_object *response, *query;
int ret;