Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vuntz:Attic_12.2
gpointing-device-settings
gpointing-device-settings-tap-time-segfault.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gpointing-device-settings-tap-time-segfault.patch of Package gpointing-device-settings
From 70add06dec8413965f3e98b6ba9a3c82168ea72c Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe <poincare@ikezoe.net> Date: Tue, 16 Mar 2010 10:56:17 +0000 Subject: Fix crash. We need to get xinput property if there is no gconf value for tapping time. Fix for #613022. --- diff --git a/modules/gpds-touchpad-ui.c b/modules/gpds-touchpad-ui.c index 3bbcda6..a1cd31b 100644 --- a/modules/gpds-touchpad-ui.c +++ b/modules/gpds-touchpad-ui.c @@ -1067,8 +1067,14 @@ set_tapping_time_from_preference (GpdsUI *ui, GtkBuilder *builder) } } - if (!gpds_ui_get_gconf_int(ui, GPDS_TOUCHPAD_TAP_TIME_KEY, &value)) + if (!gpds_ui_get_gconf_int(ui, GPDS_TOUCHPAD_TAP_TIME_KEY, &value) && !values) { + if (!gpds_xinput_ui_get_xinput_int_property(GPDS_XINPUT_UI(ui), + GPDS_TOUCHPAD_TAP_TIME, + &values, &n_values)) { + return; + } value = values[0]; + } double_value = value; object = gpds_ui_get_ui_object_by_name(GPDS_UI(ui), "tapping_time_scale"); -- cgit v0.8.3.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor