Commit ca624a19 authored by Guido Gunther's avatar Guido Gunther
Browse files

shell: Look at the right manager

Don't check torch manager when we want location.
Signed-off-by: Guido Gunther's avatarGuido Günther <>
parent b99126ce
......@@ -1062,7 +1062,7 @@ phosh_shell_get_location_manager (PhoshShell *self)
g_return_val_if_fail (PHOSH_IS_SHELL (self), NULL);
priv = phosh_shell_get_instance_private (self);
if (!priv->torch_manager)
if (!priv->location_manager)
priv->location_manager = phosh_location_manager_new ();
g_return_val_if_fail (PHOSH_IS_LOCATION_MANAGER (priv->location_manager), NULL);
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