From 4c1fe4c30da48d8514a6fddec8cd2747d9aa717d Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 17 Jun 2016 17:08:20 -0700 Subject: [PATCH] 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 --- src/core/prefs.c | 2 +- src/meta/prefs.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/prefs.c b/src/core/prefs.c index 3ea5aa239..b6a8ab7bf 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -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"; diff --git a/src/meta/prefs.h b/src/meta/prefs.h index a0175aea9..4394f74d1 100644 --- a/src/meta/prefs.h +++ b/src/meta/prefs.h @@ -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! */