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