Closed Bug 326417 Opened 19 years ago Closed 19 years ago

Remove native widget code hacks needed only by viewer

Categories

(Core :: Widget, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: benjamin, Assigned: dbaron)

References

Details

(Whiteboard: [patch])

Attachments

(1 file)

From bug 121881 comment 6: there are various hacks in native widget code that are needed only for viewer, which is dead. These hacks should be removed.
Attached patch patchSplinter Review
I haven't yet tested this, and it's probably not worth testing it to excess; something will go red, and I'll fix it. But I do plan to do a GTK2 build before requesting review.
Assignee: general → dbaron
Status: NEW → ASSIGNED
And this will be followed up by CVS removal of all files removed from the makefiles, plus the corresponding .h files, plus the corresponding files in widget/src/mac/ that have already been removed from makefiles and ifdef-ed out.
(In reply to comment #2) > plus the corresponding files in > widget/src/mac/ that have already been removed from makefiles and ifdef-ed out. Er, no, they're already removed from the tree, just not completely removed from the source.
Attachment #211152 - Flags: superreview?(roc)
Attachment #211152 - Flags: review?(roc)
Attachment #211152 - Flags: superreview?(roc)
Attachment #211152 - Flags: superreview+
Attachment #211152 - Flags: review?(roc)
Attachment #211152 - Flags: review+
Checked in to trunk.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
To fix bustage I had to remove some code from widget/src/gtk/nsGtkEventHandler.cpp and widget/src/gtk/nsGtkEventHandler.h that was only used by the removed file widget/src/gtk/nsTextWidget.cpp .
And I found a random #include "nsIButton.h" in nsView.cpp that needed to be removed (not sure why I didn't hit the bustage).
Hrm, I suppose it was because I didn't do a clobber build and the build system for some reason doesn't trigger a removed dependency as causing a rebuild...
QA Contact: general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: