diff pidgin/gtkconv.c @ 29441:d77ecfe2b2c9

merged with im.pidgin.pidgin
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 15 Feb 2010 18:44:44 +0900
parents 421ef79a30ca 4863fed15aa2
children f44718de8b06
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Mon Feb 15 18:40:19 2010 +0900
+++ b/pidgin/gtkconv.c	Mon Feb 15 18:44:44 2010 +0900
@@ -9669,6 +9669,12 @@
 #if GTK_CHECK_VERSION(2, 12, 0)
 #define gtk_tooltips_set_tip(tips, w, l, p)  gtk_widget_set_tooltip_text(w, l)
 #endif
+/* PANGO_VERSION_CHECK macro was introduced in 1.15. So we need this double check. */
+#ifndef PANGO_VERSION_CHECK
+#define pango_layout_is_ellipsized(l) TRUE
+#elif !PANGO_VERSION_CHECK(1,16,0)
+#define pango_layout_is_ellipsized(l) TRUE
+#endif
 	PangoLayout *layout;
 
 	layout = gtk_label_get_layout(GTK_LABEL(gtkconv->tab_label));