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 140555 - mismatched function prototype
mismatched function prototype
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
HEAD
Other Linux
: Low minor
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-04-20 00:30 UTC by Ben Liblit
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
change prototype to match definition (422 bytes, patch)
2004-04-20 00:32 UTC, Ben Liblit
none Details | Review

Description Ben Liblit 2004-04-20 00:30:34 UTC
In file "widgets/rb-cell-renderer-rating.c", the function
rb_cell_renderer_rating_render() is prototyped early and defined later.  The
prototype declares "guint flags", while the definition uses
"GtkCellRendererState flags".

Apparently gcc doesn't mind this inconsistency.  Other code processing tools
may, though, so they should be put in agreement.  Based on the way the function
is used, GtkCellRendererState appears to be the correct type.
Comment 1 Ben Liblit 2004-04-20 00:32:13 UTC
Created attachment 26842 [details] [review]
change prototype to match definition
Comment 2 Colin Walters 2004-04-20 15:37:43 UTC
* committed rhythmbox-devel@gnome.org--2004/rhythmbox--main--0.8--patch-9

Thanks!