mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Re-indentation of source code.
As usual, re-indentation was done using astyle-1.24 using the following options: astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21904 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
a9c51ffc1c
commit
4e7af62136
@ -70,7 +70,7 @@ typedef struct _AccCbData AccCbData;
|
||||
typedef struct _RevLookupData RevLookupData;
|
||||
|
||||
void aai_on_prepare (GtkAssistant *assistant, GtkWidget *page,
|
||||
gpointer user_data);
|
||||
gpointer user_data);
|
||||
|
||||
void aai_on_finish (GtkAssistant *gtkassistant, gpointer user_data);
|
||||
void aai_on_cancel (GtkAssistant *assistant, gpointer user_data);
|
||||
@ -93,7 +93,7 @@ static void update_account_list(ABInitialInfo *info);
|
||||
static gboolean find_gnc_acc_cb(gpointer key, gpointer value, gpointer user_data);
|
||||
static gboolean clear_line_cb(GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer user_data);
|
||||
static void account_list_clicked_cb (GtkTreeView *view, GtkTreePath *path,
|
||||
GtkTreeViewColumn *col, gpointer user_data);
|
||||
GtkTreeViewColumn *col, gpointer user_data);
|
||||
static void clear_kvp_acc_cb(Account *gnc_acc, gpointer user_data);
|
||||
static void save_kvp_acc_cb(gpointer key, gpointer value, gpointer user_data);
|
||||
static void aai_close_handler(gpointer user_data);
|
||||
@ -512,7 +512,7 @@ child_exit_cb(GPid pid, gint status, gpointer data)
|
||||
|
||||
if (exit_status == 0)
|
||||
{
|
||||
gtk_assistant_set_page_complete (GTK_ASSISTANT(info->window), page, TRUE);
|
||||
gtk_assistant_set_page_complete (GTK_ASSISTANT(info->window), page, TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -688,7 +688,7 @@ clear_line_cb(GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter,
|
||||
|
||||
static void
|
||||
account_list_clicked_cb (GtkTreeView *view, GtkTreePath *path,
|
||||
GtkTreeViewColumn *col, gpointer user_data)
|
||||
GtkTreeViewColumn *col, gpointer user_data)
|
||||
{
|
||||
ABInitialInfo *info = user_data;
|
||||
GtkTreeSelection *selection;
|
||||
@ -709,7 +709,7 @@ account_list_clicked_cb (GtkTreeView *view, GtkTreePath *path,
|
||||
selection = gtk_tree_view_get_selection(info->account_view);
|
||||
|
||||
if (!gtk_tree_model_get_iter(model, &iter, path))
|
||||
return; /* path describes a non-existing row - should not happen */
|
||||
return; /* path describes a non-existing row - should not happen */
|
||||
|
||||
gtk_tree_model_get(model, &iter, ACCOUNT_LIST_COL_AB_ACCT, &ab_acc, -1);
|
||||
|
||||
@ -824,7 +824,7 @@ aai_close_handler(gpointer user_data)
|
||||
}
|
||||
|
||||
void aai_on_prepare (GtkAssistant *assistant, GtkWidget *page,
|
||||
gpointer user_data)
|
||||
gpointer user_data)
|
||||
{
|
||||
ABInitialInfo *info = user_data;
|
||||
gint currentpage = gtk_assistant_get_current_page(assistant);
|
||||
@ -853,7 +853,7 @@ gnc_ab_initial_assistant(void)
|
||||
|
||||
info = g_new0(ABInitialInfo, 1);
|
||||
builder = gtk_builder_new();
|
||||
gnc_builder_add_from_file (builder,"assistant-ab-initial.glade", "AqBanking Init Assistant");
|
||||
gnc_builder_add_from_file (builder, "assistant-ab-initial.glade", "AqBanking Init Assistant");
|
||||
|
||||
info->window = GTK_WIDGET(gtk_builder_get_object (builder, "AqBanking Init Assistant"));
|
||||
|
||||
|
@ -53,24 +53,24 @@ static QofLogModule log_module = G_LOG_DOMAIN;
|
||||
/* Template handling */
|
||||
static void gnc_ab_trans_dialog_fill_templ_helper(gpointer data, gpointer user_data);
|
||||
static gboolean gnc_ab_trans_dialog_clear_templ_helper(GtkTreeModel *model,
|
||||
GtkTreePath *path,
|
||||
GtkTreeIter *iter,
|
||||
gpointer user_data);
|
||||
GtkTreePath *path,
|
||||
GtkTreeIter *iter,
|
||||
gpointer user_data);
|
||||
static gboolean gnc_ab_trans_dialog_get_templ_helper(GtkTreeModel *model,
|
||||
GtkTreePath *path,
|
||||
GtkTreeIter *iter,
|
||||
gpointer data);
|
||||
GtkTreePath *path,
|
||||
GtkTreeIter *iter,
|
||||
gpointer data);
|
||||
static gboolean gnc_ab_trans_dialog_find_templ_helper(GtkTreeModel *model,
|
||||
GtkTreePath *path,
|
||||
GtkTreeIter *iter,
|
||||
gpointer user_data);
|
||||
GtkTreePath *path,
|
||||
GtkTreeIter *iter,
|
||||
gpointer user_data);
|
||||
|
||||
static AB_TRANSACTION *gnc_ab_trans_dialog_fill_values(GncABTransDialog *td);
|
||||
static AB_JOB *gnc_ab_trans_dialog_get_available_empty_job(AB_ACCOUNT *ab_acc,
|
||||
GncABTransType trans_type);
|
||||
GncABTransType trans_type);
|
||||
|
||||
static void gnc_ab_trans_dialog_check_ktoblzcheck(const GncABTransDialog *td,
|
||||
const AB_TRANSACTION *trans);
|
||||
const AB_TRANSACTION *trans);
|
||||
|
||||
/* Callbacks - connected with GtkBuilder */
|
||||
G_MODULE_EXPORT void gnc_ab_trans_dialog_bankcode_changed_cb(GtkEditable *editable, gpointer user_data);
|
||||
@ -80,14 +80,14 @@ G_MODULE_EXPORT void gnc_ab_trans_dialog_movedown_templ_cb(GtkButton *button, gp
|
||||
G_MODULE_EXPORT void gnc_ab_trans_dialog_sort_templ_cb(GtkButton *button, gpointer user_data);
|
||||
G_MODULE_EXPORT void gnc_ab_trans_dialog_del_templ_cb(GtkButton *button, gpointer user_data);
|
||||
G_MODULE_EXPORT void gnc_ab_trans_dialog_entry_filter_cb (GtkEditable *editable,
|
||||
const gchar *text,
|
||||
gint length,
|
||||
gint *position,
|
||||
gpointer user_data);
|
||||
const gchar *text,
|
||||
gint length,
|
||||
gint *position,
|
||||
gpointer user_data);
|
||||
G_MODULE_EXPORT void gnc_ab_trans_dialog_templ_list_row_activated_cb(GtkTreeView *view,
|
||||
GtkTreePath *path,
|
||||
GtkTreeViewColumn *column,
|
||||
gpointer user_data);
|
||||
GtkTreePath *path,
|
||||
GtkTreeViewColumn *column,
|
||||
gpointer user_data);
|
||||
G_MODULE_EXPORT void gnc_ab_trans_dialog_verify_values(GncABTransDialog *td);
|
||||
|
||||
|
||||
@ -390,10 +390,10 @@ gnc_ab_trans_dialog_entry_set (GtkWidget* entry,
|
||||
const gchar* message,
|
||||
const gchar* stock_icon)
|
||||
{
|
||||
g_object_set (entry,
|
||||
"secondary-icon-stock", stock_icon,
|
||||
"secondary-icon-tooltip-text", message,
|
||||
NULL);
|
||||
g_object_set (entry,
|
||||
"secondary-icon-stock", stock_icon,
|
||||
"secondary-icon-tooltip-text", message,
|
||||
NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -528,7 +528,7 @@ gnc_ab_trans_dialog_verify_values(GncABTransDialog *td)
|
||||
|
||||
/* Check transaction value */
|
||||
if (AB_Value_GetValueAsDouble(AB_Transaction_GetValue(td->ab_trans))
|
||||
== 0.0)
|
||||
== 0.0)
|
||||
{
|
||||
gnc_ab_trans_dialog_entry_set (amount_entry,
|
||||
_("The amount is zero or the amount field could not be "
|
||||
@ -778,9 +778,9 @@ gnc_ab_get_trans_job(AB_ACCOUNT *ab_acc, const AB_TRANSACTION *ab_trans,
|
||||
|
||||
void
|
||||
gnc_ab_trans_dialog_templ_list_row_activated_cb(GtkTreeView *view,
|
||||
GtkTreePath *path,
|
||||
GtkTreeViewColumn *column,
|
||||
gpointer user_data)
|
||||
GtkTreePath *path,
|
||||
GtkTreeViewColumn *column,
|
||||
gpointer user_data)
|
||||
{
|
||||
GncABTransDialog *td = user_data;
|
||||
GtkTreeModel *model;
|
||||
|
Loading…
Reference in New Issue
Block a user