object-cache: Declare singleton instance as static

Otherwise, it is visible for other compile units. This
is a theoretical problem though, there's nothing wrong
happening right now.
parent b54bb72c
......@@ -30,7 +30,7 @@ struct _CcObjectStorage
G_DEFINE_TYPE (CcObjectStorage, cc_object_storage, G_TYPE_OBJECT)
/* Singleton instance */
CcObjectStorage *_instance = NULL;
static CcObjectStorage *_instance = NULL;
/* GTask API to create a new D-Bus proxy */
typedef struct
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment