-
-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manually add typed & with_type methods #1415
base: main
Are you sure you want to change the base?
Conversation
cf0515e
to
f190069
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
help with naming is needed
|
||
#[doc(alias = "gdk_content_formats_new_for_gtype")] | ||
#[doc(alias = "new_for_gtype")] | ||
pub fn for_type_with_type(type_: glib::Type) -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here
|
||
#[doc(alias = "gdk_content_formats_contain_gtype")] | ||
#[doc(alias = "contain_gtype")] | ||
pub fn contains_type_with_type(&self, type_: glib::types::Type) -> bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here
|
||
#[doc(alias = "gdk_content_formats_builder_add_gtype")] | ||
#[must_use] | ||
pub fn add_with_type(self, type_: glib::types::Type) -> Self { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here maybe?
Fixes #1384
Replaces #1386