diff options
author | Bastien Nocera <hadess@hadess.net> | 2010-11-15 17:13:46 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2010-11-15 17:15:19 +0000 |
commit | 157ec27a9a7e1f7d70bd39b0d008fafba5de323c (patch) | |
tree | 231848f940b8096ad5f484016e98b16afc0107fd /gdk/x11 | |
parent | 6b23787d5a2b88f8a8b3f95e859bba7a02230b17 (diff) | |
download | gtk+-157ec27a9a7e1f7d70bd39b0d008fafba5de323c.tar.gz |
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
list.
Diffstat (limited to 'gdk/x11')
-rw-r--r-- | gdk/x11/gdksettings.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/x11/gdksettings.c b/gdk/x11/gdksettings.c index e1c2c56ca8..0aa3fcb5ca 100644 --- a/gdk/x11/gdksettings.c +++ b/gdk/x11/gdksettings.c @@ -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) +/* WARNING: + * 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" |