Mercurial > pidgin
comparison src/gtkimhtml.c @ 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 | 2233d33b2285 |
children | a9f97d5258f8 |
comparison
equal
deleted
inserted
replaced
9077:13e809489beb | 9078:f06013ff80d9 |
---|---|
2745 GtkWidget *box = gtk_event_box_new(); | 2745 GtkWidget *box = gtk_event_box_new(); |
2746 char *tag; | 2746 char *tag; |
2747 GtkTextChildAnchor *anchor = gtk_text_buffer_create_child_anchor(imhtml->text_buffer, iter); | 2747 GtkTextChildAnchor *anchor = gtk_text_buffer_create_child_anchor(imhtml->text_buffer, iter); |
2748 | 2748 |
2749 gtk_container_add(GTK_CONTAINER(box), GTK_WIDGET(image->image)); | 2749 gtk_container_add(GTK_CONTAINER(box), GTK_WIDGET(image->image)); |
2750 #if GTK_CHECK_VERSION(2,4,0) | |
2751 gtk_event_box_set_visible_window(GTK_EVENT_BOX(box), FALSE); | |
2752 #endif | |
2750 | 2753 |
2751 gtk_widget_show(GTK_WIDGET(image->image)); | 2754 gtk_widget_show(GTK_WIDGET(image->image)); |
2752 gtk_widget_show(box); | 2755 gtk_widget_show(box); |
2753 | 2756 |
2754 tag = g_strdup_printf("<IMG ID=\"%d\">", image->id); | 2757 tag = g_strdup_printf("<IMG ID=\"%d\">", image->id); |