- Timestamp:
- Sep 22, 2023 9:12:48 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
r101233 r101235 743 743 && !dbus_error_is_set(&dbErr)) 744 744 { 745 // TODO:is there some Less Horrible Way(tm) to access dbus?745 /// @todo is there some Less Horrible Way(tm) to access dbus? 746 746 /* Get all available sessions. */ 747 747 /* like `busctl call org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager ListSessions` */ … … 801 801 int sessionPropertyActiveValue; 802 802 if ( vboxService_dbus_unpack_variant_reply( 803 &dbErr, 804 pReplySession, 805 DBUS_TYPE_BOOLEAN, 803 &dbErr, 804 pReplySession, 805 DBUS_TYPE_BOOLEAN, 806 806 &sessionPropertyActiveValue) 807 807 && sessionPropertyActiveValue) { … … 825 825 const char *sessionPropertyNameValue; 826 826 if ( vboxService_dbus_unpack_variant_reply( 827 &dbErr, 828 pReplyName, 829 DBUS_TYPE_STRING, 827 &dbErr, 828 pReplyName, 829 DBUS_TYPE_STRING, 830 830 &sessionPropertyNameValue) 831 831 && sessionPropertyNameValue) … … 874 874 fHaveLibDbus = true; 875 875 dbus_error_init(&dbErr); 876 /* TODO:should this be dbus_connection_open() (and below, dbus_connection_unref())? */876 /** @todo should this be dbus_connection_open() (and below, dbus_connection_unref())? */ 877 877 pConnection = dbus_bus_get(DBUS_BUS_SYSTEM, &dbErr); 878 878 } … … 936 936 937 937 } 938 /* TODO:clean up if &dbErr */938 /** @todo clean up if &dbErr */ 939 939 vboxService_dbus_message_discard(&pReplySessionActive); 940 940 … … 986 986 AssertMsgFailed(("ConsoleKit: GetUnixUser returned a wrong argument type\n")); 987 987 } 988 /* TODO:clean up if &dbErr */988 /** @todo clean up if &dbErr */ 989 989 990 990 vboxService_dbus_message_discard(&pReplyUnixUser);
Note:
See TracChangeset
for help on using the changeset viewer.