Skip to content

Commit 31018e6

Browse files
committed
Remove dead code in gtk_.
1 parent 63cd3cd commit 31018e6

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

bpython/gtk_.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ def update_matches(self, matches):
211211

212212

213213
class ReplWidget(gtk.TextView, repl.Repl):
214-
__gsignals__ = dict( # key_press_event=None,
215-
button_press_event=None,
214+
__gsignals__ = dict(button_press_event=None,
216215
focus_in_event=None,
217216
focus_out_event=None,
218217
realize=None)
@@ -575,20 +574,6 @@ def init_import_completion():
575574
return True
576575

577576

578-
def on_about(widget):
579-
pass
580-
581-
582-
def on_quit(widget):
583-
pass
584-
585-
586-
def on_button_press_event(widget, event, popup):
587-
if event.button == 3:
588-
popup.popup(None, None, None, event.button, event.time)
589-
return True
590-
591-
592577
def main(args=None):
593578
if args is None:
594579
args = sys.argv[1:]

0 commit comments

Comments
 (0)