Fix build with latest gtk-rs

This commit is contained in:
Julian Ospald 2017-08-24 17:41:58 +02:00
parent 910baff12a
commit 01a8a57235
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 2 additions and 2 deletions

View File

@ -147,8 +147,8 @@ macro_rules! error_dialog {
($msg:expr, $parent:expr) => {
{
use gtk::DialogExt;
use gtk::GtkWindowExt;
use gtk::WidgetExt;
use gtk::WindowExt;
let parent: Option<&gtk::Window> = $parent;
let dialog = gtk::MessageDialog::new(parent,

View File

@ -4,9 +4,9 @@
use app_state::*;
use audio::frontend::*;
use gtk::DialogExt;
use gtk::GtkWindowExt;
use gtk::MessageDialogExt;
use gtk::WidgetExt;
use gtk::WindowExt;
use gtk;
use gtk_sys::GTK_RESPONSE_YES;
use prefs::*;