I'm porting a commercial app to Linux, it is to run on several distros. When run on Ubuntu, the GtkMenuBar is removed from the app's window and placed on the main global menu bar. That's fine ... but there is a corresponding empty space in the app window where the menu was removed (it is placed with GtkFixed). I need to be able to detect when this has happened (and ONLY) when it has happened from any distro, so that I can reliably remove the empty space.
What's the best way to detect this? (ie via gtk_widget_... calls) What has been done to the GtkMenuBar to achieve this? Thanks.