summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 15:21:02 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 15:21:02 +0100
commitaf99a9ea5cfa409e4b242f1719eec8e38d42eb85 (patch)
treebe420ae74a99dbe960322ddbea5e09b484f05d74
parentd8d4b76a69db0478c1ca50fb5b606bb31e73376e (diff)
remove build warnings to get a clean buildHEADmaster
no actual functional changes
-rw-r--r--src/bin/browser.c20
-rw-r--r--src/bin/main.c6
-rw-r--r--src/bin/video.c6
3 files changed, 18 insertions, 14 deletions
diff --git a/src/bin/browser.c b/src/bin/browser.c
index 9da726c..b278c9e 100644
--- a/src/bin/browser.c
+++ b/src/bin/browser.c
@@ -611,22 +611,22 @@ _cb_entry_table_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *in
611} 611}
612 612
613static void 613static void
614_cb_entry_table_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *info EINA_UNUSED) 614_cb_entry_table_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED)
615{ 615{
616 Entry *entry = data; 616// Entry *entry = data;
617 Evas_Object *win = evas_object_data_get(obj, "win"); 617// Evas_Object *win = evas_object_data_get(obj, "win");
618 if (initial_update_timer) return; 618// if (initial_update_timer) return;
619// _entry_files_redo(win, entry); 619// _entry_files_redo(win, entry);
620} 620}
621 621
622static void 622static void
623_cb_scroller_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED) 623_cb_scroller_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED)
624{ 624{
625 Inf *inf = evas_object_data_get(data, "inf"); 625// Inf *inf = evas_object_data_get(data, "inf");
626 Eina_List *l; 626// Eina_List *l;
627 Entry *entry; 627// Entry *entry;
628 if ((!inf) || (!bx)) return; 628// if ((!inf) || (!bx)) return;
629 if (initial_update_timer) return; 629// if (initial_update_timer) return;
630// printf("_cb_scroller_resize .... \n"); 630// printf("_cb_scroller_resize .... \n");
631// EINA_LIST_FOREACH(entries, l, entry) 631// EINA_LIST_FOREACH(entries, l, entry)
632// { 632// {
diff --git a/src/bin/main.c b/src/bin/main.c
index b7a67ec..4481984 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -169,7 +169,8 @@ elm_main(int argc, char **argv)
169 Evas_Object *win; 169 Evas_Object *win;
170 char buf[4096]; 170 char buf[4096];
171 int i; 171 int i;
172 Config *config; 172// XXX: to do later
173// Config *config;
173 Inf *inf; 174 Inf *inf;
174 Eina_Bool fullscreen = EINA_FALSE; 175 Eina_Bool fullscreen = EINA_FALSE;
175 int rotation = 0; 176 int rotation = 0;
@@ -180,7 +181,8 @@ elm_main(int argc, char **argv)
180 181
181 elm_need_efreet(); 182 elm_need_efreet();
182 config_init(); 183 config_init();
183 config = config_get(); 184// XXX: to do later
185// config = config_get();
184 for (i = 1; i < argc; i++) 186 for (i = 1; i < argc; i++)
185 { 187 {
186 if ((!strcmp(argv[i], "-h")) || 188 if ((!strcmp(argv[i], "-h")) ||
diff --git a/src/bin/video.c b/src/bin/video.c
index 03744d4..fc6f4f4 100644
--- a/src/bin/video.c
+++ b/src/bin/video.c
@@ -584,7 +584,8 @@ video_add(Evas_Object *parent)
584 Evas *e; 584 Evas *e;
585 Evas_Object *obj, *o; 585 Evas_Object *obj, *o;
586 Video *sd; 586 Video *sd;
587 Config *config; 587// XXX: to do later
588// Config *config;
588 589
589 EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL); 590 EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
590 e = evas_object_evas_get(parent); 591 e = evas_object_evas_get(parent);
@@ -598,7 +599,8 @@ video_add(Evas_Object *parent)
598 emotion_init(); 599 emotion_init();
599 o = sd->o_vid = emotion_object_add(evas_object_evas_get(obj)); 600 o = sd->o_vid = emotion_object_add(evas_object_evas_get(obj));
600 emotion_object_keep_aspect_set(o, EMOTION_ASPECT_KEEP_NONE); 601 emotion_object_keep_aspect_set(o, EMOTION_ASPECT_KEEP_NONE);
601 config = config_get(); 602// XXX: to do later
603// config = config_get();
602 evas_object_smart_callback_add(o, "frame_decode", _cb_vid_frame, obj); 604 evas_object_smart_callback_add(o, "frame_decode", _cb_vid_frame, obj);
603 evas_object_smart_callback_add(o, "frame_resize", _cb_vid_resize, obj); 605 evas_object_smart_callback_add(o, "frame_resize", _cb_vid_resize, obj);
604 evas_object_smart_callback_add(o, "decode_stop", _cb_vid_stop, obj); 606 evas_object_smart_callback_add(o, "decode_stop", _cb_vid_stop, obj);