From 9a5939e9cf4d51291f87cece128b24a3743584cb Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 28 Oct 2002 09:38:28 +0000 Subject: [PATCH] First bug discovered as a result of global-removal: pasting into pterm caused a crash because I had the wrong prototype for the selection_received event handler. Should be fixed. [originally from svn r2150] --- unix/pterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/pterm.c b/unix/pterm.c index 0d18a7c9..74418ab9 100644 --- a/unix/pterm.c +++ b/unix/pterm.c @@ -1229,7 +1229,7 @@ void request_paste(void *frontend) gint idle_paste_func(gpointer data); /* forward ref */ void selection_received(GtkWidget *widget, GtkSelectionData *seldata, - gpointer data) + guint time, gpointer data) { struct gui_data *inst = (struct gui_data *)data;