mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-29 15:29:42 +03:00
nsgtk warning squashes
svn path=/trunk/netsurf/; revision=3270
This commit is contained in:
parent
dbf2c37f89
commit
04d8cae4c8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user