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 155885 - gtktoolitem.c and gtkrc.c without prototype declaration
gtktoolitem.c and gtkrc.c without prototype declaration
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.5.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-10-19 20:36 UTC by Kazuki Iwamoto
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2004-10-19 20:36:30 UTC
Please describe the problem:
gtk_toolbar_rebuild_menu is used without prototype declaration in gtktoolitem.c.
_gtk_get_module_path and _gtk_find_module are used without prototype declaration
in gtkrc.c.
(gtkrc.c should include gtkmodules.h.)

So, if it's compled by Visual C++, an error occurs.

Steps to reproduce:
1. compile by Visual C++ 6.0


Actual results:
an error occurs.

Expected results:


Does this happen every time?
every time

Other information:
Comment 1 Matthias Clasen 2004-10-20 05:20:09 UTC
2004-10-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrc.c: Include gtkmodules.h.  (#155885, Kazuki IWAMOTO)

	* gtk/gtktoolbar.h: Add _gtk_toolbar_rebuild_menu(). (#155885)