X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e7bc59fe98396b7c67024911b03bf1e08728df3e..4341c033f13578b5b3aeb3e08e20d3889cb2d7c7:/Client/src/item_exclusa.cpp diff --git a/Client/src/item_exclusa.cpp b/Client/src/item_exclusa.cpp index d09ad8a..4a3e7b4 100644 --- a/Client/src/item_exclusa.cpp +++ b/Client/src/item_exclusa.cpp @@ -37,7 +37,7 @@ ViewExclusa::~ViewExclusa() bool ViewExclusa::on_image_expose_event(GdkEventExpose *e) { - Glib::RefPtr colormap = image.get_colormap(); + Glib::RefPtr colormap = Gtk::Widget::get_default_colormap(); colormap->alloc_color(color); gc->set_foreground(color); gc->set_background(color);