X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/46de693afcd74154ed8b4f6bf6e81221e18a0f97..3e385dbab78eb0336e82855d829a76a111514a38:/tests/GUI/item.cc diff --git a/tests/GUI/item.cc b/tests/GUI/item.cc index 25ca9f3..907b435 100644 --- a/tests/GUI/item.cc +++ b/tests/GUI/item.cc @@ -18,10 +18,13 @@ CItem::~CItem() bool CItem::on_expose_event(GdkEventExpose* event) { - image->render_to_drawable(get_window(), get_style()->get_black_gc(), \ - 0, 0, 0, 0, image->get_width(), image->get_height(), Gdk::RGB_DITHER_NONE, 0, 0); + image->render_to_drawable(get_window(), get_style()->get_black_gc(), + 0, 0, 0, 0, image->get_width(), + image->get_height(), Gdk::RGB_DITHER_NONE, 0, 0); - Gtk::DrawingArea::on_expose_event(event); + // XXX Esto no deberia ser necesario! en todo caso devolves false en + // vez de true para que siga llamando a los otros handlers :) + //Gtk::DrawingArea::on_expose_event(event); return true; }