Closed Bug 120034 Opened 23 years ago Closed 20 years ago

GTK MozEmbed widget needs gtk_moz_embed_single_get_type

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: crichton, Assigned: blizzard)

References

Details

Attachments

(2 files)

For GTK language bindings, a _get_type function is pretty much required.  However, the mozembed widget is missing one for the GtkMozEmbedSingle class.  Don't have a patch, but the code will be highly similar to the current gtk_moz_embed_get_type function.



Also, proper type checking macros should be setup.  Again, similar to the GtkMozEmbed macros.
Target Milestone: --- → mozilla1.0
Ok, this one appears fixed in the trunk of CVS.  Is it really, Chris?
Uhh...I don't think so?
http://lxr.mozilla.org/seamonkey/source/embedding/browser/gtk/src/gtkmozembed2.cpp#1151

Then what's that? :)

I think that the function declaration is missing in the header file,
however.
The C code is there, it just needs to be exported.  This is mostly to keep
GTK+ language bindings happy.
Sounds important. Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: patch
Blocks: gtk2
retargeting
Target Milestone: mozilla1.0 → Future
Mark posted a fine patch two and a half years ago.  It was even confirmed. 
What's preventing it from going in?
This is the above patch, updated to apply cleanly to the current trunk.

Asking for r/sr.
Attachment #169120 - Flags: superreview?(blizzard)
Attachment #169120 - Flags: review?(marco)
Comment on attachment 169120 [details] [diff] [review]
updated to current trunk

It looks good to me. I dont know if there was a reason to keep this private
though. Anyway Blizzard has sr so he can address it.
Attachment #169120 - Flags: review?(marco) → review+
Comment on attachment 169120 [details] [diff] [review]
updated to current trunk

This will still work with gtk 1.2, right?
Attachment #169120 - Flags: superreview?(blizzard) → superreview+
Yes, I just successfully compiled a gtk-1.2 build with this patch.
checked in on the trunk
Status: NEW → RESOLVED
Closed: 20 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

Creator:
Created:
Updated:
Size: