[metacity] theme: don't save/restore context in meta_set_color_from_style
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] theme: don't save/restore context in meta_set_color_from_style
- Date: Sat, 23 Jan 2016 23:17:39 +0000 (UTC)
commit ffd2355ede02f1ef10f989489e555d1d66365f46
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Jan 24 01:07:19 2016 +0200
theme: don't save/restore context in meta_set_color_from_style
src/ui/theme.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 6e7740f..4e8c859 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -1733,7 +1733,6 @@ meta_set_color_from_style (GdkRGBA *color,
{
GdkRGBA other;
- gtk_style_context_save (context);
gtk_style_context_set_state (context, state);
switch (component)
@@ -1773,8 +1772,6 @@ meta_set_color_from_style (GdkRGBA *color,
g_assert_not_reached ();
break;
}
-
- gtk_style_context_restore (context);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]