summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtk_window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtk_window.c b/gtk/gtk_window.c
index 801ada22a..641ecbb55 100644
--- a/gtk/gtk_window.c
+++ b/gtk/gtk_window.c
@@ -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)