Fix a segfault bug when changing foreground color under GTK3+.