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

Add support for subclassing gio::Application #209

Merged
merged 1 commit into from
May 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ dox = ["gio-sys/dox", "glib/dox"]
purge-lgpl-docs = ["gtk-rs-lgpl-docs"]
embed-lgpl-docs = ["gtk-rs-lgpl-docs"]
futures = ["futures-preview", "glib/futures"]
subclassing = ["glib/subclassing"]

[build-dependencies.gtk-rs-lgpl-docs]
version = "0.1.3"
Expand Down
1 change: 1 addition & 0 deletions Gir.toml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ status = "generate"
[[object]]
name = "Gio.Application"
status = "generate"
subclassing = true
manual_traits = ["ApplicationExtManual"]
[[object.signal]]
name = "open"
Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@ mod auto;
mod gio_future;
#[cfg(feature = "futures")]
pub use gio_future::*;

#[macro_use]
#[cfg(feature = "subclassing")]
pub mod subclass;
Loading