From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18347 invoked by alias); 10 Nov 2002 20:20:41 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 18298 invoked from network); 10 Nov 2002 20:20:40 -0000 Received: from unknown (HELO mail.tiscali.cz) (213.235.135.70) by sources.redhat.com with SMTP; 10 Nov 2002 20:20:40 -0000 Received: from hobitin.ucw.cz (212.90.239.133) by mail.tiscali.cz (6.0.044) id 3DC10A63002085CA; Sun, 10 Nov 2002 21:19:07 +0100 Received: from 0rfelyus by hobitin.ucw.cz with local (Exim 3.36 #1 (Debian)) id 18AyGd-0000UK-00; Sun, 10 Nov 2002 21:01:11 +0100 To: Marius Vollmer Cc: guile-gtk , Subject: Re: implementing guile-gtk drag & drop... References: <3DC279A4.1010000@wanadoo.be> <87d6pmd7a3.fsf@zagadka.ping.de> <87u1iqh8rl.fsf@zagadka.ping.de> From: Daniel Skarda <0rfelyus@ucw.cz> Date: Sun, 10 Nov 2002 12:20:00 -0000 In-Reply-To: <87u1iqh8rl.fsf@zagadka.ping.de> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-q4/txt/msg00009.txt.bz2 > Using gtk_selection_data_copy/free seems to be the right thing to do. > Can you figure out why they made drag and drop fail? Maybe there are > bugs in those functions that we can work around. Unfortunately Gtk creates GtkSelectionData, invokes a handler and expects that you gtk_selection_data_set on data that Gtk passed to handler, not to its copy :-( See gtkselection.c. 0.