projects
/
browser-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3617d13
)
Make sure to initialize the DBusError in microb_start_dbus_watch_remove()
author
Steven Luo
<steven+maemo@steven676.net>
Fri, 27 Aug 2010 11:13:26 +0000
(
04:13
-0700)
committer
Steven Luo
<steven+maemo@steven676.net>
Fri, 27 Aug 2010 11:13:26 +0000
(
04:13
-0700)
launcher.c
patch
|
blob
|
history
diff --git
a/launcher.c
b/launcher.c
index
5a7c773
..
f42e999
100644
(file)
--- a/
launcher.c
+++ b/
launcher.c
@@
-226,6
+226,8
@@
void microb_start_dbus_watch_remove(DBusConnection *conn) {
DBusError dbus_error;
DBusHandleMessageFunction filter_func = check_microb_started;
+ dbus_error_init(&dbus_error);
+
dbus_connection_remove_filter(conn, filter_func, NULL);
dbus_bus_remove_match(conn,
"type='signal',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='com.nokia.osso_browser'",