[gtk+/touchscreens: 64/69] gtk, settings: Deprecate gtk-touchscreen-mode
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/touchscreens: 64/69] gtk, settings: Deprecate gtk-touchscreen-mode
- Date: Thu, 5 Jan 2012 11:45:13 +0000 (UTC)
commit e5b2e528caa3aa9d9ef4e74592108621f423a1a8
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 9216c0b..02df08c 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -700,13 +700,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]