[Gambas-user] Colorize crash
Benoît Minisini
gambas at ...1...
Wed Feb 2 22:26:30 CET 2011
> Hello,
>
> gambas3-svn3480
> ubuntu 10.04
> AMD64
>
> i have the next code for apply colorize on an Image object
>
> =========================================
> ----------
> FMain
> ----------
>
> Public iColor As Integer
>
> Public Sub btnColorize_Click()
>
> FColorChooser.ShowModal
> hImage.Colorize(iColor)
> ShowImage()
>
> End
>
> Public Sub ShowImage()
>
> PictureBox1.Picture = hImage.Picture
>
> End
>
>
> -------------
> FColorChooser
> -------------
>
> Public Sub ColorChooser1_Change()
>
> FMain.iColor = ColorChooser1.SelectedColor
>
> End
>
> =========================================
>
>
> when i first choose a color and apply colorize is ok
> if i choose again a color and apply Colorize on an Image object i get
>
>
> (Project79:3529): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion
> `GDK_IS_COLORMAP (colormap)' failed
>
> (Project79:3529): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed
>
> (Project79:3529): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed
>
> (Project79:3529): Gdk-CRITICAL **: gdk_colormap_free_colors: assertion
> `GDK_IS_COLORMAP (colormap)' failed
>
> (Project79:3529): Gdk-WARNING **: Using Cairo rendering requires the
> drawable argument to
> have a specified colormap. All windows have a colormap,
> however, pixmaps only have colormap by default if they
> were created with a non-NULL window argument. Otherwise
> a colormap must be set on them with gdk_drawable_set_colormap
>
> http://www.mediafire.com/?dq05bd3q617scj6
I cannot reproduce that. Strange, as there is no colormap involved in the
colorize process.
You must give details about your X11 configuration. Please send me the output
of xdpyinfo.
Regards,
--
Benoît Minisini
More information about the User
mailing list