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

Add missed dox usage #95

Merged
merged 1 commit into from Oct 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/attribute.rs
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