It works here without that patch (my PPA doesn't have any patches from Ubuntu). Also, the second hunk has many occurancies of "unity_" prefix, so I think it's only sensible on Ubuntu.
Window manager warning: Failed to load theme "Ambiance": Line 392 character 82: Element <shadow> is not allowed below <frame_style>
Window manager warning: Failed to load theme "Ambiance": Line 392 character 82: Element <shadow> is not allowed below <frame_style>