[project @ 2006-03-10 02:03:56 by dsilvers]

Remove some unnecessary debug from GTK frontend

svn path=/import/netsurf/; revision=2119
This commit is contained in:
Daniel Silverstone 2006-03-10 02:03:56 +00:00
parent 78f85340ae
commit 22d208e107
2 changed files with 0 additions and 10 deletions

View File

@ -138,8 +138,6 @@ bool nsgtk_plot_bitmap(int x, int y, int width, int height,
{
GdkPixbuf *pixbuf = (GdkPixbuf *) bitmap;
LOG(("PLOT: %p @ %d,%d (%dx%d)\n", bitmap, x, y, width, height));
if (width == 0 || height == 0)
return true;

View File

@ -7,7 +7,6 @@
#include <glib.h>
#include <stdlib.h>
#include <stdio.h>
#include "netsurf/desktop/browser.h"
@ -24,12 +23,9 @@ static gboolean ns_generic_gtk_callback(gpointer data)
_nsgtkcallback *cb = (_nsgtkcallback*)(data);
if(cb->die) {
/* We got removed before we got fired off */
fprintf(stderr, "Callback %p(%p) died before run\n",
cb->callback, cb->p);
free(cb);
return FALSE;
}
fprintf(stderr, "Calling %p(%p)\n", cb->callback, cb->p);
cb->callback(cb->p);
callbacks = g_list_remove(callbacks, cb);
free(cb);
@ -46,9 +42,6 @@ void schedule_remove(void (*callback)(void *p), void *p)
if(cb->callback == callback && cb->p == p) {
l = callbacks = g_list_remove(callbacks, cb);
cb->die = 1;
fprintf(stderr, "Callback %p(%p) scheduled for removal\n",
cb->callback, cb->p);
} else
l = g_list_next(l);
}
@ -63,7 +56,6 @@ void schedule(int t, void (*callback)(void *p), void *p)
cb->die = 0;
callbacks = g_list_prepend(callbacks, cb);
g_timeout_add(t * 10, ns_generic_gtk_callback, cb);
fprintf(stderr, "Scheduled a callback to %p(%p) for %d CS\n", callback, p, t);
}
void schedule_run(void)