aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-07-05 00:20:04 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-07-05 00:20:04 +0800
commit9cc39ab9a2f6a10cebcb830bba857f84bb60aed8 (patch)
tree0979e4ddb85993d04a01a552423484f7b26f8d78 /libempathy-gtk
parent3d2d694feab078b7926bb3142a138338fa340869 (diff)
downloadgsoc2013-empathy-9cc39ab9a2f6a10cebcb830bba857f84bb60aed8.tar
gsoc2013-empathy-9cc39ab9a2f6a10cebcb830bba857f84bb60aed8.tar.gz
gsoc2013-empathy-9cc39ab9a2f6a10cebcb830bba857f84bb60aed8.tar.bz2
gsoc2013-empathy-9cc39ab9a2f6a10cebcb830bba857f84bb60aed8.tar.lz
gsoc2013-empathy-9cc39ab9a2f6a10cebcb830bba857f84bb60aed8.tar.xz
gsoc2013-empathy-9cc39ab9a2f6a10cebcb830bba857f84bb60aed8.tar.zst
gsoc2013-empathy-9cc39ab9a2f6a10cebcb830bba857f84bb60aed8.zip
Use function to check GTK+ version instead of mangling directly. Fixes bug #537249 (Ross Burton).
svn path=/trunk/; revision=1197
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index 60a4d845f..4756defa5 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -132,7 +132,7 @@ contact_list_view_query_tooltip_cb (EmpathyContactListView *view,
GtkTreePath *path;
/* FIXME: We need GTK version >= 2.12.10. See GNOME bug #504087 */
- if (100 * gtk_minor_version + gtk_micro_version < 1210) {
+ if (!gtk_check_version (2, 12, 10)) {
return FALSE;
}