mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Comment out splash screen stuff for now (segfaults on every session load).
git-svn-id: svn://localhost/ardour2/branches/3.0@2945 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7295d8e9f6
commit
3657677761
1 changed files with 6 additions and 4 deletions
|
|
@ -29,7 +29,7 @@ Splash::Splash ()
|
||||||
catch (...) {
|
catch (...) {
|
||||||
throw failed_constructor();
|
throw failed_constructor();
|
||||||
}
|
}
|
||||||
|
|
||||||
darea.set_size_request (pixbuf->get_width(), pixbuf->get_height());
|
darea.set_size_request (pixbuf->get_width(), pixbuf->get_height());
|
||||||
set_type_hint (Gdk::WINDOW_TYPE_HINT_SPLASHSCREEN);
|
set_type_hint (Gdk::WINDOW_TYPE_HINT_SPLASHSCREEN);
|
||||||
set_keep_above (true);
|
set_keep_above (true);
|
||||||
|
|
@ -62,19 +62,21 @@ Splash::on_button_release_event (GdkEventButton* ev)
|
||||||
bool
|
bool
|
||||||
Splash::expose (GdkEventExpose* ev)
|
Splash::expose (GdkEventExpose* ev)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
RefPtr<Gdk::Window> window = darea.get_window();
|
RefPtr<Gdk::Window> window = darea.get_window();
|
||||||
|
|
||||||
|
Glib::RefPtr<Gtk::Style> style = darea.get_style();
|
||||||
|
|
||||||
window->draw_pixbuf (get_style()->get_bg_gc (STATE_NORMAL), pixbuf,
|
window->draw_pixbuf (darea.get_style()->get_bg_gc (STATE_NORMAL), pixbuf,
|
||||||
ev->area.x, ev->area.y,
|
ev->area.x, ev->area.y,
|
||||||
ev->area.x, ev->area.y,
|
ev->area.x, ev->area.y,
|
||||||
ev->area.width, ev->area.height,
|
ev->area.width, ev->area.height,
|
||||||
Gdk::RGB_DITHER_NONE, 0, 0);
|
Gdk::RGB_DITHER_NONE, 0, 0);
|
||||||
|
|
||||||
Glib::RefPtr<Gtk::Style> style = darea.get_style();
|
|
||||||
Glib::RefPtr<Gdk::GC> white = style->get_white_gc();
|
Glib::RefPtr<Gdk::GC> white = style->get_white_gc();
|
||||||
|
|
||||||
window->draw_layout (white, 10, pixbuf->get_height() - 30, layout);
|
window->draw_layout (white, 10, pixbuf->get_height() - 30, layout);
|
||||||
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue