]> git.neil.brown.name Git - plato.git/commitdiff
plato_gsm: fix bug with message passing.
authorNeilBrown <neilb@suse.de>
Mon, 14 Jan 2013 20:22:22 +0000 (07:22 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Jan 2013 20:22:22 +0000 (07:22 +1100)
This call is only need in the recipient of a message (so it can
receive another), not the sender.

plato/plato_gsm.py

index dd3a88b615f00797689e1e4ae77e45bfbd213830..4ead21e4aed7d7ee21c7e23fa36245ede99ab796 100644 (file)
@@ -354,8 +354,6 @@ def clip_get_data(clip, sel, info, data):
 def clip_clear_data(clip, data):
     global sel_number
     sel_number = None
-    c.set_with_data([(gtk.gdk.SELECTION_TYPE_STRING, 0, 0)],
-                    clip_get_data, clip_clear_data, None)
 
 def send_number(sel, num):
     global sel_number, clips