Skip to content

Commit 66a0c62

Browse files
committed
regen: update for MR#1622
gtk-rs/gir#1622
1 parent 565e937 commit 66a0c62

File tree

19 files changed

+24
-24
lines changed

19 files changed

+24
-24
lines changed

gdk-pixbuf/src/auto/pixbuf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ impl Pixbuf {
549549
//}
550550

551551
//#[doc(alias = "gdk_pixbuf_save_to_callbackv")]
552-
//pub fn save_to_callbackv<P: FnMut(&Vec<u8>, usize, &glib::Error) -> bool>(&self, save_func: P, type_: &str, option_keys: &[&str], option_values: &[&str]) -> Result<(), glib::Error> {
552+
//pub fn save_to_callbackv<P: FnMut(&Vec<u8>, usize, &glib::Error) -> bool>(&self, save_func: P, type_: &str, option_keys: Option<&[&str]>, option_values: Option<&[&str]>) -> Result<(), glib::Error> {
553553
// unsafe { TODO: call ffi:gdk_pixbuf_save_to_callbackv() }
554554
//}
555555

gdk-pixbuf/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 9e6d0758f347)
22
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

gdk-pixbuf/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 9e6d0758f347)
22
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

gio/src/auto/app_info.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ pub trait AppInfoExt: IsA<AppInfo> + 'static {
464464
#[doc(alias = "g_app_info_launch")]
465465
fn launch(
466466
&self,
467-
files: &[File],
467+
files: Option<&[File]>,
468468
context: Option<&impl IsA<AppLaunchContext>>,
469469
) -> Result<(), glib::Error> {
470470
unsafe {
@@ -487,7 +487,7 @@ pub trait AppInfoExt: IsA<AppInfo> + 'static {
487487
#[doc(alias = "g_app_info_launch_uris")]
488488
fn launch_uris(
489489
&self,
490-
uris: &[&str],
490+
uris: Option<&[&str]>,
491491
context: Option<&impl IsA<AppLaunchContext>>,
492492
) -> Result<(), glib::Error> {
493493
unsafe {

gio/src/auto/app_launch_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub trait AppLaunchContextExt: IsA<AppLaunchContext> + 'static {
6363
fn startup_notify_id(
6464
&self,
6565
info: Option<&impl IsA<AppInfo>>,
66-
files: &[File],
66+
files: Option<&[File]>,
6767
) -> Option<glib::GString> {
6868
unsafe {
6969
from_glib_full(ffi::g_app_launch_context_get_startup_notify_id(

gio/src/auto/dtls_connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ pub trait DtlsConnectionExt: IsA<DtlsConnection> + 'static {
330330
#[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
331331
#[doc(alias = "g_dtls_connection_set_advertised_protocols")]
332332
#[doc(alias = "advertised-protocols")]
333-
fn set_advertised_protocols(&self, protocols: &[&str]) {
333+
fn set_advertised_protocols(&self, protocols: Option<&[&str]>) {
334334
unsafe {
335335
ffi::g_dtls_connection_set_advertised_protocols(
336336
self.as_ref().to_glib_none().0,

gio/src/auto/functions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ pub fn content_type_is_unknown(type_: &str) -> bool {
215215
#[cfg(feature = "v2_60")]
216216
#[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
217217
#[doc(alias = "g_content_type_set_mime_dirs")]
218-
pub fn content_type_set_mime_dirs(dirs: &[&str]) {
218+
pub fn content_type_set_mime_dirs(dirs: Option<&[&str]>) {
219219
unsafe {
220220
ffi::g_content_type_set_mime_dirs(dirs.to_glib_none().0);
221221
}

gio/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 9e6d0758f347)
22
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

gio/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 9e6d0758f347)
22
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

glib/gobject-sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ b2a1c6f9b362)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 9e6d0758f347)
22
from gir-files (https://github.com/gtk-rs/gir-files @ f5f1ab94657c)

0 commit comments

Comments
 (0)