To compile this package successfully, should disable -DGSEAL_ENABLE in Makefile or configure.ac as well.
In gnome-power-manager_2.29.91-0ubuntu5 or newer, the line “GTK_WIDGET_UNSET_FLAGS (applet->popup, GTK_TOPLEVEL);” disappeared and result in the behavior is abnormal. GTK_WIDGET_UNSET_FLAGS (applet->popup, GTK_TOPLEVEL) can turns off GTK_TOPLEVEL widget flags.
Please see below information from Paul Li:
To compile this package successfully, should disable -DGSEAL_ENABLE in Makefile or configure.ac as well.
In gnome-power- manager_ 2.29.91- 0ubuntu5 or newer, the line “GTK_WIDGET_ UNSET_FLAGS (applet->popup, GTK_TOPLEVEL);” disappeared and result in the behavior is abnormal.
GTK_WIDGET_ UNSET_FLAGS (applet->popup, GTK_TOPLEVEL) can turns off GTK_TOPLEVEL widget flags.