[epiphany/wip/modern_gobject] EphyEmbedShell: Make the singleton instance file-scope



commit 7a5531415793a251d013c3e00d8f3944da22a08b
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Sep 15 20:12:31 2015 -0500

    EphyEmbedShell: Make the singleton instance file-scope

 embed/ephy-embed-shell.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 5371744..b0b63a6 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -88,7 +88,7 @@ enum
 
 static GParamSpec *object_properties[N_PROPERTIES] = { NULL, };
 
-EphyEmbedShell *embed_shell = NULL;
+static EphyEmbedShell *embed_shell = NULL;
 
 G_DEFINE_TYPE (EphyEmbedShell, ephy_embed_shell, GTK_TYPE_APPLICATION)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]