Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
attrlist: don't derive Eq/PartialEq by default
Browse files Browse the repository at this point in the history
fix the conflict with the equal function introduced in v1_46
  • Loading branch information
bilelmoussaoui committed Oct 10, 2020
1 parent 003a5c8 commit da90621
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Gir.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ status = "generate"
[[object]]
name = "Pango.AttrList"
status = "generate"
[[object.derive]]
name = "Debug, PartialOrd, Ord, Hash"
[[object.function]]
name = "change"
ignore = true
Expand Down
2 changes: 1 addition & 1 deletion src/auto/attr_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use AttrIterator;
use Attribute;

glib_wrapper! {
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Debug, PartialOrd, Ord, Hash)]
pub struct AttrList(Shared<pango_sys::PangoAttrList>);

match fn {
Expand Down

0 comments on commit da90621

Please sign in to comment.