Changeset 24073 in vbox for trunk/src/VBox
- Timestamp:
- Oct 26, 2009 1:01:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/hostversion.cpp
r24069 r24073 100 100 101 101 DBusError err; 102 dbus_connection_send_with_reply_and_block(conn, msg, 30 * 1000, &err); 102 DBusMessage *reply; 103 reply = dbus_connection_send_with_reply_and_block(conn, msg, 104 30 * 1000 /* 30 seconds timeout */, &err); 105 if (dbus_error_is_set(&err)) 106 { 107 Log(("D-BUS returned an error while sending the notification: %s", err.message)); 108 } 109 else if (reply) 110 { 103 111 dbus_connection_flush(conn); 112 dbus_message_unref(reply); 113 } 104 114 } 105 115 if (msg != NULL)
Note:
See TracChangeset
for help on using the changeset viewer.