Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Evangelos Ribeiro Tzaras
feedbackd
Commits
5d947f51
Commit
5d947f51
authored
May 29, 2020
by
Guido Gunther
Committed by
Guido Gunther
Jun 02, 2020
Browse files
feedback-manager: Fix indentation and typo
parent
784152ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fbd-feedback-manager.c
View file @
5d947f51
...
...
@@ -69,9 +69,9 @@ device_changes (FbdFeedbackManager *self, gchar *action, GUdevDevice *device,
if
(
g_strcmp0
(
action
,
"remove"
)
==
0
&&
self
->
vibra
)
{
GUdevDevice
*
dev
=
fbd_dev_vibra_get_device
(
self
->
vibra
);
if
(
g_strcmp0
(
g_udev_device_get_sysfs_path
(
dev
),
if
(
g_strcmp0
(
g_udev_device_get_sysfs_path
(
dev
),
g_udev_device_get_sysfs_path
(
device
))
==
0
)
{
g_debug
(
"Vibra device %s got remove"
,
g_udev_device_get_sysfs_path
(
dev
));
g_debug
(
"Vibra device %s got remove
d
"
,
g_udev_device_get_sysfs_path
(
dev
));
g_clear_object
(
&
self
->
vibra
);
}
}
else
if
(
g_strcmp0
(
action
,
"add"
)
==
0
||
!
self
->
vibra
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment