Skip to content

Commit

Permalink
vala-panel: fix widget has extra ref.
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed Feb 16, 2018
1 parent 931272e commit 90ec55f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/valapanel-plugin-appmenu.vala
Expand Up @@ -62,6 +62,10 @@ public class GlobalMenuApplet: Applet
this.add(layout);
show_all();
}
~GlobalMenuApplet()
{
layout.unref();
}
#if NEW
public override Widget get_settings_ui()
{
Expand Down

0 comments on commit 90ec55f

Please sign in to comment.