Skip to content
Snippets Groups Projects
Commit fa2a9b9c authored by Gaël Bonithon's avatar Gaël Bonithon Committed by Alexander Schwinn
Browse files

garcon-menu-separator: Fix constructor

This partially reverts 1045e3f0, where
the static qualifier was removed without reason and without making the
rest of the function consistent with this change. The
GarconMenuSeparator is not intended to be packed in a container, so it
can effectively be created once and then only referenced.

This also fixes a memory leak reported by Valgrind on the weak reference
added on `separator`, which did not make sense anymore with a non-static
variable.
parent c14a6290
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment