[Webkit-unassigned] [Bug 94683] New: [GTK] Preferred languages and spellchecker APIs are not consistent in WebKit2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 22 02:07:22 PDT 2012


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

           Summary: [GTK] Preferred languages and spellchecker APIs are
                    not consistent in WebKit2
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cgarcia at igalia.com
                CC: xan.lopez at gmail.com, gns at gnome.org, alex at igalia.com,
                    mrobinson at webkit.org, pnormand at igalia.com


API to get/set spellchecking languages, uses a string containing a list of languages separated by commas. We are splitting the list into a vector to update the enchant dictionaries, and building a comma separated string from enchant dictionaries to return the list of languages. On the other hand, set_preferred_languages receives a GList of string with the language identifiers. It would be more convenient to use  a GStrv in both cases (we avoid unnecessary split/join in spellchecker case), and would result in a more consistent API.

-- 
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