First bug discovered as a result of global-removal: pasting into
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 28 Oct 2002 09:38:28 +0000 (09:38 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 28 Oct 2002 09:38:28 +0000 (09:38 +0000)
pterm caused a crash because I had the wrong prototype for the
selection_received event handler. Should be fixed.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2150 cda61777-01e9-0310-a592-d414129be87e

unix/pterm.c

index 0d18a7c..74418ab 100644 (file)
@@ -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;