Skip to content

Commit 49f43cc

Browse files
committed
Use correct gobject-sys::GObject type
1 parent 24b026a commit 49f43cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gdk4/src/subclass/content_provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ unsafe extern "C" fn content_provider_write_mime_type_async<T: ContentProviderIm
374374
let closure = move |task: gio::LocalTask<bool>, source_object: Option<&glib::Object>| {
375375
let result: *mut gio::ffi::GAsyncResult =
376376
task.upcast_ref::<gio::AsyncResult>().to_glib_none().0;
377-
let source_object: *mut glib::object::GObject = source_object.to_glib_none().0;
377+
let source_object: *mut glib::gobject_ffi::GObject = source_object.to_glib_none().0;
378378
callback.unwrap()(source_object, result, user_data)
379379
};
380380

0 commit comments

Comments
 (0)