pidgin: c517bcc1: gtk_event_box_set_visible_window() is ne...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Mon Mar 17 10:50:44 EDT 2008


-----------------------------------------------------------------
Revision: c517bcc1f74ae9f98dc6a97dd08e1bf59367d843
Ancestor: db1171cc2d416f5cd179e505499292b0585e5d68
Author: nosnilmot at pidgin.im
Date: 2008-03-17T14:30:30
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c517bcc1f74ae9f98dc6a97dd08e1bf59367d843

Modified files:
        pidgin/gtkscrollbook.c

ChangeLog: 

gtk_event_box_set_visible_window() is new in Gtk 2.4

-------------- next part --------------
============================================================
--- pidgin/gtkscrollbook.c	e7b74f63160c60acbf3d2262822c1de1a1941872
+++ pidgin/gtkscrollbook.c	49a6bddc77ce7db1876a0b647081e12b3c2e6eb8
@@ -268,7 +268,9 @@ pidgin_scroll_book_init (PidginScrollBoo
 	/* Close */
 	eb = gtk_event_box_new();
 	gtk_box_pack_end(GTK_BOX(scroll_book->hbox), eb, FALSE, FALSE, 0);
+#if GTK_CHECK_VERSION(2,4,0)
 	gtk_event_box_set_visible_window(GTK_EVENT_BOX(eb), FALSE);
+#endif
 	gtk_widget_set_events(eb, GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK);
 	close_button = gtk_label_new("×");
 	g_signal_connect(G_OBJECT(eb), "enter-notify-event", G_CALLBACK(close_button_entered_cb), close_button);


More information about the Commits mailing list