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 506135 - gtkiconfactory.c: different argument type
gtkiconfactory.c: different argument type
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-12-28 20:10 UTC by Kazuki Iwamoto
Modified: 2007-12-29 00:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for gtkiconfactory.c (459 bytes, patch)
2007-12-28 20:11 UTC, Kazuki Iwamoto
none Details | Review

Description Kazuki Iwamoto 2007-12-28 20:10:35 UTC
Please describe the problem:
The 3rd argument of _gtk_icon_cache_get_icon was changed in revision 19099.
But gtkiconfactory.c was not modified.

Steps to reproduce:
1.compile.


Actual results:
Following message is displayed (Visual C++).
gtkiconfactory.c(1579) : error C4047: 'function' : 'gint' differs in levels of indirection from 'char [3]'

Expected results:
The 3rd argument should be the index.

Does this happen every time?
Revision 19099 or later

Other information:
Comment 1 Kazuki Iwamoto 2007-12-28 20:11:56 UTC
Created attachment 101760 [details] [review]
patch for gtkiconfactory.c
Comment 2 Matthias Clasen 2007-12-29 00:18:01 UTC
2007-12-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
        icon cache api change.  (#506135, Kazuki Iwamoto)