Bug 16119 - [Gtk] Enum types should have a corresponding GType
Summary: [Gtk] Enum types should have a corresponding GType
Status: RESOLVED DUPLICATE of bug 19171
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
Keywords: Gtk
Depends on:
Reported: 2007-11-24 12:19 PST by Jan Alonzo
Modified: 2008-05-22 06:21 PDT (History)
1 user (show)

See Also:

patch without qmake support (12.13 KB, patch)
2008-02-01 21:37 PST, Jan Alonzo
no flags Details | Formatted Diff | Diff
Updated patch (12.75 KB, patch)
2008-03-21 00:31 PDT, Jan Alonzo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***