gtkxpaned: Use GTK+3 painting functions instead of deprecated ones.