This actually invert the logic
/* 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 */
/* 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) ||
+ if (gtk_check_version (2, 18, 8) != NULL ||
(gtk_minor_version == 19 && gtk_micro_version < 7)) {
return g_markup_escape_text (text, -1);
}
(gtk_minor_version == 19 && gtk_micro_version < 7)) {
return g_markup_escape_text (text, -1);
}