prefs: fix a couple of typos

It's "threshold", not "trheshold". Also, make sure to add the enum value
to the documentation section.

https://bugzilla.gnome.org/show_bug.cgi?id=767805
This commit is contained in:
Cosimo Cecchi 2016-06-17 17:08:20 -07:00 committed by Cosimo Cecchi
parent 9b97a44760
commit 4c1fe4c30d
2 changed files with 2 additions and 1 deletions

View File

@ -1844,7 +1844,7 @@ meta_preference_to_string (MetaPreference pref)
return "DRAGGABLE_BORDER_WIDTH";
case META_PREF_DRAG_THRESHOLD:
return "DRAG_TRHESHOLD";
return "DRAG_THRESHOLD";
case META_PREF_DYNAMIC_WORKSPACES:
return "DYNAMIC_WORKSPACES";

View File

@ -64,6 +64,7 @@
* @META_PREF_DRAGGABLE_BORDER_WIDTH: draggable border width
* @META_PREF_AUTO_MAXIMIZE: auto-maximize
* @META_PREF_CENTER_NEW_WINDOWS: center new windows
* @META_PREF_DRAG_THRESHOLD: drag threshold
*/
/* Keep in sync with GSettings schemas! */