nsgtk warning squashes

svn path=/trunk/netsurf/; revision=3270
This commit is contained in:
Rob Kendrick 2007-05-06 17:50:28 +00:00
parent dbf2c37f89
commit 04d8cae4c8

View File

@ -15,6 +15,7 @@
#include "netsurf/gtk/gtk_schedule.h"
#undef NDEBUG
#include "netsurf/utils/log.h"
#include "netsurf/utils/utils.h"
#include <gdk/gdkkeysyms.h>
#include <assert.h>
@ -265,7 +266,7 @@ gboolean nsgtk_window_expose_event(GtkWidget *widget,
for (z = window_list; z && z != g; z = z->next)
continue;
assert(z);
assert(g->drawing_area == widget);
assert(GTK_WIDGET(g->drawing_area) == widget);
c = g->bw->current_content;
if (c == NULL)