Commit 3edb8a93 authored by Matthias Clasen's avatar Matthias Clasen

Merge branch 'switch-glyph' into 'gtk-3-24'

switch: Avoid problems with glyph availability

See merge request !524
parents 2db6dbd1 6a4ce55a
Pipeline #53218 passed with stage
in 8 minutes and 58 seconds
......@@ -302,12 +302,14 @@ gtk_switch_create_pango_layouts (GtkSwitch *self)
const char *on_glyphs[] = {
"⏽", /* U+23FD POWER ON SYMBOL */
"❙", /* U+2759 MEDIUM VERTICAL BAR */
""
};
/* Glyphs for the OFF state, in descending order of preference */
const char *off_glyphs[] = {
"⭘", /* U+2B58 HEAVY CIRCLE */
"○", /* U+25CB WHITE CIRCLE */
""
};
int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment