summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-09-26 10:07:29 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-09-26 10:15:07 -0700
commit8e5a79f957b9edfa5d118b49288de6bd93121a85 (patch)
treefe5e1c6dbdf1bdb6925f5155c9dbc283365db506 /src/lib/elementary
parent0b8e3e6fcf232563a11d2c128200eaf01a2b5689 (diff)
elementary: don't crash if API is called after shutdown.
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 6c8d53bcfd..46293a69c9 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -4307,6 +4307,7 @@ elm_config_web_backend_set(const char *backend)
4307EAPI const char * 4307EAPI const char *
4308elm_config_web_backend_get(void) 4308elm_config_web_backend_get(void)
4309{ 4309{
4310 if (!_elm_config) return NULL;
4310 return _elm_config->web_backend; 4311 return _elm_config->web_backend;
4311} 4312}
4312 4313