Bug 16119

Summary: [Gtk] Enum types should have a corresponding GType
Product: WebKit Reporter: Jan Alonzo <jmalonzo>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: alp
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
patch without qmake support
none
Updated patch none

Description Jan Alonzo 2007-11-24 12:19:56 PST
The Gtk+ port should generate the corresponding GTypes for the enums (using glib-mkenums or some other means). Not only this makes the API more Gtkish but also helps (dynamic) language bindings to determine those types.
Comment 1 Jan Alonzo 2008-02-01 21:37:38 PST
Created attachment 18867 [details]
patch without qmake support

The attached patch uses glib-mkenums to generate a webkittypebuiltins.h/cpp which contain GEnum types for enums. Only autotools support atm though as I don't know much on how to do this in qmake.
Comment 2 Jan Alonzo 2008-03-21 00:31:10 PDT
Created attachment 19919 [details]
Updated patch

Updated the patch so it applies to current ToT.
Comment 3 Jan Alonzo 2008-05-08 02:12:44 PDT
Comment on attachment 19919 [details]
Updated patch

Clearing review flag as this patch needs updating
Comment 4 Jan Alonzo 2008-05-22 06:21:56 PDT
The patch at #19171 is more updated. Marking as duplicate.

*** This bug has been marked as a duplicate of 19171 ***