• Benjamin Otte's avatar
    fontchooserwidget: Refactor code so we actually optimize · 31191d55
    Benjamin Otte authored
    Previously, we would pango_font_describe() every time the code ran and
    we wouldn't ever hit the optimized quick exit.
    The code now is a lot more complex because the
    compute-actual-value-when-required-the-first-time approach is not
    supported out of the box in GtkTreeModel (or GValue).
gtkfontchooserwidget.ui 10.1 KB