]> Pileus Git - ~andy/gtk/blobdiff - gdk/x11/gdksettings.c
docs: Move documentation to inline comments: x_interaction
[~andy/gtk] / gdk / x11 / gdksettings.c
index 22878ab253e4374e80028510780230d8267c7715..0aa3fcb5ca06473079bce16c92b2ab0af04525dd 100644 (file)
 #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"
@@ -70,7 +74,11 @@ static const char gdk_settings_names[] =
   "Gtk/EnableMnemonics\0"     "gtk-enable-mnemonics\0"
   "Gtk/ScrolledWindowPlacement\0" "gtk-scrolled-window-placement\0"
   "Gtk/IMModule\0"            "gtk-im-module\0"
-  "Fontconfig/Timestamp\0"    "gtk-fontconfig-timestamp\0";
+  "Fontconfig/Timestamp\0"    "gtk-fontconfig-timestamp\0"
+  "Net/SoundThemeName\0"      "gtk-sound-theme-name\0"
+  "Net/EnableInputFeedbackSounds\0" "gtk-enable-input-feedback-sounds\0"
+  "Net/EnableEventSounds\0"  "gtk-enable-event-sounds\0"
+  "Gtk/CursorBlinkTimeout\0"  "gtk-cursor-blink-timeout\0";
 
 
 static const struct
@@ -118,5 +126,9 @@ static const struct
   { 1361, 1381 },
   { 1402, 1430 },
   { 1460, 1473 },
-  { 1487, 1508 }
+  { 1487, 1508 },
+  { 1533, 1552 },
+  { 1573, 1603 },
+  { 1636, 1658 },
+  { 1682, 1705 },
 };