projects
/
flashlight-appl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed crash of applet if HAL is not running.
[flashlight-appl]
/
src
/
flashlight_applet.c
diff --git
a/src/flashlight_applet.c
b/src/flashlight_applet.c
index
055dc49
..
1c9f726
100644
(file)
--- a/
src/flashlight_applet.c
+++ b/
src/flashlight_applet.c
@@
-293,6
+293,7
@@
flashlight_status_plugin_init (FlashlightPlugin *plugin)
}
libhal_ctx_set_user_data (priv->hal, NULL);
libhal_ctx_free (priv->hal);
+ return;
}
libhal_device_add_property_watch (priv->hal, CAM_COVER_UDI, NULL);