Skip to content

Commit a039057

Browse files
andy128ksdroege
andauthored
Update gio/src/subclass/action.rs
Co-authored-by: Sebastian Dröge <[email protected]>
1 parent 066dd78 commit a039057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gio/src/subclass/action.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ unsafe extern "C" fn action_get_enabled<T: ActionImpl>(actionptr: *mut ffi::GAct
382382
let instance = &*(actionptr as *mut T::Instance);
383383
let imp = instance.imp();
384384

385-
imp.is_enabled() as gboolean
385+
imp.is_enabled().into_glib()
386386
}
387387

388388
unsafe extern "C" fn action_get_state<T: ActionImpl>(

0 commit comments

Comments
 (0)