Mercurial > pidgin
changeset 22500:2f88870f86bf
gtk_event_box_set_visible_window() is new in Gtk 2.4
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Mon, 17 Mar 2008 14:30:30 +0000 |
parents | a8fff9da2791 |
children | d128201714e9 |
files | pidgin/gtkscrollbook.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkscrollbook.c Mon Mar 17 14:17:56 2008 +0000 +++ b/pidgin/gtkscrollbook.c Mon Mar 17 14:30:30 2008 +0000 @@ -268,7 +268,9 @@ /* 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);