We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fb37cd commit 70fb61dCopy full SHA for 70fb61d
1 file changed
src/Services/PopoverManager.vala
@@ -254,13 +254,12 @@ public class Wingpanel.Services.PopoverManager : Object {
254
});
255
}
256
257
- private void offset_notifications(Wingpanel.Widgets.IndicatorPopover? popover = null) {
+ private void offset_notifications (Wingpanel.Widgets.IndicatorPopover? popover = null) {
258
int offset = 0;
259
if (popover != null) {
260
- int minimum_height, natural_height;
261
- popover.get_preferred_height (out minimum_height, out natural_height);
262
- offset = natural_height;
+ popover.get_preferred_height (null, out offset);
263
+
264
try {
265
wm.offset_notifications (offset);
266
} catch (Error e) {
0 commit comments