Closed
Bug 265983
Opened 20 years ago
Closed 20 years ago
Popup creation leads to GTK warnings
Categories
(Core Graveyard :: GFX: Gtk, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: roc)
References
Details
Attachments
(1 file)
|
2.81 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
Gtk-WARNING **: invalid cast from `(unknown)' to `GtkObject' warning: attempted to CreateNative() width a non-superwin and non gtk container parent The problem is that we get the native data off a ChildWindow and try to use it as the parent for the popup's native widget. This fails, apparently.
| Reporter | ||
Comment 1•20 years ago
|
||
*** Bug 265982 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 2•20 years ago
|
||
Basically we just need to call GetNativeData(NS_NATIVE_WIDGET) instead of NS_NATIVE_WINDOW; the former gets us a 'superwin' which GTK1 nsWindow::NativeCreate can use, the latter gets us nothing which can be used by nsWindow::NativeCreate. This is safe for other platforms because on Mac, Windows and GTK2 NS_NATIVE_WINDOW and NS_NATIVE_WIDGET return exactly the same thing.
Assignee: blizzard → roc
Status: NEW → ASSIGNED
| Assignee | ||
Updated•20 years ago
|
Attachment #163780 -
Flags: superreview?(bzbarsky)
Attachment #163780 -
Flags: review?(bzbarsky)
| Reporter | ||
Comment 3•20 years ago
|
||
Comment on attachment 163780 [details] [diff] [review] fix r+sr=bzbarsky.
Attachment #163780 -
Flags: superreview?(bzbarsky)
Attachment #163780 -
Flags: superreview+
Attachment #163780 -
Flags: review?(bzbarsky)
Attachment #163780 -
Flags: review+
| Assignee | ||
Comment 4•20 years ago
|
||
Checked in. I think this is the last of the fallout from the widget change batching...
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•