GTK: Catch a couple of missed flag renames

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
Daniel Silverstone 2020-02-22 18:13:22 +00:00
parent 727ff38647
commit 6321243bbd
No known key found for this signature in database
GPG Key ID: C30DF439F2987D74
2 changed files with 2 additions and 2 deletions

View File

@ -757,7 +757,7 @@ nserror nsgtk_corewindow_init(struct nsgtk_corewindow *nsgtk_cw)
nsgtk_widget_override_background_color(
GTK_WIDGET(nsgtk_cw->drawing_area),
GTK_STATE_NORMAL,
GTK_STATE_FLAG_NORMAL,
0, 0xffff, 0xffff, 0xffff);
return NSERROR_OK;

View File

@ -908,7 +908,7 @@ gui_window_create(struct browser_window *bw,
/* set the default background colour of the drawing area to white. */
nsgtk_widget_override_background_color(GTK_WIDGET(g->layout),
GTK_STATE_NORMAL,
GTK_STATE_FLAG_NORMAL,
0, 0xffff, 0xffff, 0xffff);
nsgtk_connect_draw_event(GTK_WIDGET(g->layout),