GNOME Bugzilla – Bug 640992
Missed Return Type in gtk/gtkrange.c: gtk_range_set_round_digits
Last modified: 2011-01-31 04:59:15 UTC
Created attachment 179675 [details] [review] Update to gtk/gtkrange.c When I was trying to compile gtk+-2.24.0 with Visual C++ 2008, the compiler threw an error in gtk/gtkrange.c for gtk_range_set_round_digits as the declaration of the function did not match the one in gtk/gtkrange.h, plus warnings/errors for the lack of a "return ..." call in that function. It seems like the "void" keyword was missed in the .c file (which the function was marked as "void" in the .h file). The fix I have here is quite trivial, so here it is-it just adds the "void" keyword for the function as well. Thanks.