GNOME Bugzilla – Bug 332736
autocheck settings string in gdkevents-x11.c
Last modified: 2006-02-27 13:58:09 UTC
the settings_names string and settings_map array in gdkevents-x11.c is fairly easy to get wrong. the attached patch moves the arrays into a seperate file so we can build a dedeicated test program which is also part of the patch.
Created attachment 60230 [details] [review] the described patch
Looks fine to me; even better would be a little perl script to generate the list from a text file, similar to what we do for keynames.
Mon Feb 27 14:52:50 2006 Tim Janik <timj@imendio.com> * gdkevents-x11.c: * gdksettings.c: moved and renamed the gdk_settings_names and gdk_settings_map. * gdk/x11/checksettings.c: test program for the gdk_settings_map array. * gdk/x11/Makefile.am: run checksettings as part of make check.