Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Abhijeetsingh Meena
thunar
Commits
b015497b
Commit
b015497b
authored
Nov 21, 2021
by
Abhijeetsingh Meena
Browse files
Coded in the normal coding style
parent
c1a1a7ec
Pipeline
#12182
passed with stages
in 5 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
thunar/thunar-device.c
View file @
b015497b
...
...
@@ -674,8 +674,8 @@ thunar_device_sort (const ThunarDevice *device1,
if
(
G_OBJECT_TYPE
(
device1
->
device
)
!=
G_OBJECT_TYPE
(
device2
->
device
))
return
G_IS_MOUNT
(
device1
->
device
)
?
1
:
-
1
;
gchar
*
name1
=
thunar_device_get_name
(
device1
);
gchar
*
name2
=
thunar_device_get_name
(
device2
);
gchar
*
name1
=
thunar_device_get_name
(
device1
);
gchar
*
name2
=
thunar_device_get_name
(
device2
);
/* code which arranges devices in ASCII order */
return
g_strcmp0
(
name1
,
name2
);
...
...
Write
Preview
Supports
Markdown
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