surpport seeking the recorded video
[vuplus_openembedded] / recipes / hal / files / dbus-fix-api.patch
1 Index: hal-0.5.7/tools/lshal.c
2 ===================================================================
3 --- hal-0.5.7.orig/tools/lshal.c        2006-02-13 14:35:31.000000000 +0000
4 +++ hal-0.5.7/tools/lshal.c     2006-11-09 13:48:07.000000000 +0000
5 @@ -701,7 +701,7 @@
6         libhal_ctx_shutdown (hal_ctx, &error);
7         libhal_ctx_free (hal_ctx);
8  
9 -       dbus_connection_disconnect (conn);
10 +       dbus_connection_close (conn);
11         dbus_connection_unref (conn);
12  
13         if (show_device)
14 Index: hal-0.5.7/tools/hal-device.c
15 ===================================================================
16 --- hal-0.5.7.orig/tools/hal-device.c   2006-11-09 13:49:44.000000000 +0000
17 +++ hal-0.5.7/tools/hal-device.c        2006-11-09 13:50:00.000000000 +0000
18 @@ -155,7 +155,7 @@
19  
20         libhal_ctx_shutdown(hal_ctx, &error);
21         libhal_ctx_free(hal_ctx);
22 -       dbus_connection_disconnect(conn);
23 +       dbus_connection_close(conn);
24         dbus_connection_unref(conn);
25         dbus_error_free(&error);
26