X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e7bc59fe98396b7c67024911b03bf1e08728df3e..8b3ce9d2a3be2d9f8d23ba8602dffc50e30ab2c8:/Client/src/item_codo.cpp?ds=inline diff --git a/Client/src/item_codo.cpp b/Client/src/item_codo.cpp index e0a1a1c..3dc290e 100644 --- a/Client/src/item_codo.cpp +++ b/Client/src/item_codo.cpp @@ -27,8 +27,7 @@ ViewCodo::~ViewCodo() bool ViewCodo::on_image_expose_event(GdkEventExpose *e) { - Glib::RefPtr colormap = image.get_colormap(); - Gdk::Color blanco = Gdk::Color("white"); + Glib::RefPtr colormap = Gtk::Widget::get_default_colormap(); colormap->alloc_color(color); gc->set_foreground(color); gc->set_background(color);