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

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

Merged
merged 1 commit into from
Aug 12, 2019
Merged

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

merged 1 commit into from
Aug 12, 2019

Conversation

fengalin
Copy link
Contributor

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
Copy link
Member

sdroege commented Aug 12, 2019

@GuillaumeGomez 👍

@GuillaumeGomez
Copy link
Member

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit 2710065 into gtk-rs:master Aug 12, 2019
@fengalin fengalin deleted the win32_surface_doc branch August 12, 2019 14:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants