]> mj.ucw.cz Git - ursary.git/blobdiff - pulse-ucw.c
More...
[ursary.git] / pulse-ucw.c
index b0581cb57bd2aeb095597f1e7a7ce5ec326471ee..b94ec8fa382377f047da18b6cc64b8bd463fe924 100644 (file)
@@ -77,7 +77,7 @@ static void pmain_quit(pa_mainloop_api *a, int retval);
 
 static struct main_hook pmain_gc_hook;
 
-static void pmain_trigger_gc(void);
+static void pmain_schedule_gc(void);
 
 struct pa_mainloop_api pmain_api = {
   .io_new = pmain_io_new,
@@ -189,7 +189,7 @@ static void pmain_io_free(pa_io_event *e)
   DBG("Pulse: Deleting IO %p for fd %d", e, e->io->f.fd);
   pmain_io_enable(e, 0);
   clist_add_tail(&pmain_io_gc_list, &e->gc_n);
-  pmain_trigger_gc();
+  pmain_schedule_gc();
 }
 
 static void pmain_io_set_destroy(pa_io_event *e, pa_io_event_destroy_cb_t cb)
@@ -241,7 +241,7 @@ static void pmain_time_free(pa_time_event *e)
   DBG("Pulse: Timer %p deleted", e);
   timer_del(&e->t);
   clist_add_tail(&pmain_time_gc_list, &e->n);
-  pmain_trigger_gc();
+  pmain_schedule_gc();
 }
 
 static void pmain_time_set_destroy(pa_time_event *e, pa_time_event_destroy_cb_t cb)
@@ -284,7 +284,7 @@ static void pmain_defer_free(pa_defer_event *e)
   DBG("Pulse: Deferred event %p deleted", e);
   hook_del(&e->h);
   clist_add_tail(&pmain_defer_gc_list, &e->n);
-  pmain_trigger_gc();
+  pmain_schedule_gc();
 }
 
 static void pmain_defer_set_destroy(pa_defer_event *e, pa_defer_event_destroy_cb_t cb)
@@ -343,7 +343,7 @@ static int pmain_gc_handler(struct main_hook *h)
   return HOOK_RETRY;
 }
 
-static void pmain_trigger_gc(void)
+static void pmain_schedule_gc(void)
 {
   hook_add(&pmain_gc_hook);
 }