--- xlog-0.6beta3/src/main.c Mon Feb 25 13:26:39 2002 +++ xlog-0.6beta3-f8cfe/src/main.c Mon Feb 25 21:37:52 2002 @@ -177,13 +177,15 @@ } /*static gint fillin_clist(LOGDB *handle, qso_t q[], gpointer arg) {*/ -static gint fillin_clist(LOGDB *handle, qso_t q[], logtype *arg) { +static gint fillin_clist(LOGDB *handle, qso_t q[], gpointer arg) { + logtype *logw = (logtype *)arg; + state.qsos++; - arg->qsos++; + logw->qsos++; /* q[NR] = g_strdup_printf("%d", state.qsos);*/ - q[NR] = g_strdup_printf("%d", arg->qsos); + q[NR] = g_strdup_printf("%d", logw->qsos); /* gtk_clist_prepend((GtkCList*)arg, q);*/ - gtk_clist_prepend((GtkCList*)(arg->clist), q); + gtk_clist_prepend((GtkCList*)(logw->clist), q); return 0; }