diff options
author | Florian Müllner <fmuellner@gnome.org> | 2014-10-25 17:57:35 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2015-01-07 13:09:03 +0200 |
commit | 1703f2aeba9bf6317196d9393a2c1515937858ae (patch) | |
tree | a25cdb304cb1d75ea3749ef5698795b2297fd106 | |
parent | f96e215409997ad0a7619e6aea15b13fac404688 (diff) | |
download | metacity-1703f2aeba9bf6317196d9393a2c1515937858ae.tar.gz |
ui: Adapt to GtkStyleContext changes
Since GTK+ commit 3a337156d11a86c7, save()/restore() may only be
used for subelements; in this particular case, the change broke
the backdrop state in decorations. Luckily we don't actually need
the save()/restore() pair anyway, as we only touch the context's
state and always set it explicitly.
-rw-r--r-- | src/ui/theme.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c index 61dee8de..9c405c2c 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -3636,7 +3636,6 @@ meta_draw_op_draw_with_env (const MetaDrawOp *op, GdkRGBA color; cairo_save (cr); - gtk_style_context_save (style_gtk); cairo_set_line_width (cr, 1.0); @@ -4112,7 +4111,6 @@ meta_draw_op_draw_with_env (const MetaDrawOp *op, } cairo_restore (cr); - gtk_style_context_restore (style_gtk); } MetaDrawOpList* |