[Webkit-unassigned] [Bug 65616] [GTK] Reorganize header files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 22 05:26:13 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=65616





--- Comment #12 from Xan Lopez <xan.lopez at gmail.com>  2011-09-22 05:26:13 PST ---
(In reply to comment #10)
> I have nothing against it, not sure about using #include <webkitgtk.h> only, though. I never understood why all other libraries use a directory but maybe there's a good reason? In any case, if Xan does not oppose it, I'm pro.

AFAIK <foo/foo.h> vs. <foo.h> is just a matter of style for the most part. IMHO <foo/foo.h> indicates better the namespacing, but that's about it. The GNOME platform strongly prefers <foo/foo.h>, I can only think of glib-object.h and cairo.h being "different", and the glib case is really old, with all the new libraries following the new pattern (like gio/gio.h).

So my preference would be to try to do something like <webkit/webkitgtk.h> and only if it's really troublesome go for <webkitgtk.h>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list