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

Commit

Permalink
Add missed dox usage
Browse files Browse the repository at this point in the history
  • Loading branch information
EPashkin committed Oct 21, 2017
1 parent 5f7a01c commit ec63fae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/attribute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use ffi;
use glib::translate::*;

impl Attribute {
#[cfg(feature = "v1_38")]
#[cfg(any(feature = "v1_38", feature = "dox"))]
pub fn new_background_alpha(alpha: u16) -> Option<Attribute> {
unsafe {
from_glib_full(ffi::pango_attr_background_alpha_new(alpha))
Expand All @@ -40,7 +40,7 @@ impl Attribute {
}
}

#[cfg(feature = "v1_38")]
#[cfg(any(feature = "v1_38", feature = "dox"))]
pub fn new_foreground_alpha(alpha: u16) -> Option<Attribute> {
unsafe {
from_glib_full(ffi::pango_attr_foreground_alpha_new(alpha))
Expand Down

0 comments on commit ec63fae

Please sign in to comment.