Skip to content
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

cairo-sys: align win32-surface feature gates with those in cairo #281

Merged
merged 1 commit into from Aug 12, 2019

Conversation

@fengalin
Copy link
Contributor

fengalin commented Aug 12, 2019

fixes error:

error[E0425]: cannot find function `cairo_win32_surface_create_with_format` in module `ffi`

  --> src/win32_surface.rs:50:38
   |
50 |             Self::from_raw_full(ffi::cairo_win32_surface_create_with_format(

   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `cairo_win32_surface_create_with_ddb`

when running:

cargo doc --features "dox"
fixes error:

```
error[E0425]: cannot find function `cairo_win32_surface_create_with_format` in module `ffi`

  --> src/win32_surface.rs:50:38
   |
50 |             Self::from_raw_full(ffi::cairo_win32_surface_create_with_format(

   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `cairo_win32_surface_create_with_ddb`
```

when running:

```
cargo doc --features "dox"
```
@sdroege

This comment has been minimized.

Copy link
Member

sdroege commented Aug 12, 2019

@GuillaumeGomez

This comment has been minimized.

Copy link
Member

GuillaumeGomez commented Aug 12, 2019

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit 2710065 into gtk-rs:master Aug 12, 2019
0 of 2 checks passed
0 of 2 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build failed
Details
@fengalin fengalin deleted the fengalin:win32_surface_doc branch Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.