diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2011-01-08 22:26:55 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2011-01-11 09:01:02 +0800 |
commit | b2bbeb102c9a2fe3817d01959681a82b6b11d177 (patch) | |
tree | 11fae6294f94eadf8d12b1030dc0e9acb650fcbb /embed/ephy-web-view.c | |
parent | 0205afea985c753c6400eba9634f679863d085c0 (diff) | |
download | gsoc2013-epiphany-b2bbeb102c9a2fe3817d01959681a82b6b11d177.tar.gz gsoc2013-epiphany-b2bbeb102c9a2fe3817d01959681a82b6b11d177.tar.zst gsoc2013-epiphany-b2bbeb102c9a2fe3817d01959681a82b6b11d177.zip |
Use the new GTK_STATE_FLAG_NORMAL flag
Until 2.99.0 GtkStyleContext didn't have a "normal" flag, the closest thing was
GTK_STATE_FLAG_ACTIVE, but it is not necessarily correct.
Bug #636501
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index af7e77132..e11eab665 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1187,7 +1187,7 @@ _ephy_web_view_draw_statusbar (GtkWidget *widget, cairo_t *cr) context = gtk_widget_get_style_context (widget); gtk_style_context_save (context); - gtk_style_context_set_state (context, GTK_STATE_FLAG_ACTIVE); + gtk_style_context_set_state (context, GTK_STATE_FLAG_NORMAL); gtk_render_background (context, cr, priv->text_rectangle.x, priv->text_rectangle.y, |