mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Use GtkTreeModelFlags instead of guint.
Fix a comment typo and remove an unused variable. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15383 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -521,8 +521,8 @@ gnc_finish_ok (AccountWindow *aw)
|
||||
commodity);
|
||||
gnc_account_commodity_from_type (aw, FALSE);
|
||||
|
||||
gnc_tree_view_account_set_selected_account
|
||||
(GNC_TREE_VIEW_ACCOUNT (aw->parent_tree), parent);
|
||||
gnc_tree_view_account_set_selected_account (
|
||||
GNC_TREE_VIEW_ACCOUNT (aw->parent_tree), parent);
|
||||
|
||||
gnc_resume_gui_refresh ();
|
||||
LEAVE("1");
|
||||
@@ -1737,7 +1737,7 @@ gnc_ui_new_account_with_types( AccountGroup *unused,
|
||||
************************************************************/
|
||||
|
||||
/*
|
||||
* register a callback that get's called when the account has changed
|
||||
* register a callback that gets called when the account has changed
|
||||
* so significantly that you need to destroy yourself. In particular
|
||||
* this is used by the ledger display to destroy ledgers when the
|
||||
* account type has changed.
|
||||
|
||||
@@ -54,7 +54,7 @@ static void gnc_tree_model_account_dispose (GObject *object);
|
||||
|
||||
/** Implementation of GtkTreeModel **************************************/
|
||||
static void gnc_tree_model_account_tree_model_init (GtkTreeModelIface *iface);
|
||||
static guint gnc_tree_model_account_get_flags (GtkTreeModel *tree_model);
|
||||
static GtkTreeModelFlags gnc_tree_model_account_get_flags (GtkTreeModel *tree_model);
|
||||
static int gnc_tree_model_account_get_n_columns (GtkTreeModel *tree_model);
|
||||
static GType gnc_tree_model_account_get_column_type (GtkTreeModel *tree_model,
|
||||
int index);
|
||||
@@ -370,7 +370,7 @@ gnc_tree_model_account_tree_model_init (GtkTreeModelIface *iface)
|
||||
iface->iter_parent = gnc_tree_model_account_iter_parent;
|
||||
}
|
||||
|
||||
static guint
|
||||
static GtkTreeModelFlags
|
||||
gnc_tree_model_account_get_flags (GtkTreeModel *tree_model)
|
||||
{
|
||||
return 0;
|
||||
|
||||
@@ -53,7 +53,7 @@ static void gnc_tree_model_commodity_finalize (GObject *object);
|
||||
static void gnc_tree_model_commodity_dispose (GObject *object);
|
||||
|
||||
static void gnc_tree_model_commodity_tree_model_init (GtkTreeModelIface *iface);
|
||||
static guint gnc_tree_model_commodity_get_flags (GtkTreeModel *tree_model);
|
||||
static GtkTreeModelFlags gnc_tree_model_commodity_get_flags (GtkTreeModel *tree_model);
|
||||
static int gnc_tree_model_commodity_get_n_columns (GtkTreeModel *tree_model);
|
||||
static GType gnc_tree_model_commodity_get_column_type (GtkTreeModel *tree_model,
|
||||
int index);
|
||||
@@ -366,7 +366,7 @@ gnc_tree_model_commodity_tree_model_init (GtkTreeModelIface *iface)
|
||||
iface->iter_parent = gnc_tree_model_commodity_iter_parent;
|
||||
}
|
||||
|
||||
static guint
|
||||
static GtkTreeModelFlags
|
||||
gnc_tree_model_commodity_get_flags (GtkTreeModel *tree_model)
|
||||
{
|
||||
return 0;
|
||||
|
||||
@@ -34,7 +34,7 @@ static void gnc_tree_model_selection_init (GncTreeModelSelection *model);
|
||||
static void gnc_tree_model_selection_finalize (GObject *object);
|
||||
|
||||
static void gnc_tree_model_selection_tree_model_init (GtkTreeModelIface *iface);
|
||||
static guint gnc_tree_model_selection_get_flags (GtkTreeModel *tree_model);
|
||||
static GtkTreeModelFlags gnc_tree_model_selection_get_flags (GtkTreeModel *tree_model);
|
||||
static int gnc_tree_model_selection_get_n_columns (GtkTreeModel *tree_model);
|
||||
static GType gnc_tree_model_selection_get_column_type (GtkTreeModel *tree_model,
|
||||
int index);
|
||||
@@ -342,7 +342,7 @@ gnc_tree_model_selection_tree_model_init (GtkTreeModelIface *iface)
|
||||
iface->iter_parent = gnc_tree_model_selection_iter_parent;
|
||||
}
|
||||
|
||||
static guint
|
||||
static GtkTreeModelFlags
|
||||
gnc_tree_model_selection_get_flags (GtkTreeModel *tree_model)
|
||||
{
|
||||
GncTreeModelSelection *model;
|
||||
|
||||
@@ -1786,7 +1786,6 @@ _free_varBindings_hash_elts( gpointer key, gpointer value, gpointer data )
|
||||
static void
|
||||
process_auto_create_list(GList *autoCreateList, sxSinceLastData *sxsld, GList **creation_errors)
|
||||
{
|
||||
GList *l;
|
||||
toCreateTuple *tct;
|
||||
toCreateInstance *tci;
|
||||
GList *instances;
|
||||
|
||||
Reference in New Issue
Block a user