Commit bc3370b8 authored by Christopher Davis's avatar Christopher Davis

welcome: Drop HdyWindowHandle

Since we have a headerbar now and the first page is part of the carousel, we shouldn't use HdyWindowHandle.
parent c5f4d383
...@@ -20,7 +20,7 @@ pub enum Action { ...@@ -20,7 +20,7 @@ pub enum Action {
} }
pub struct WelcomePageWidget { pub struct WelcomePageWidget {
pub widget: libhandy::WindowHandle, pub widget: gtk::Box,
#[cfg(feature = "video")] #[cfg(feature = "video")]
player: gst_player::Player, player: gst_player::Player,
#[cfg(feature = "video")] #[cfg(feature = "video")]
...@@ -31,7 +31,7 @@ pub struct WelcomePageWidget { ...@@ -31,7 +31,7 @@ pub struct WelcomePageWidget {
impl WelcomePageWidget { impl WelcomePageWidget {
pub fn new() -> Self { pub fn new() -> Self {
let widget = libhandy::WindowHandle::new(); let widget = gtk::Box::new(gtk::Orientation::Horizontal, 0);
#[cfg(feature = "video")] #[cfg(feature = "video")]
let player = { let player = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment