Mercurial > pidgin.yaz
diff pidgin/gtkconv.c @ 21209:975691a8d718
merge of '7ad0c13aa61f79d4ac1cfaf922642b4b63ebc914'
and 'c4c1aaf98e7151d26c98319886253eaa74d317bd'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 03 Oct 2007 05:41:55 +0000 |
parents | a59f65876d45 15f61e6b15cd |
children | b1fa7765ca4b |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Wed Sep 19 13:37:35 2007 +0000 +++ b/pidgin/gtkconv.c Wed Oct 03 05:41:55 2007 +0000 @@ -6835,7 +6835,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", @@ -9005,7 +9007,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);