summaryrefslogtreecommitdiff
path: root/frontends/gtk
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-09-07 15:30:08 +0100
committerVincent Sanders <vince@kyllikki.org>2017-09-07 15:30:08 +0100
commitb9bdc279f228c6e70d05c85361fe7d018beba444 (patch)
tree644d6f0ba58b3c977f01ccb73a4143be24ec1309 /frontends/gtk
parentb346790cf67d5bda40ed06c035f02d0af414361a (diff)
downloadnetsurf-b9bdc279f228c6e70d05c85361fe7d018beba444.tar.gz
netsurf-b9bdc279f228c6e70d05c85361fe7d018beba444.tar.bz2
Update scheduler logging to use catagory
Diffstat (limited to 'frontends/gtk')
-rw-r--r--frontends/gtk/schedule.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/frontends/gtk/schedule.c b/frontends/gtk/schedule.c
index 201432097..d5b45674b 100644
--- a/frontends/gtk/schedule.c
+++ b/frontends/gtk/schedule.c
@@ -46,7 +46,7 @@ nsgtk_schedule_generic_callback(gpointer data)
_nsgtk_callback_t *cb = (_nsgtk_callback_t *)(data);
if (cb->callback_killed) {
/* This callback instance has been killed. */
- NSLOG(netsurf, DEBUG, "CB at %p already dead.", cb);
+ NSLOG(schedule, DEBUG, "CB at %p already dead.", cb);
}
queued_callbacks = g_list_remove(queued_callbacks, cb);
pending_callbacks = g_list_append(pending_callbacks, cb);
@@ -60,7 +60,8 @@ nsgtk_schedule_kill_callback(void *_target, void *_match)
_nsgtk_callback_t *match = (_nsgtk_callback_t *)_match;
if ((target->callback == match->callback) &&
(target->context == match->context)) {
- NSLOG(netsurf, DEBUG, "Found match for %p(%p), killing.",
+ NSLOG(schedule, DEBUG,
+ "Found match for %p(%p), killing.",
target->callback, target->context);
target->callback = NULL;
target->context = NULL;
@@ -119,7 +120,8 @@ schedule_run(void)
/* Clear the pending list. */
pending_callbacks = NULL;
- NSLOG(netsurf, DEBUG, "Captured a run of %d callbacks to fire.",
+ NSLOG(schedule, DEBUG,
+ "Captured a run of %d callbacks to fire.",
g_list_length(this_run));
/* Run all the callbacks which made it this far. */