Re: Bug in gtk_databox_graph_set_size
- From: Roland Bock <box2OO6 eudoxos de>
- To: gtkdatabox-list gnome org
- Subject: Re: Bug in gtk_databox_graph_set_size
- Date: Mon, 12 May 2008 11:19:32 +0200
Hi Jim,
thanks for pointing that out! It will be fixed in the next release.
Regards,
Roland
Jim George wrote:
Hi all,
It seems there is a bug in gtk_databox_graph_set_size.
Expected behavior: Thickness of lines in a graph should be altered
Actual behavior: Thickness does not get updated. Colors assigned to
graph change randomly.
Version: 0.8.2.2
Fix: I looked at gtkdatabox_graph.c, for the source of
gtk_databox_graph_set_size. It seems like the update flag for
gdk_gc_set_values is wrong, it is set to GDK_GC_FOREGROUND, it should
be GDK_GC_LINE_WIDTH. Alternately, use gdk_gc_set_line_attributes
instead of gdk_gc_set_values.
Thanks.
-Jim
_______________________________________________
gtkdatabox-list mailing list
gtkdatabox-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkdatabox-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]