<?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>20078</bug_id>
          
          <creation_ts>2008-07-17 06:58:52 -0700</creation_ts>
          <short_desc>[GTK] Use G_* macros instead of deprecated GTK_* macros in gtk2xtbin.h</short_desc>
          <delta_ts>2008-07-25 16:18:29 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wouter Bolsterlee">uws+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>zecke</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>86214</commentid>
    <comment_count>0</comment_count>
    <who name="Wouter Bolsterlee">uws+webkit</who>
    <bug_when>2008-07-17 06:58:52 -0700</bug_when>
    <thetext>The GTK type checking macros have been deprecated in favor for the (identical) glib ones. Using the old ones breaks the build with -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED enabled.

Will attach a patch in a minute.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86215</commentid>
    <comment_count>1</comment_count>
      <attachid>22338</attachid>
    <who name="Wouter Bolsterlee">uws+webkit</who>
    <bug_when>2008-07-17 07:03:57 -0700</bug_when>
    <thetext>Created attachment 22338
Proposed fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86228</commentid>
    <comment_count>2</comment_count>
      <attachid>22338</attachid>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2008-07-17 09:58:42 -0700</bug_when>
    <thetext>Comment on attachment 22338
Proposed fix

Compared with http://library.gnome.org/devel/gtk/stable/gtk-Types.html#GTK-CHECK-CAST:CAPS. I couldn&apos;t see a deprecation note though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86260</commentid>
    <comment_count>3</comment_count>
    <who name="Wouter Bolsterlee">uws+webkit</who>
    <bug_when>2008-07-17 12:18:56 -0700</bug_when>
    <thetext>It will be deprecated in the upcoming GTK release [1]. The corresponding Glib are also in the current stable release [2].

[1] http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GTK-CHECK-CAST:CAPS
    (note that there&apos;s &quot;unstable&quot;, not &quot;stable&quot; in the url!)
[2] http://library.gnome.org/devel/gobject/stable/gobject-Type-Information.html#G-TYPE-CHECK-CLASS-CAST:CAPS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86261</commentid>
    <comment_count>4</comment_count>
    <who name="Wouter Bolsterlee">uws+webkit</who>
    <bug_when>2008-07-17 12:22:04 -0700</bug_when>
    <thetext>Note that the GTK checks macros are exactly the same as the Glib macros, as can be seen in gtk+/gtk/gtktypeutils.h:

&gt; /* glib macro wrappers (compatibility) */
&gt; #define GTK_CHECK_CAST      G_TYPE_CHECK_INSTANCE_CAST
&gt; #define GTK_CHECK_CLASS_CAST    G_TYPE_CHECK_CLASS_CAST
&gt; #define GTK_CHECK_GET_CLASS G_TYPE_INSTANCE_GET_CLASS
&gt; #define GTK_CHECK_TYPE      G_TYPE_CHECK_INSTANCE_TYPE
&gt; #define GTK_CHECK_CLASS_TYPE    G_TYPE_CHECK_CLASS_TYPE
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86974</commentid>
    <comment_count>5</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2008-07-25 16:18:29 -0700</bug_when>
    <thetext>landed in r35361. </thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>22338</attachid>
            <date>2008-07-17 07:03:57 -0700</date>
            <delta_ts>2008-07-17 09:58:42 -0700</delta_ts>
            <desc>Proposed fix</desc>
            <filename>webkit-glib-type-checking-mmacros-bug-20078.patch</filename>
            <type>text/plain</type>
            <size>1207</size>
            <attacher name="Wouter Bolsterlee">uws+webkit</attacher>
            
              <data encoding="base64">PT09IG1vZGlmaWVkIGZpbGUgJ1dlYkNvcmUvcGx1Z2lucy9ndGsvZ3RrMnh0YmluLmgnCi0tLSBX
ZWJDb3JlL3BsdWdpbnMvZ3RrL2d0azJ4dGJpbi5oCTIwMDgtMDctMTcgMTI6NTE6MDUgKzAwMDAK
KysrIFdlYkNvcmUvcGx1Z2lucy9ndGsvZ3RrMnh0YmluLmgJMjAwOC0wNy0xNyAxNDowMDoyMiAr
MDAwMApAQCAtNjMsMTMgKzYzLDEzIEBACiB0eXBlZGVmIHN0cnVjdCBfR3RrWHRCaW5DbGFzcyBH
dGtYdEJpbkNsYXNzOwogCiAjZGVmaW5lIEdUS19UWVBFX1hUQklOICAgICAgICAgICAgICAgICAg
KGd0a194dGJpbl9nZXRfdHlwZSAoKSkKLSNkZWZpbmUgR1RLX1hUQklOKG9iaikgICAgICAgICAg
ICAgICAgICAoR1RLX0NIRUNLX0NBU1QgKChvYmopLCBcCisjZGVmaW5lIEdUS19YVEJJTihvYmop
ICAgICAgICAgICAgICAgICAgKEdfVFlQRV9DSEVDS19JTlNUQU5DRV9DQVNUICgob2JqKSwgXAog
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBHVEtfVFlQRV9YVEJJTiwg
R3RrWHRCaW4pKQotI2RlZmluZSBHVEtfWFRCSU5fQ0xBU1Moa2xhc3MpICAgICAgICAgIChHVEtf
Q0hFQ0tfQ0xBU1NfQ0FTVCAoKGtsYXNzKSwgXAorI2RlZmluZSBHVEtfWFRCSU5fQ0xBU1Moa2xh
c3MpICAgICAgICAgIChHX1RZUEVfQ0hFQ0tfQ0xBU1NfQ0FTVCAoKGtsYXNzKSwgXAogICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBHVEtfVFlQRV9YVEJJTiwgR3RrWHRC
aW5DbGFzcykpCi0jZGVmaW5lIEdUS19JU19YVEJJTihvYmopICAgICAgICAgICAgICAgKEdUS19D
SEVDS19UWVBFICgob2JqKSwgXAorI2RlZmluZSBHVEtfSVNfWFRCSU4ob2JqKSAgICAgICAgICAg
ICAgIChHX1RZUEVfQ0hFQ0tfSU5TVEFOQ0VfVFlQRSAoKG9iaiksIFwKICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgR1RLX1RZUEVfWFRCSU4pKQotI2RlZmluZSBHVEtf
SVNfWFRCSU5fQ0xBU1Moa2xhc3MpICAgICAgIChHVEtfQ0hFQ0tfQ0xBU1NfVFlQRSAoKGtsYXNz
KSwgXAorI2RlZmluZSBHVEtfSVNfWFRCSU5fQ0xBU1Moa2xhc3MpICAgICAgIChHX1RZUEVfQ0hF
Q0tfQ0xBU1NfVFlQRSAoKGtsYXNzKSwgXAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICBHVEtfVFlQRV9YVEJJTikpCiB0eXBlZGVmIHN0cnVjdCBfWHRDbGllbnQgWHRD
bGllbnQ7CiAKCg==
</data>
<flag name="review"
          id="9843"
          type_id="1"
          status="+"
          setter="zecke"
    />
          </attachment>
      

    </bug>

</bugzilla>