projects
/
flashlight-appl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37cd861
)
Fixed crash of applet if HAL is not running.
author
Roman Moravcik
<roman.moravcik@gmail.com>
Wed, 23 Dec 2009 20:17:27 +0000
(21:17 +0100)
committer
Roman Moravcik
<roman.moravcik@gmail.com>
Wed, 23 Dec 2009 20:17:27 +0000
(21:17 +0100)
src/flashlight_applet.c
patch
|
blob
|
history
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);