Hi All,

Maybe there is a memory leak when gtk-clutter-embed widget creates.

gtk-clutter-embed widget creates new gdk colormap object from clutter visual

    visual = gdk_x11_screen_lookup_visual (gtk_widget_get_screen (widget),
                                           xvinfo->visualid);
    colormap = gdk_colormap_new (visual, FALSE);
    gtk_widget_set_colormap (widget, colormap);


I think it need to be unref after setting colormap to widget.

However, I have tried unref colormap there, colormap object still remain
after a gtk-clutter-embed widget destroyed.

And I'm not sure why it can't use default colormap.


Is there any one who have any idea?



Thank you.

BR. Rubric.

Reply via email to