Re: Segfault with GnomeCanvasWidget, test case
- From: Detlef Reichl <detlef reichl arcormail de>
- To: gnome-devel-list gnome org
- Subject: Re: Segfault with GnomeCanvasWidget, test case
- Date: Sat, 22 Jan 2000 20:13:21 +0100
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.
greets
detlef
ps:
btw, for what do you make this?
gtk_widget_ref (scrolledwindow1);
--
}}__ } ______ }}
{{ \ \__/ =\ {
( > __ X / {
nur tote fische }} /_/ \_____/ {
schwimmen mit dem strom. } { }}
-laotse-
detlef.reichl@arcormail.de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]