After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 69645 - libgnomecanvas demo program canvas_demo crashes
libgnomecanvas demo program canvas_demo crashes
Status: RESOLVED DUPLICATE of bug 65109
Product: libgnomecanvas
Classification: Deprecated
Component: items
unspecified
Other Solaris
: Normal normal
: future
Assigned To: Anders Carlsson
Anders Carlsson
Depends on: 65109
Blocks:
 
 
Reported: 2002-01-25 10:09 UTC by padraig.obriain
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description padraig.obriain 2002-01-25 10:09:35 UTC
This problem is related to bug 65109, i.e. non-existence of XftConfig file.

I have made the following changes to canvas.c to get it to run on SOlaris.

Index: canvas.c
===================================================================
RCS file: /cvs/gnome/libgnomecanvas/demos/canvas.c,v
retrieving revision 1.37
diff -u -p -r1.37 canvas.c
--- canvas.c	2001/12/30 18:54:39	1.37
+++ canvas.c	2002/01/25 10:08:51
@@ -30,12 +30,16 @@ create_canvas (void)
 	gtk_container_add (GTK_CONTAINER (app), notebook);
 
 	gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
create_canvas_primitives (0), gtk_label_new ("Primitives"));
+#if 0
     	gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
create_canvas_primitives (1), gtk_label_new ("Antialias"));  
+#endif
 	gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
create_canvas_arrowhead (), gtk_label_new ("Arrowhead"));
 	gtk_notebook_append_page (GTK_NOTEBOOK (notebook), create_canvas_fifteen
(), gtk_label_new ("Fifteen"));
 	gtk_notebook_append_page (GTK_NOTEBOOK (notebook), create_canvas_features
(), gtk_label_new ("Features"));
 	gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
create_canvas_rich_text (), gtk_label_new ("Rich Text"));
+#if 0
 	gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
create_canvas_bezier_curve (), gtk_label_new ("Bezier Curve"));
+#endif
 
 	gtk_widget_show (app);
 }
Comment 1 Anders Carlsson 2002-01-25 10:28:33 UTC
Setting depends on. 
Comment 2 Anders Carlsson 2002-02-10 13:48:29 UTC
I renamed my XFtConfig file and ran canvas_demo and it didn't crash.
I'm still keeping this bug open until 65109 is fixed though.
Comment 3 Anders Carlsson 2002-04-09 08:34:22 UTC
Marking this as a dup of 65109, since that's what it is.

*** This bug has been marked as a duplicate of 65109 ***