psppire-data-sheet: Obtain data sheet targets via callback.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 6 May 2013 01:04:03 +0000 (18:04 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 6 May 2013 01:04:25 +0000 (18:04 -0700)
commit6f6aa0636750420181e03451bd1338f7f5123abd
tree6b107c15e404b0f7b9375908aa2c793ab42bad52
parent946019eee800e021b941b5b823b9cf270ec637f8
psppire-data-sheet: Obtain data sheet targets via callback.

Calling gtk_clipboard_wait_is_target_available() within on_owner_change()
seems to cause Window|Split to act oddly (the right panes were empty),
perhaps because gtk_clipboard_wait_is_target_available() has a nested main
loop.  Switching to gtk_clipboard_request_targets() fixes the problem.

Reported by John Darrington.
src/ui/gui/psppire-data-sheet.c