gdk_gc_copy
- From: Alberto Manuel Brandao Simoes <mc23801 ci uminho pt>
- To: GTK+ Mailing List <gtk-list redhat com>
- Subject: gdk_gc_copy
- Date: Sun, 13 Dec 1998 19:11:12 +0000
Hello!
I'm using GTK+1.1.7, and I have a problem when using gtk_gc_copy.
darea is a gdk drawing area!
gc=(GdkGC*)g_malloc(sizeof(GdkGC));
g_return_if_fail(gc);
gdk_gc_copy(gc,darea->style->black_gc);
gdk_gc_set_line_attributes(gc,1,
GDK_LINE_ON_OFF_DASH,
GDK_CAP_NOT_LAST,
GDK_JOIN_MITER);
When I run this, there is a segmentation fault in the last line.
Can anybody help me?
Regards!
--
Alberto Manuel Brandao Simoes
-------------------------------------------------------------------
e-mail: mc23801@ci.uminho.pt
URL: http://members.xoom.com/mc23801/
http://numexp.netpedia.net/
-------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]