Skip to content

Commit ec4c975

Browse files
author
Paolo Borelli
committed
gio: explicitely ignore DBusConnection::register_object
1 parent 6c6c7bd commit ec4c975

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

gio/Gir.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,10 @@ status = "generate"
561561
# no closure based way to create subtrees
562562
ignore = true
563563
[[object.function]]
564+
pattern = "register_object"
565+
#wrapped with proper types manually
566+
manual = true
567+
[[object.function]]
564568
pattern = "register_object_with_closures"
565569
#wrapped with proper types manually
566570
manual = true

gio/src/auto/dbus_connection.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -643,11 +643,6 @@ impl DBusConnection {
643643
unsafe { from_glib(ffi::g_dbus_connection_is_closed(self.to_glib_none().0)) }
644644
}
645645

646-
//#[doc(alias = "g_dbus_connection_register_object")]
647-
//pub fn register_object(&self, object_path: &str, interface_info: &DBusInterfaceInfo, vtable: /*Ignored*/Option<&DBusInterfaceVTable>, user_data: /*Unimplemented*/Option<Basic: Pointer>) -> Result<(), glib::Error> {
648-
// unsafe { TODO: call ffi:g_dbus_connection_register_object() }
649-
//}
650-
651646
#[doc(alias = "g_dbus_connection_send_message")]
652647
pub fn send_message(
653648
&self,

0 commit comments

Comments
 (0)