diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-03-10 19:15:23 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2010-03-10 19:15:23 +0800 |
commit | 77192dd163342a513b88618bd8a4d213574d40c1 (patch) | |
tree | 1eb664c5595e0b307c3eafa3daa6a2e4b2854afa /libempathy-gtk | |
parent | 5601d115d7e74b78dc1a884902c08c23be7626a8 (diff) | |
download | gsoc2013-empathy-77192dd163342a513b88618bd8a4d213574d40c1.tar gsoc2013-empathy-77192dd163342a513b88618bd8a4d213574d40c1.tar.gz gsoc2013-empathy-77192dd163342a513b88618bd8a4d213574d40c1.tar.bz2 gsoc2013-empathy-77192dd163342a513b88618bd8a4d213574d40c1.tar.lz gsoc2013-empathy-77192dd163342a513b88618bd8a4d213574d40c1.tar.xz gsoc2013-empathy-77192dd163342a513b88618bd8a4d213574d40c1.tar.zst gsoc2013-empathy-77192dd163342a513b88618bd8a4d213574d40c1.zip |
gtk_check_version() is returning a string error or NULL, not a boolean
This actually invert the logic
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-string-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-string-parser.c b/libempathy-gtk/empathy-string-parser.c index 691263a99..a661cd477 100644 --- a/libempathy-gtk/empathy-string-parser.c +++ b/libempathy-gtk/empathy-string-parser.c @@ -206,7 +206,7 @@ empathy_add_link_markup (const gchar *text) /* 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); } |