RESOLVED FIXED 17006
[GTK] Header path should be webkit/webkit.h
https://bugs.webkit.org/show_bug.cgi?id=17006
Summary [GTK] Header path should be webkit/webkit.h
Alp Toker
Reported 2008-01-25 07:17:31 PST
Right now, GTK+ API headers get installed into the top level include directory, eg. /usr/include/WebKitGtk/*.h This means that developers do this in applications: #include <webkit.h> Our own webkit.h looks like this: #ifndef __WEBKIT_H__ #define __WEBKIT_H__ #include <webkitdefines.h> #include <webkitnetworkrequest.h> #include <webkitwebframe.h> #include <webkitwebsettings.h> #include <webkitwebview.h> #endif /* __WEBKIT_H__ */ I propose that we rename WebKit/gtk/WebView to WebKit/gtk/webkit to allow: #include <webkit/webkit.h> This matches GTK+ module conventions. The alternative is to use ForwardingHeaders, which would help avoid the renaming in SVN, but the benefits of this aren't too clear for non-Apple APIs, and it would add maintenance overhead. All in favour of renaming this directory and updating the necessary build systems and headers?
Attachments
Alp Toker
Comment 1 2008-01-31 16:31:29 PST
Fix landed in r29898.
Note You need to log in before you can comment on or make changes to this bug.