Closed Bug 178067 Opened 22 years ago Closed 22 years ago

gtk2 FE requires xft enabled to compile

Categories

(Core Graveyard :: GFX, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Biesinger, Assigned: blizzard)

References

Details

Attachments

(1 file)

the following code in gfx/src/gtk/nsDeviceCOntextGTK.cpp is not wrapped inside
an ifdef MOZ_ENABLE_XFT:
  // try to get it from xft
  PRInt32 xftdpi = GetXftDPI();

  if (xftdpi)
    return xftdpi;

however GetXftDPI is in such an ifdef.

-> compilation fails.

attaching a suggested patch in a second
Attached patch patchSplinter Review
blizzard, could you review?
Are there other parts of the gtk2 build that fail if you don't have Xft?  Gtk2
without xft support isn't going to be supported for much longer.
no, the rest compiled fine.
(and worked, too)
Blocks: gtk2
Comment on attachment 104949 [details] [diff] [review]
patch

r=blizzard
Attachment #104949 - Flags: review+
Comment on attachment 104949 [details] [diff] [review]
patch

sr=bzbarsky
Attachment #104949 - Flags: superreview+
-> blizzard@mozilla.org
Assignee: kmcclusk → blizzard
fyi, I sent mail to drivers asking for approval on 03.11.2002 18:37 CET.
Fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: