GNOME Bugzilla – Bug 309462
imime.c: G_BEGIN_DECLS is not defined.
Last modified: 2005-07-06 00:31:58 UTC
Please describe the problem: When imime.c is compiled, G_BEGIN_DECLS is used in gtk/gtkimmodule.h before defined. So gtk/gtkintl.h should be included like other im*.c files. Steps to reproduce: 1. compile imime.c Actual results: Following message is displayed. (Visual C++ 6.0) cairo.h(67) : error C2054: expected '(' to follow 'G_BEGIN_DECLS' cairo.h(67) : error C2085: 'cairo_bool_t' : not in formal parameter list cairo.h(75) : error C2085: 'cairo_t' : not in formal parameter list cairo.h(89) : error C2085: 'cairo_surface_t' : not in formal parameter list cairo.h(101) : error C2085: 'cairo_matrix_t' : not in formal parameter list (((many errors occurred))) cairo.h(329) : error C2059: syntax error : 'type' cairo.h(329) : error C2059: syntax error : ')' cairo.h(332) : error C2143: syntax error : missing ')' before '*' cairo.h(332) : error C2143: syntax error : missing '{' before '*' cairo.h(332) : error C2059: syntax error : 'type' cairo.h(332) : fatal error C1003: error count exceeds 100; stopping compilation Expected results: Add #include "gtk/gtkintl.h". Does this happen every time? every time Other information:
Created attachment 48636 [details] [review] patch for add #include "gtk/gtkintl.h"
2005-07-05 Matthias Clasen <mclasen@redhat.com> * modules/input/imime.c: Fix includes. (#309462, Kazuki IWAMOTO)