From ffd99b67e239542ca95ad635f8d26c8ede517698 Mon Sep 17 00:00:00 2001 From: Mika Attila Date: Sat, 19 Sep 2015 09:42:17 +0200 Subject: [PATCH] Depend on gtypes --- Cargo.toml | 1 + src/lib.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5fe3b375..1791701a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,3 +13,4 @@ keywords = ["libnotify", "notification"] [dependencies] libnotify-sys = "*" glib-2_0-sys = "*" +gtypes = "*" diff --git a/src/lib.rs b/src/lib.rs index 54c9ed35..e1b85ba4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,12 +19,13 @@ extern crate libnotify_sys as sys; extern crate glib_2_0_sys as glib; +extern crate gtypes; use std::ffi::CString; use std::marker::PhantomData; use std::fmt; -use glib::types::{ +use gtypes::{ TRUE, FALSE };