Skip to content

Commit 90ec55f

Browse files
committed
vala-panel: fix widget has extra ref.
1 parent 931272e commit 90ec55f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/valapanel-plugin-appmenu.vala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ public class GlobalMenuApplet: Applet
6262
this.add(layout);
6363
show_all();
6464
}
65+
~GlobalMenuApplet()
66+
{
67+
layout.unref();
68+
}
6569
#if NEW
6670
public override Widget get_settings_ui()
6771
{

0 commit comments

Comments
 (0)