changeset 20287:ff4e9608b402

merge of '08edb66dad9cab9051d6c7658063ee41d827f055' and 'ed4408068e3deecc08821d7f8a5eab0974315bae'
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 29 Sep 2007 14:28:25 +0000
parents 3b459f294dc1 (current diff) 0ce367508ab6 (diff)
children f5c2f047acae
files po/sr@Latn.po
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Sat Sep 29 13:54:49 2007 +0000
+++ b/pidgin/gtkconv.c	Sat Sep 29 14:28:25 2007 +0000
@@ -6758,7 +6758,9 @@
 
 	event = gtk_event_box_new();
 	gtk_container_add(GTK_CONTAINER(gtkconv->u.im->icon_container), event);
+#if GTK_CHECK_VERSION(2,4,0)
 	gtk_event_box_set_visible_window(GTK_EVENT_BOX(event), FALSE);
+#endif
 	gtk_widget_add_events(event,
                               GDK_POINTER_MOTION_MASK | GDK_LEAVE_NOTIFY_MASK);
 	g_signal_connect(G_OBJECT(event), "button-press-event",
@@ -8864,7 +8866,9 @@
 
 	/* Close button. */
 	gtkconv->close = gtk_event_box_new();
+#if GTK_CHECK_VERSION(2,4,0)
 	gtk_event_box_set_visible_window(GTK_EVENT_BOX(gtkconv->close), FALSE);
+#endif
 	gtk_widget_set_events(gtkconv->close, GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK);
 	close_image = gtk_label_new("×");
 	g_signal_connect(G_OBJECT(gtkconv->close), "enter-notify-event", G_CALLBACK(close_button_entered_cb), close_image);