After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 385343 - minor typo on TYPE_CLASS macros
minor typo on TYPE_CLASS macros
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
unspecified
Other All
: Normal minor
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-13 06:03 UTC by P. Henrique Silva
Modified: 2006-12-13 06:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
correct typos from TYPE_CLASS macros (10.15 KB, patch)
2006-12-13 06:04 UTC, P. Henrique Silva
none Details | Review

Description P. Henrique Silva 2006-12-13 06:03:55 UTC
Please describe the problem:
I found a small typo on ev-tooltip.h. The EV_TOOLTIP_CLASS macro is defined using a macro called G_TYPE_CHACK_CLASS_CAST and not G_TYPE_CHECK_CLASS_CAST.

Then I searched for more matches and found that 9 files actually have this typo too.

I found that none of this macros was really used, so why this typos survived so many time.

A bit more strange was found 50 results for this on Google, a few for projects other than Evince [1].

[1] http://www.google.com/codesearch?q=G_TYPE_CHACK_CLASS_CAST

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 P. Henrique Silva 2006-12-13 06:04:58 UTC
Created attachment 78263 [details] [review]
correct typos from TYPE_CLASS macros
Comment 2 Nickolay V. Shmyrev 2006-12-13 06:13:37 UTC
Funny catch, thanks. Fixed.