方法
GioDBusInterfaceget_object
自版本:2.30
声明 [源]
GDBusObject*
g_dbus_interface_get_object (
GDBusInterface* interface_
)
描述 [源]
获取属于接口interface_的GDBusObject对象(如果有的话)。
如果使用返回的对象时,对interface_或返回的对象在多个线程中使用,则可能不安全。有关线程安全的替代方法,请参阅g_dbus_interface_dup_object()。
返回值
类型: GDBusObject
一个GDBusObject或NULL。返回的引用属于interface_,不应释放。
| 返回的数据由实例拥有。 |
返回值可以为NULL。 |