Depend on gtypes
This commit is contained in:
parent
72df2c0adb
commit
ffd99b67e2
@ -13,3 +13,4 @@ keywords = ["libnotify", "notification"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
libnotify-sys = "*"
|
libnotify-sys = "*"
|
||||||
glib-2_0-sys = "*"
|
glib-2_0-sys = "*"
|
||||||
|
gtypes = "*"
|
||||||
|
@ -19,12 +19,13 @@
|
|||||||
|
|
||||||
extern crate libnotify_sys as sys;
|
extern crate libnotify_sys as sys;
|
||||||
extern crate glib_2_0_sys as glib;
|
extern crate glib_2_0_sys as glib;
|
||||||
|
extern crate gtypes;
|
||||||
|
|
||||||
use std::ffi::CString;
|
use std::ffi::CString;
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
use glib::types::{
|
use gtypes::{
|
||||||
TRUE,
|
TRUE,
|
||||||
FALSE
|
FALSE
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user