Return GdkColor via out parameter rather than return value
commit7e1ab31c18ab977f1756c7afa3eeb4061b9eb09e
authorMatthew Brush <matt@geany.org>
Fri, 12 Jan 2018 21:45:38 +0000 (12 13:45 -0800)
committerMatthew Brush <matt@geany.org>
Fri, 12 Jan 2018 21:45:38 +0000 (12 13:45 -0800)
tree19e68422268ab17cf3db229486bccc6ed7dba310
parent6b973bc70b6118c1d904d6d21626843b5e70beaa
Return GdkColor via out parameter rather than return value

For some reason the TravisCI build has `-Waggregate-return` enabled as
an error even though it's completely valid code. Also constify the
input `color_name` argument to `load_color` function.
src/msgwindow.c