mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-02 05:29:20 -06:00
Code clean up, comment out some additional static defines
These functions are commented out in the code and so not used so stop them showing up for defined but not used.
This commit is contained in:
parent
1002576cef
commit
f31516a0f2
@ -109,11 +109,14 @@ static void gnc_budget_view_init(GncBudgetView *budget_view);
|
||||
static void gnc_budget_view_finalize(GObject *object);
|
||||
|
||||
static void gbv_create_widget(GncBudgetView *view);
|
||||
|
||||
#if 0
|
||||
static gboolean gbv_button_press_cb(
|
||||
GtkWidget *widget, GdkEventButton *event, GncBudgetView *view);
|
||||
#endif
|
||||
#if 0
|
||||
static gboolean gbv_key_press_cb(
|
||||
GtkWidget *treeview, GdkEventKey *event, gpointer userdata);
|
||||
#endif
|
||||
static void gbv_row_activated_cb(
|
||||
GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *col,
|
||||
GncBudgetView *view);
|
||||
@ -569,7 +572,7 @@ gbv_button_press_cb(GtkWidget *widget, GdkEventButton *event,
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#if 0
|
||||
/** \brief Key press action for gnc budget view.
|
||||
*/
|
||||
static gboolean
|
||||
@ -601,7 +604,7 @@ gbv_key_press_cb(GtkWidget *treeview, GdkEventKey *event, gpointer userdata)
|
||||
gtk_tree_view_set_cursor(tv, path, col, TRUE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/** \brief gnc budget view actions for resize of treeview.
|
||||
*/
|
||||
|
@ -163,12 +163,14 @@ static GtkActionEntry gnc_plugin_page_budget_actions [] =
|
||||
static guint gnc_plugin_page_budget_n_actions =
|
||||
G_N_ELEMENTS (gnc_plugin_page_budget_actions);
|
||||
|
||||
#if 0
|
||||
static const gchar *actions_requiring_account[] =
|
||||
{
|
||||
"OpenAccountAction",
|
||||
"OpenSubaccountsAction",
|
||||
NULL
|
||||
};
|
||||
#endif
|
||||
|
||||
/** Short labels for use on the toolbar buttons. */
|
||||
static action_toolbar_labels toolbar_labels[] =
|
||||
|
@ -800,6 +800,8 @@ gnc_split_register_get_associate_entry (VirtualLocation virt_loc,
|
||||
return s;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// this code is not used yet
|
||||
static char
|
||||
gnc_split_register_get_associate_value (SplitRegister *reg,
|
||||
VirtualLocation virt_loc)
|
||||
@ -812,6 +814,7 @@ gnc_split_register_get_associate_value (SplitRegister *reg,
|
||||
|
||||
return gnc_recn_cell_get_flag (cell);
|
||||
}
|
||||
#endif
|
||||
|
||||
static const char *
|
||||
gnc_split_register_get_type_entry (VirtualLocation virt_loc,
|
||||
|
Loading…
Reference in New Issue
Block a user