summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/dconf-engine.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/dconf-engine.c b/engine/dconf-engine.c
index 706a856..af98cdf 100644
--- a/engine/dconf-engine.c
+++ b/engine/dconf-engine.c
@@ -707,7 +707,10 @@ dconf_engine_call_handle_new (DConfEngine *engine,
const GVariantType *
dconf_engine_call_handle_get_expected_type (DConfEngineCallHandle *handle)
{
- return handle->expected_reply;
+ if (handle)
+ return handle->expected_reply;
+ else
+ return NULL;
}
void