From db806e6906469a1db633090b4a02298e4ebb4afd Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 13 Apr 2010 16:25:57 +0200 Subject: Remove check for GTK version now that we depend on 2.20 Fixes bug #612185 --- libempathy-gtk/empathy-string-parser.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libempathy-gtk/empathy-string-parser.c') diff --git a/libempathy-gtk/empathy-string-parser.c b/libempathy-gtk/empathy-string-parser.c index a661cd477..5c3fb1972 100644 --- a/libempathy-gtk/empathy-string-parser.c +++ b/libempathy-gtk/empathy-string-parser.c @@ -203,14 +203,6 @@ empathy_add_link_markup (const gchar *text) g_return_val_if_fail (text != NULL, NULL); - /* GtkLabel with links could make infinite loop because of - * GNOME bug #612066. It is fixed in GTK >= 2.18.8 and GTK >= 2.19.7. - * FIXME: Remove this check once we have an hard dep on GTK 2.20 */ - if (gtk_check_version (2, 18, 8) != NULL || - (gtk_minor_version == 19 && gtk_micro_version < 7)) { - return g_markup_escape_text (text, -1); - } - string = g_string_sized_new (strlen (text)); empathy_string_parser_substr (text, -1, parsers, string); -- cgit v1.2.3