use gtk_menu_get_tear_off_state instead of GtkMenu->torn_off.
use gtk_menu_get_tear_off_state instead of GtkMenu->torn_off.

blueshell-next/carbon-gtk,KDE/oxygen-gtk,KDE/oxygen-gtk,blueshell-next/carbon-gtk,blue-shell/carbon-gtk,blue-shell/carbon-gtk