From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Troxel To: guile-gtk@sourceware.cygnus.com Subject: gdk-1.2.defs loses on gdk_draw_text, gdk_draw_points Date: Thu, 16 Nov 2000 09:16:00 -0000 Message-id: X-SW-Source: 2000-q4/msg00032.html I am using guile from cvs (yesterday) and gnome-guile from cvs (today) on FreeBSD 3.3 i386 with glib-1.2.8 and gtk-1.2.8. Both are from the FreeBSD ports collection, and hence are named with 12 in them, but that doesn't seem to cause the problems below. After fixing the string-append problem, I had two more problems. One was that gdk_draw_text was said to have wrong args. In gdk-1.2.defs, I don't see where the text argument is defined. Another was gdk_draw_points, which depends on GdkPoint. GdkPoint seems to be commented out. I uncommented it and got gdk-glue.c:371: `gdk_point_copy' undeclared here (not in a function) gdk-glue.c:371: initializer element for `sgtk_gdk_point_info.copy' is not constant gdk-glue.c:372: `gdk_point_destroy' undeclared here (not in a function) gdk-glue.c:372: initializer element for `sgtk_gdk_point_info.destroy' is not constant So I commend out gdk_draw_points, since I don't need it. (in retrospect, manually downgrading to 1.20 from 1.21 of gdk-1.2.defs...) Greg Troxel Index: gdk-1.2.defs =================================================================== RCS file: /IR-CVS/guile-gtk/gdk-1.2.defs,v retrieving revision 1.1.1.4 diff -u -u -r1.1.1.4 gdk-1.2.defs --- gdk-1.2.defs 2000/11/16 14:30:16 1.1.1.4 +++ gdk-1.2.defs 2000/11/16 17:05:25 @@ -417,20 +417,20 @@ (int y) (string string))) -(define-func gdk_draw_text - none - ((GdkWindow window) - (GdkFont font) - (GdkGC gc) - (int x) - (int y))) +; (define-func gdk_draw_text +; none +; ((GdkWindow window) +; (GdkFont font) +; (GdkGC gc) +; (int x) +; (int y))) -(define-func gdk_draw_points - none - ((GdkWindow window) - (GdkGC gc) - (GdkPoint points) - (int npoints))) +; (define-func gdk_draw_points +; none +; ((GdkWindow window) +; (GdkGC gc) +; (GdkPoint points) +; (int npoints))) (define-func gdk_string_width int