[gtk+/touch-for-3.4: 30/65] settings: Deprecate gtk-touchscreen-mode
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/touch-for-3.4: 30/65] settings: Deprecate gtk-touchscreen-mode
- Date: Fri, 24 Feb 2012 15:27:21 +0000 (UTC)
commit 59f7a3b5b4a14fe97a5ee147b92e99f60f444791
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Dec 12 19:19:03 2011 +0100
settings: Deprecate gtk-touchscreen-mode
It's not used anywhere in GTK+ anymore.
gtk/gtksettings.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 34dc38c..7bec434 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -701,13 +701,16 @@ gtk_settings_class_init (GtkSettingsClass *class)
* functionality.
*
* Since: 2.10
+ *
+ * Deprecated: 3.4. Generally the behavior touchscreen input should be
+ * performed dynamically based on gdk_event_get_source_device().
*/
result = settings_install_property_parser (class,
g_param_spec_boolean ("gtk-touchscreen-mode",
P_("Enable Touchscreen Mode"),
P_("When TRUE, there are no motion notify events delivered on this screen"),
FALSE,
- GTK_PARAM_READWRITE),
+ GTK_PARAM_READWRITE | G_PARAM_DEPRECATED),
NULL);
g_assert (result == PROP_TOUCHSCREEN_MODE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]