Commit 157ec27a authored by Bastien Nocera's avatar Bastien Nocera
Browse files

gdk: Add big fat warning about updating XSettings

There's a tool to see if we forgot to update the gdk_settings_map
array, or got the offsets wrong. Mention those above the XSettings
parent 6b23787d
......@@ -29,6 +29,10 @@
#define GDK_SETTINGS_X_NAME(nth) (gdk_settings_names + gdk_settings_map[nth].xsettings_offset)
#define GDK_SETTINGS_GDK_NAME(nth) (gdk_settings_names + gdk_settings_map[nth].gdk_offset)
* You will need to update gdk_settings_map when adding a
* new setting, and make sure that checksettings does not
* fail before committing */
static const char gdk_settings_names[] =
"Net/DoubleClickTime\0" "gtk-double-click-time\0"
"Net/DoubleClickDistance\0" "gtk-double-click-distance\0"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment