Skip to content

Commit

Permalink
[assistant-stock-transaction] use cpp form for struct
Browse files Browse the repository at this point in the history
...and remove unused pointer in struct
  • Loading branch information
christopherlam committed Sep 22, 2022
1 parent 788c3ee commit 05f952d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gnucash/gnome/assistant-stock-transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,9 @@ then record the reverse split.")
}
};

typedef struct
struct StockTransactionInfo
{
GtkWidget * window;
GtkWidget * assistant;

std::optional<TxnTypeVec> txn_types;
// the following stores date at which the txn_types were set. If
Expand Down Expand Up @@ -443,7 +442,7 @@ typedef struct
GtkWidget * finish_page;
GtkWidget * finish_split_view;
GtkWidget * finish_summary;
} StockTransactionInfo;
};


/******* implementations ***********************************************/
Expand Down

0 comments on commit 05f952d

Please sign in to comment.