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

Commit 942c0ee

Browse files
authored
Merge pull request #814 from jf2048/collection-fix
Prepare for gir collections
2 parents 276fbad + cdcdbdb commit 942c0ee

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

gdk/src/atom.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ impl GlibPtrDefault for Atom {
5353
type GlibType = ffi::GdkAtom;
5454
}
5555

56+
unsafe impl glib::translate::TransparentPtrType for Atom {}
57+
5658
#[doc(hidden)]
5759
impl Uninitialized for Atom {
5860
#[inline]

gtk/Gir.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ manual = [
250250
"Gtk.Border",
251251
"Gtk.FileFilterInfo",
252252
"Gtk.PadActionEntry",
253-
"Gtk.PageRange",
254253
"Gtk.RecentData",
255254
"Gtk.Requisition",
256255
"Gtk.ResponseType",
@@ -1668,6 +1667,11 @@ generate_builder = true
16681667
name = "set_action_entries"
16691668
manual = true
16701669

1670+
[[object]]
1671+
name = "Gtk.PageRange"
1672+
status = "manual"
1673+
boxed_inline = true
1674+
16711675
[[object]]
16721676
name = "Gtk.PageSetup"
16731677
status = "generate"

0 commit comments

Comments
 (0)