Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 21e5543

Browse files
committed
gtk: regenerate after gir manifest changes
1 parent f6e2178 commit 21e5543

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

gtk/src/auto/print_operation.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,6 @@ pub trait PrintOperationExt: 'static {
233233
#[doc(alias = "get_embed_page_setup")]
234234
fn embeds_page_setup(&self) -> bool;
235235

236-
#[doc(alias = "gtk_print_operation_get_error")]
237-
#[doc(alias = "get_error")]
238-
fn error(&self) -> Result<(), glib::Error>;
239-
240236
#[doc(alias = "gtk_print_operation_get_has_selection")]
241237
#[doc(alias = "get_has_selection")]
242238
fn has_selection(&self) -> bool;
@@ -486,18 +482,6 @@ impl<O: IsA<PrintOperation>> PrintOperationExt for O {
486482
}
487483
}
488484

489-
fn error(&self) -> Result<(), glib::Error> {
490-
unsafe {
491-
let mut error = ptr::null_mut();
492-
let _ = ffi::gtk_print_operation_get_error(self.as_ref().to_glib_none().0, &mut error);
493-
if error.is_null() {
494-
Ok(())
495-
} else {
496-
Err(from_glib_full(error))
497-
}
498-
}
499-
}
500-
501485
fn has_selection(&self) -> bool {
502486
unsafe {
503487
from_glib(ffi::gtk_print_operation_get_has_selection(

0 commit comments

Comments
 (0)