summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore/ecore_main.c
diff options
context:
space:
mode:
authorMike McCormack <mj.mccormack@samsung.com>2011-07-05 02:31:58 +0000
committerMike McCormack <mikem@ring3k.org>2011-07-05 02:31:58 +0000
commitd1691ffd7087d2444d12ccb8af1b26e36b4fbb8a (patch)
treec126616cd3d3034fb4a709563ab6a59fd76aa7c9 /legacy/ecore/src/lib/ecore/ecore_main.c
parent24a3c5a092714cece566b0527df0e58b803de3c1 (diff)
ecore: Remove excessively verbose logging
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com> SVN revision: 61027
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_main.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c
index f1e731f4f2..e6db6a5a20 100644
--- a/legacy/ecore/src/lib/ecore/ecore_main.c
+++ b/legacy/ecore/src/lib/ecore/ecore_main.c
@@ -485,17 +485,15 @@ _ecore_main_gsource_prepare(GSource *source __UNUSED__, gint *next_time)
485static gboolean 485static gboolean
486_ecore_main_gsource_check(GSource *source __UNUSED__) 486_ecore_main_gsource_check(GSource *source __UNUSED__)
487{ 487{
488 INF("enter");
489 in_main_loop++; 488 in_main_loop++;
490 489
491 ecore_fds_ready = (_ecore_main_fdh_poll_mark_active() > 0); 490 ecore_fds_ready = (_ecore_main_fdh_poll_mark_active() > 0);
492 _ecore_main_fd_handlers_cleanup(); 491 _ecore_main_fd_handlers_cleanup();
493 492
494 _ecore_time_loop_time = ecore_time_get(); 493 _ecore_time_loop_time = ecore_time_get();
495 _ecore_timer_enable_new(); 494 _ecore_timer_enable_new();
496 495
497 in_main_loop--; 496 in_main_loop--;
498 INF("leave");
499 497
500 return TRUE; /* always dispatch */ 498 return TRUE; /* always dispatch */
501} 499}
@@ -519,19 +517,16 @@ _ecore_main_gsource_dispatch(GSource *source __UNUSED__, GSourceFunc callback __
519 517
520 if (ecore_idling && events_ready) 518 if (ecore_idling && events_ready)
521 { 519 {
522 INF("calling idle exiters");
523 _ecore_idle_exiter_call(); 520 _ecore_idle_exiter_call();
524 ecore_idling = 0; 521 ecore_idling = 0;
525 } 522 }
526 else if (!ecore_idling && !events_ready) 523 else if (!ecore_idling && !events_ready)
527 { 524 {
528 INF("start idling");
529 ecore_idling = 1; 525 ecore_idling = 1;
530 } 526 }
531 527
532 if (ecore_idling) 528 if (ecore_idling)
533 { 529 {
534 INF("calling idler");
535 _ecore_idler_call(); 530 _ecore_idler_call();
536 531
537 events_ready = _ecore_event_exist(); 532 events_ready = _ecore_event_exist();
@@ -540,7 +535,6 @@ _ecore_main_gsource_dispatch(GSource *source __UNUSED__, GSourceFunc callback __
540 535
541 if ((ecore_fds_ready || events_ready || timers_ready || idlers_ready || signals_ready)) 536 if ((ecore_fds_ready || events_ready || timers_ready || idlers_ready || signals_ready))
542 { 537 {
543 INF("calling idle exiters");
544 _ecore_idle_exiter_call(); 538 _ecore_idle_exiter_call();
545 ecore_idling = 0; 539 ecore_idling = 0;
546 } 540 }
@@ -549,7 +543,6 @@ _ecore_main_gsource_dispatch(GSource *source __UNUSED__, GSourceFunc callback __
549 /* process events */ 543 /* process events */
550 if (!ecore_idling) 544 if (!ecore_idling)
551 { 545 {
552 INF("work");
553 _ecore_main_fd_handlers_call(); 546 _ecore_main_fd_handlers_call();
554 if (fd_handlers_with_buffer) 547 if (fd_handlers_with_buffer)
555 _ecore_main_fd_handlers_buf_call(); 548 _ecore_main_fd_handlers_buf_call();
@@ -560,15 +553,12 @@ _ecore_main_gsource_dispatch(GSource *source __UNUSED__, GSourceFunc callback __
560 553
561 in_main_loop--; 554 in_main_loop--;
562 555
563 INF("leave");
564
565 return TRUE; /* what should be returned here? */ 556 return TRUE; /* what should be returned here? */
566} 557}
567 558
568static void 559static void
569_ecore_main_gsource_finalize(GSource *source __UNUSED__) 560_ecore_main_gsource_finalize(GSource *source __UNUSED__)
570{ 561{
571 INF("finalize");
572} 562}
573 563
574static GSourceFuncs ecore_gsource_funcs = 564static GSourceFuncs ecore_gsource_funcs =
@@ -621,7 +611,6 @@ _ecore_main_loop_init(void)
621 CRIT("Failed to attach glib source to default context"); 611 CRIT("Failed to attach glib source to default context");
622 } 612 }
623#endif 613#endif
624 INF("leave");
625} 614}
626 615
627void 616void
@@ -737,9 +726,7 @@ ecore_main_loop_quit(void)
737#ifndef USE_G_MAIN_LOOP 726#ifndef USE_G_MAIN_LOOP
738 do_quit = 1; 727 do_quit = 1;
739#else 728#else
740 INF("enter");
741 g_main_loop_quit(ecore_main_loop); 729 g_main_loop_quit(ecore_main_loop);
742 INF("leave");
743#endif 730#endif
744} 731}
745 732