Depend on gtypes

This commit is contained in:
Mika Attila 2015-09-19 09:42:17 +02:00
parent 72df2c0adb
commit ffd99b67e2
2 changed files with 3 additions and 1 deletions

View File

@ -13,3 +13,4 @@ keywords = ["libnotify", "notification"]
[dependencies] [dependencies]
libnotify-sys = "*" libnotify-sys = "*"
glib-2_0-sys = "*" glib-2_0-sys = "*"
gtypes = "*"

View File

@ -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
}; };