public inbox for
 help / color / mirror / Atom feed
From: Kevin Ryde <>
To: Marko Rauhamaa <>
Subject: Re: Selection and DND completed
Date: Fri, 23 May 2003 22:01:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Marko Rauhamaa <> writes:
> gdk_selection_property_get_interp
>   return length ? scm_take_str (data, length) : SCM_BOOL_F;

Not sure if length==0 would be valid data, though I don't see a reason
it wouldn't be.  It might be nice to return an empty string for that.

data==NULL is supposedly the error indication, perhaps that could give
the #f.

However the 1.2 code looks like it doesn't store anything to data if
the window has been destroyed, so it might be prudent to initialize to

It also looks like prop_type and prop_format are not set if the window
has been destroyed, maybe they should get initial values to avoid
problems too.  GDK_NONE and 0 might be enough.

  reply	other threads:[~2003-05-23 22:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-17  7:49 Marko Rauhamaa
2003-05-23 22:01 ` Kevin Ryde [this message]
2003-05-23 22:57   ` Marko Rauhamaa
2003-05-23 23:39     ` Kevin Ryde
2003-05-24  0:11       ` Marko Rauhamaa
2003-05-24  1:13         ` Kevin Ryde
2003-08-08 22:07         ` gdk-selection-property-get (was: Selection and DND completed) Kevin Ryde

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:

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

  git send-email \ \ \ \ \

* 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).