GNOME Bugzilla – Bug 694924
Dead code in GtkClipboard
Last modified: 2013-03-05 01:02:54 UTC
In gtk_clipboard_set_contents(), once we have called clipboard_unset(), clipboard->get_func will always be NULL. Patch following to remove the dead code.
Created attachment 237696 [details] [review] Patch for the issue.
Looks like you are right - the code is dead today. It would be good to check where it originated in git history, and when it died.
(In reply to comment #2) > Looks like you are right - the code is dead today. It would be good to check > where it originated in git history, and when it died. According to git blame it was all introduced in commit 39339f14, when GtkClipboard was created; and it does seem the dead code was there already in that commit.
ok then