[gtk+/gtk-3-10] Remove superfluous g_file_test()
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-10] Remove superfluous g_file_test()
- Date: Wed, 16 Oct 2013 01:45:33 +0000 (UTC)
commit 512f288ec290d7c8fb1d7128c069d6abae92413f
Author: Timothy Arceri <t_arceri yahoo com au>
Date: Fri Oct 4 21:47:03 2013 +1000
Remove superfluous g_file_test()
https://bugzilla.gnome.org/show_bug.cgi?id=168530
Signed-off-by: Timothy Arceri <t_arceri yahoo com au>
gtk/gtkaccelmap.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkaccelmap.c b/gtk/gtkaccelmap.c
index 97e70af..f6baf08 100644
--- a/gtk/gtkaccelmap.c
+++ b/gtk/gtkaccelmap.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]