summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/frames.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c
index e0a70d1e..bae7de92 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -233,20 +233,20 @@ static void
update_style_contexts (MetaFrames *frames)
{
GtkStyleContext *style;
- GList *variants, *variant;
+ GList *variant_list, *variant;
if (frames->normal_style)
g_object_unref (frames->normal_style);
frames->normal_style = create_style_context (frames, NULL);
- variants = g_hash_table_get_keys (frames->style_variants);
- for (variant = variants; variant; variant = variants->next)
+ variant_list = g_hash_table_get_keys (frames->style_variants);
+ for (variant = variant_list; variant; variant = variant->next)
{
style = create_style_context (frames, (char *)variant->data);
g_hash_table_insert (frames->style_variants,
g_strdup (variant->data), style);
}
- g_list_free (variants);
+ g_list_free (variant_list);
}
static void
meta_frames_init (MetaFrames *frames)