[dialog-account] remove gnc_ui_new_accounts_from_name_window_with_types

This commit is contained in:
Christopher Lam
2023-09-07 23:41:09 +08:00
parent c1bc9e17c6
commit 492f8c927c
2 changed files with 0 additions and 37 deletions

View File

@@ -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 *
************************************************************/

View File

@@ -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