User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 bug 169695's regression. Bstell moved some code from nsRenderingContextGTK.h to a new file nsGdkUtils.cpp, the new file can compile sucessfully in gtk1 env, but not for gtk2. Reproducible: Always Steps to Reproduce:
add reviewers here.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: build mozilla trunk with gtk2 failed in gfx/src/gtk/nsGdkUtils.cpp → build mozilla trunk with gtk2 fails in gfx/src/gtk/nsGdkUtils.cpp
Created attachment 101028 [details] patch a simple fix to make the new file compile with gtk2 enviroment
Attachment #101028 - Attachment description: 171461 → patch
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
tested the patch and building works well now.
Status: RESOLVED → VERIFIED
I just included gdkx.h which is safe on gtk 1.2 and pulls in all the X headers anyway.
You need to log in before you can comment on or make changes to this bug.