GNOME Bugzilla – Bug 732454
Build error: return_exposes not defined in gdkevents-win32.c due to recent cleanup work
Last modified: 2014-07-03 12:13:47 UTC
I've encounter an error building GTK+ 3.13.3 for Win32. In the file gdk/win32/gdkevents-win32.c, line 1531: ----------------------- GDK_NOTE (EVENTS, g_print (" %s %s dc %p%s", _gdk_win32_rect_to_string (&paintstruct.rcPaint), (paintstruct.fErase ? "erase" : ""), hdc, (return_exposes ? " return_exposes" : ""))); ----------------------- return_exposes in the last line is not defined. This is due to a recent commit, Remove dead code. Here. https://git.gnome.org/browse/gtk+/commit/gdk/win32/gdkevents-win32.c?id=4d8cd2f7cf143fbee57c5c7e6aed76755e792bb5 St. Pierre removed the argument, but he didn't completely remove the variable. Please kindly notice that. Thank you! One more question. Being a quick solution, is removing that variable completely appropriate, and of what St. Pierre was trying to do? Thanks again.