Skip to content

Commit b6e70df

Browse files
committed
Regenerate with latest gir
1 parent f8df5df commit b6e70df

File tree

30 files changed

+820
-41
lines changed

30 files changed

+820
-41
lines changed

gdk-pixbuf/src/auto/enums.rs

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ impl ToValue for Colorspace {
8888
}
8989
}
9090

91+
impl From<Colorspace> for glib::Value {
92+
#[inline]
93+
fn from(v: Colorspace) -> Self {
94+
ToValue::to_value(&v)
95+
}
96+
}
97+
9198
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
9299
#[non_exhaustive]
93100
#[doc(alias = "GdkInterpType")]
@@ -180,6 +187,13 @@ impl ToValue for InterpType {
180187
}
181188
}
182189

190+
impl From<InterpType> for glib::Value {
191+
#[inline]
192+
fn from(v: InterpType) -> Self {
193+
ToValue::to_value(&v)
194+
}
195+
}
196+
183197
#[cfg_attr(feature = "v2_42", deprecated = "Since 2.42")]
184198
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
185199
#[non_exhaustive]
@@ -263,6 +277,13 @@ impl ToValue for PixbufAlphaMode {
263277
}
264278
}
265279

280+
impl From<PixbufAlphaMode> for glib::Value {
281+
#[inline]
282+
fn from(v: PixbufAlphaMode) -> Self {
283+
ToValue::to_value(&v)
284+
}
285+
}
286+
266287
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
267288
#[non_exhaustive]
268289
#[doc(alias = "GdkPixbufError")]
@@ -393,6 +414,13 @@ impl ToValue for PixbufError {
393414
}
394415
}
395416

417+
impl From<PixbufError> for glib::Value {
418+
#[inline]
419+
fn from(v: PixbufError) -> Self {
420+
ToValue::to_value(&v)
421+
}
422+
}
423+
396424
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]
397425
#[non_exhaustive]
398426
#[doc(alias = "GdkPixbufRotation")]
@@ -484,3 +512,10 @@ impl ToValue for PixbufRotation {
484512
Self::static_type()
485513
}
486514
}
515+
516+
impl From<PixbufRotation> for glib::Value {
517+
#[inline]
518+
fn from(v: PixbufRotation) -> Self {
519+
ToValue::to_value(&v)
520+
}
521+
}

gdk-pixbuf/src/auto/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 3b6fe0a33676)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 0eeebbdf9d4d)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ d8382a5920b8)

gdk-pixbuf/sys/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ e94fdc6499e4)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 3b6fe0a33676)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 0eeebbdf9d4d)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ d8382a5920b8)

0 commit comments

Comments
 (0)