diff --git a/gnucash/gnome-utils/dialog-account.c b/gnucash/gnome-utils/dialog-account.c index e1a2f3dffe..0bd2e8566f 100644 --- a/gnucash/gnome-utils/dialog-account.c +++ b/gnucash/gnome-utils/dialog-account.c @@ -1985,15 +1985,6 @@ gnc_ui_new_accounts_from_name_window (GtkWindow *parent, const char *name) NULL, NULL); } -Account * -gnc_ui_new_accounts_from_name_window_with_types (GtkWindow *parent, - const char *name, - GList *valid_types) -{ - return gnc_ui_new_accounts_from_name_with_defaults (parent, name, - valid_types, NULL, NULL); -} - Account * gnc_ui_new_accounts_from_name_with_defaults (GtkWindow *parent, const char *name, @@ -2169,14 +2160,6 @@ gnc_ui_new_account_window (GtkWindow *parent, QofBook *book, NULL, FALSE); } -void -gnc_ui_new_account_with_types (GtkWindow *parent, QofBook *book, - GList *valid_types) -{ - gnc_ui_new_account_window_internal (parent, book, NULL, NULL, - valid_types, NULL, FALSE); -} - /************************************************************ * Callbacks for a non-Modal Dialog * ************************************************************/ diff --git a/gnucash/gnome-utils/dialog-account.h b/gnucash/gnome-utils/dialog-account.h index 84eb8e7b6f..2d51039a3f 100644 --- a/gnucash/gnome-utils/dialog-account.h +++ b/gnucash/gnome-utils/dialog-account.h @@ -143,26 +143,6 @@ void gnc_ui_new_account_with_types (GtkWindow *parent, QofBook *book, Account * gnc_ui_new_accounts_from_name_window (GtkWindow *parent, const char *name); -/** Display a modal window for creating a new account. This function - * will restrict the available account type values to the list - * specified by the caller. - * - * @param parent The widget on which to parent the dialog. - * - * @param name The account name/path to be created. This parameter - * is not used for determining the initially selected parent account. - * - * @param valid_types A GList of GNCAccountType gints [as pointers] - * which are allowed to be created. The calling function is - * responsible for freeing this list. - * - * @return A pointer to the newly created account. - */ -/* Note that the caller owns the valid_types list */ -Account * gnc_ui_new_accounts_from_name_window_with_types (GtkWindow *parent, - const char *name, - GList *valid_types); - /** Display a modal window for creating a new account. This function * will restrict the available account type values to the list