changeset 9078:f06013ff80d9

[gaim-migrate @ 9854] This is a patch I made grim write, that fixes transparency issues with im images. Unfortunately it only works on gtk 2.4 and greater. Which is why I had to make grim write it. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Thu, 27 May 2004 02:02:47 +0000
parents 13e809489beb
children 67e20c25d41e
files src/gtkimhtml.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkimhtml.c	Wed May 26 23:24:44 2004 +0000
+++ b/src/gtkimhtml.c	Thu May 27 02:02:47 2004 +0000
@@ -2747,6 +2747,9 @@
 	GtkTextChildAnchor *anchor = gtk_text_buffer_create_child_anchor(imhtml->text_buffer, iter);
 
 	gtk_container_add(GTK_CONTAINER(box), GTK_WIDGET(image->image));
+#if GTK_CHECK_VERSION(2,4,0)
+	gtk_event_box_set_visible_window(GTK_EVENT_BOX(box), FALSE);
+#endif
 
 	gtk_widget_show(GTK_WIDGET(image->image));
 	gtk_widget_show(box);