Closed Bug 419359 Opened 16 years ago Closed 16 years ago

Compile warning about NS_TargetUnfocusedEventToLastFocusedContent

Categories

(Core :: Widget, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: mozilla, Assigned: masayuki)

References

Details

Attachments

(1 file)

Since a few days I get warnings like

../../dist/include/widget/nsGUIEvent.h:1251: warning: `PRBool NS_TargetUnfocused
EventToLastFocusedContent(nsEvent*)' defined but not used

when compiling stuff in widget and elsewhere. That is especially irritating as widget/src/os2 (which I recompile often) compiled almost warning free until now.

masayuki, http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/widget/public/nsGUIEvent.h&rev=3.157#1251 tells me that this was added by you in bug 417315. Can you give me a hint if/what we have to implement on OS/2? Is this by any chance related to bug 416670?
Don't mind this warning on OS/2. This is my simple mistake, not an actual bug. And this function is used only on nsPresShell. If software keyboards are not working fine on OS/2, you might need to change the function.

Note that I'm busy for some risky bugs until b4 release, sorry.
Blocks: 417315
OS: OS/2 → All
Hardware: PC → All
Attached patch Patch v1.0Splinter Review
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Attachment #306078 - Flags: superreview?(roc)
Attachment #306078 - Flags: review?(roc)
Attachment #306078 - Flags: superreview?(roc)
Attachment #306078 - Flags: superreview+
Attachment #306078 - Flags: review?(roc)
Attachment #306078 - Flags: review+
Comment on attachment 306078 [details] [diff] [review]
Patch v1.0

It's not needed for 1.9b4.

The risk is too low. Only changing |static| to |inline|.
Attachment #306078 - Flags: approval1.9?
Comment on attachment 306078 [details] [diff] [review]
Patch v1.0

a1.9=beltzner
Attachment #306078 - Flags: approval1.9? → approval1.9+
checked-in.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: