public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Greg Troxel <gdt@fnord.ir.bbn.com>
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	[thread overview]
Message-ID: <rmiaeazrg6j.fsf@fnord.ir.bbn.com> (raw)

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 <gdt@ir.bbn.com>

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

             reply	other threads:[~2000-11-16  9:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-16  9:16 Greg Troxel [this message]
2000-11-19 14:36 ` Marius Vollmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rmiaeazrg6j.fsf@fnord.ir.bbn.com \
    --to=gdt@fnord.ir.bbn.com \
    --cc=guile-gtk@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).