From 1545ce144e8053d965cecc9857e9ec3244f2d7d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Wed, 18 Apr 2018 19:46:55 +0200
Subject: [PATCH] phosh: make singleton static

---
 src/phosh.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/phosh.c b/src/phosh.c
index 260223c..0fa0b75 100644
--- a/src/phosh.c
+++ b/src/phosh.c
@@ -87,8 +87,7 @@ typedef struct _PhoshShell
 G_DEFINE_TYPE_WITH_PRIVATE (PhoshShell, phosh_shell, G_TYPE_OBJECT)
 
 /* Shell singleton */
-PhoshShell *_phosh;
-
+static PhoshShell *_phosh;
 
 static void layer_surface_configure(void *data,
     struct zwlr_layer_surface_v1 *surface,
-- 
GitLab