changeset 17351:0f65c1856f55

Fix for gtk < 2.4
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 27 May 2007 13:37:00 +0000
parents ae30f9913bb4
children 58a286e231b7 48aebb50a93d 5ba545dfe2d6 be7e6375ce7e
files pidgin/gtkimhtml.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c	Sun May 27 13:26:34 2007 +0000
+++ b/pidgin/gtkimhtml.c	Sun May 27 13:37:00 2007 +0000
@@ -4432,7 +4432,9 @@
 
 	if (imhtml_smiley && imhtml_smiley->flags & GTK_IMHTML_SMILEY_CUSTOM) {
 		ebox = gtk_event_box_new();
+#if GTK_CHECK_VERSION(2,4,0)
 		gtk_event_box_set_visible_window(GTK_EVENT_BOX(ebox), FALSE);
+#endif
 		gtk_widget_show(ebox);
 	}