[gtk+/multitouch: 64/124] gtk, settings: Deprecate gtk-touchscreen-mode
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/multitouch: 64/124] gtk, settings: Deprecate gtk-touchscreen-mode
- Date: Tue, 24 Jan 2012 11:30:43 +0000 (UTC)
commit 9743ed315a68399645ae2ca1074df9938b88e077
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Dec 12 19:19:03 2011 +0100
gtk,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 85f2ed8..0a1c344 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -705,13 +705,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]