summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-03-05 10:37:21 +0200
committerErnestas Kulik <ernestask@gnome.org>2018-03-05 11:26:49 +0200
commit9f9183d83e2e16bf083471509dcaa4e84008f34e (patch)
tree288a562073c917cb9c32eb880b14d80a85c2602a /eel
parent6f031c4aed6ba8bb250078b575b5b157497f9ef6 (diff)
downloadnautilus-9f9183d83e2e16bf083471509dcaa4e84008f34e.tar.gz
eel: string: remove tautological comparison
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-string.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/eel/eel-string.c b/eel/eel-string.c
index 332240fb4..4ebef3bf1 100644
--- a/eel/eel-string.c
+++ b/eel/eel-string.c
@@ -103,7 +103,6 @@ eel_str_middle_truncate (const gchar *string,
g_return_val_if_fail (string != NULL, NULL);
g_return_val_if_fail (truncate_length > 0, NULL);
- g_return_val_if_fail (truncate_length <= G_MAXLONG, NULL);
ellipsis_length = g_utf8_strlen (ellipsis, -1);