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:
Timothy Arceri 2013-10-04 21:47:03 +10:00 committed by Matthias Clasen
parent 48770fda30
commit 05cc3b6df6

View File

@ -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;