mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
Remove superfluous g_file_test()
https://bugzilla.gnome.org/show_bug.cgi?id=168530 Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
This commit is contained in:
parent
48770fda30
commit
05cc3b6df6
@ -684,9 +684,6 @@ gtk_accel_map_load (const gchar *file_name)
|
||||
|
||||
g_return_if_fail (file_name != NULL);
|
||||
|
||||
if (!g_file_test (file_name, G_FILE_TEST_IS_REGULAR))
|
||||
return;
|
||||
|
||||
fd = g_open (file_name, O_RDONLY, 0);
|
||||
if (fd < 0)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user