Add a copy of this deprecated utility in gtkutils.c and use it instead of the pango API.
This will make it easier to use them in more than one place.