Re: Segfault with GnomeCanvasWidget, test case
- From: Aaron Lehmann <aaronl vitelus com>
- To: Detlef Reichl <detlef reichl arcormail de>
- cc: gnome-devel-list gnome org, recipient list not shown: ;
- Subject: Re: Segfault with GnomeCanvasWidget, test case
- Date: Sat, 22 Jan 2000 19:29:43 +0000 (GMT)
On Sat, 22 Jan 2000, Detlef Reichl wrote:
> Am Sat, 22 Jan 2000 schrieb Aaron Lehmann:
> >>Hi,
> >
> >GnomeCanvasWidget has not been working for be at all. I have tried many
> >things but it always either segfaults or doesn't display anything. I have
> >attatched a simple program (compilation instructions in header) that
> >produces a segfault when run on my machine. Can anyone fix it or
> >gnome-libs so it doesn't segfault?
> >
> >Bonus: If you can get it to stop segfaulting, can you get it to actually
> >display the label?
> >
> >
> >Thanks,
> >Aaron Lehmann
> >
>
> item = gnome_canvas_item_new (group,
> gnome_canvas_widget_get_type(),
> "widget", widget,
> "x", 0.0, /*double*/
> "y", 40.0, /*double*/
> "anchor", GTK_ANCHOR_NORTH_WEST,
> "width", 500.0, /*double*/
> "height", 500.0, /*double*/
> "size_pixels", TRUE,
> NULL);
>
> position and width are double format so they need the '.0'
> on end.
Thanks, that fixes the segfault. But the label still does not appear.
> greets
> detlef
>
> ps:
> btw, for what do you make this?
> gtk_widget_ref (scrolledwindow1);
The original code was decended from some GLADE-based code, which does
weird things.
> --
> }}__ } ______ }}
> {{ \ \__/ =\ {
> ( > __ X / {
> nur tote fische }} /_/ \_____/ {
> schwimmen mit dem strom. } { }}
> -laotse-
>
> detlef.reichl@arcormail.de
>
>
> --
> To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> as the Subject.
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]