Skip to content

Commit fca7efc

Browse files
committed
group related static instance items
1 parent eb1cf10 commit fca7efc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Controllers/ColorController.vala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
*/
1414
public class Cherrypick.ColorController : Object {
1515

16-
private static ColorController? instance;
17-
1816
public Cherrypick.Color preview_color {get; set;}
1917
public Cherrypick.Color last_picked_color {get; set;}
2018
public Cherrypick.ColorHistory color_history {get; set;}
@@ -24,6 +22,7 @@ public class Cherrypick.ColorController : Object {
2422
/**
2523
* Gets reference to the controller
2624
*/
25+
private static ColorController? instance;
2726
public static ColorController get_instance () {
2827
if (instance == null) {
2928
instance = new ColorController ();

0 commit comments

Comments
 (0)