Re: gdk_image_new
- From: Mark Juszczec <markj ps bellhowell com>
- To: Ernane José Xavier Costa <ernane abelha zoot usp br>
- Cc: <gtk-list gnome org>
- Subject: Re: gdk_image_new
- Date: Fri, 26 Oct 2001 06:41:25 -0400 (EDT)
Ernane
With gdb if found that vis contains:
(gdb) p *vis
$2 = {type = GDK_VISUAL_TRUE_COLOR, depth = 8, byte_order = GDK_LSB_FIRST,
colormap_size = 8, bits_per_rgb = 6, red_mask = 7, red_shift = 0,
red_prec = 3, green_mask = 56, green_shift = 3, green_prec = 3,
blue_mask = 192, blue_shift = 6, blue_prec = 2}
What can I try to change?
Mark
On Fri, 26 Oct 2001, Ernane [iso-8859-1] José Xavier Costa wrote:
>
>
> Mark Juszczec wrote:
>
> > Hello all,
> >
> > I'm trying to run a program that uses GTK+. The following call to
> > gdk_image_new returns NULL.
> >
> > gui_image = gdk_image_new (GDK_IMAGE_FASTEST, vis, 320, 320);
> >
>
> Check the values of parameter " vis".
>
>
> >
> > The NULL in gui_image causes a core dump later on ;-(
> >
> > Since I know nothing about GTK+, I'm going to ask a stupid question. What
> > could I look into as the possible cause of gdk_image_new failing? More
> > importantly - to me at least ;-) what can I do to correct this?
> >
> > Thanks
> >
> > Mark
> >
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]