WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
20830
[GTK] Don't use deprecated pango API
https://bugs.webkit.org/show_bug.cgi?id=20830
Summary
[GTK] Don't use deprecated pango API
Jonathon Jongsma (jonner)
Reported
2008-09-13 09:50:01 PDT
the pango font backend currently uses some deprecated API which means that it will not compile with -DPANGO_DISABLE_DEPRECATED defined.
Attachments
don't use deprecated API
(3.02 KB, patch)
2008-09-13 11:41 PDT
,
Jonathon Jongsma (jonner)
alp
: review-
Details
Formatted Diff
Diff
Updated patch with PANGO_VERSION_CHECK guards
(2.82 KB, patch)
2008-09-13 20:22 PDT
,
Jonathon Jongsma (jonner)
alp
: review+
Details
Formatted Diff
Diff
Last patch with success case first
(2.79 KB, patch)
2008-09-14 12:22 PDT
,
Jonathon Jongsma (jonner)
alp
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Jonathon Jongsma (jonner)
Comment 1
2008-09-13 11:41:29 PDT
Created
attachment 23397
[details]
don't use deprecated API Notice that this requires a fairly new version of pango. I suppose we could alternately use an #ifdef around the deprecated API to check for the pango version...
Alp Toker
Comment 2
2008-09-13 17:48:19 PDT
Comment on
attachment 23397
[details]
don't use deprecated API Yep, 1.22 is just too recent to depend on. Change is fine if you wrap with PANGO_VERSION_CHECK() though (as we already do in another place in that file).
Jonathon Jongsma (jonner)
Comment 3
2008-09-13 20:22:22 PDT
Created
attachment 23399
[details]
Updated patch with PANGO_VERSION_CHECK guards Wow, sorry about that. I didn't even bother to check what the current version of pango is, and 1.22 isn't even released yet. Oops. So this patch should definitely be more appropriate.
Alp Toker
Comment 4
2008-09-13 22:13:16 PDT
Comment on
attachment 23399
[details]
Updated patch with PANGO_VERSION_CHECK guards Our convention with version check macros is to put the success case first for consistency. Please update the patch or fix when landing, r=me otherwise
Jonathon Jongsma (jonner)
Comment 5
2008-09-14 12:22:31 PDT
Created
attachment 23415
[details]
Last patch with success case first I also added your name as the reviewer to the changelog. I don't have commit access, so I can't land the patch.
Alp Toker
Comment 6
2008-09-18 04:50:43 PDT
Landed in
r36614
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug