<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>15357</bug_id>
          
          <creation_ts>2007-10-03 03:23:29 -0700</creation_ts>
          <short_desc>The Gtk+ WebKit API namespace (webkit_gtk) is ugly</short_desc>
          <delta_ts>2007-10-03 05:46:40 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>14726</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alp Toker">alp</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57712</commentid>
    <comment_count>0</comment_count>
    <who name="Alp Toker">alp</who>
    <bug_when>2007-10-03 03:23:29 -0700</bug_when>
    <thetext>The naming convention that has arisen for the Gtk+ WebKit public API is not very elegant or conventional.

eg. webkit_gtk_frame_new()

The _gtk component is redundant and should be removed.

eg. webkit_frame_new()

It may even be an idea to reduce webkit_ to web_ as suggested by andersca...

eg. web_frame_new()

This makes the API less verbose and also self-describing in a cute kind of way -- everyone can imagine what a &quot;Web Frame&quot; is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57713</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-10-03 03:29:14 -0700</bug_when>
    <thetext>web_ also matches the Web prefix used in the Mac API, and definitely leads to nicer sounding function names than the two alternatives that were mentioned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57718</commentid>
    <comment_count>2</comment_count>
    <who name="Alp Toker">alp</who>
    <bug_when>2007-10-03 05:46:40 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 14726 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>