mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Refactor: hide implementation of GncTreeView* (move from .h -> .c)
This commit is contained in:
parent
aeab1953b0
commit
20673d97ce
@ -93,6 +93,12 @@ static gboolean
|
||||
gnc_tree_view_tooltip_cb (GtkWidget *widget, gint x, gint y, gboolean keyboard_tip,
|
||||
GtkTooltip *tooltip, gpointer user_data);
|
||||
|
||||
struct _GncTreeViewAccount
|
||||
{
|
||||
GncTreeView gnc_tree_view;
|
||||
int stamp;
|
||||
};
|
||||
|
||||
typedef struct GncTreeViewAccountPrivate
|
||||
{
|
||||
AccountViewInfo avi;
|
||||
|
@ -59,12 +59,6 @@ struct AccountViewInfo_s
|
||||
};
|
||||
|
||||
|
||||
struct _GncTreeViewAccount
|
||||
{
|
||||
GncTreeView gnc_tree_view;
|
||||
int stamp;
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
GtkWidget *dialog;
|
||||
|
@ -50,6 +50,12 @@ static QofLogModule log_module = GNC_MOD_GUI;
|
||||
static void gnc_tree_view_commodity_finalize (GObject *object);
|
||||
static void gnc_tree_view_commodity_destroy (GtkWidget *widget);
|
||||
|
||||
struct _GncTreeViewCommodity
|
||||
{
|
||||
GncTreeView gnc_tree_view;
|
||||
int stamp;
|
||||
};
|
||||
|
||||
typedef struct GncTreeViewCommodityPrivate
|
||||
{
|
||||
gpointer dummy;
|
||||
|
@ -46,13 +46,6 @@ G_BEGIN_DECLS
|
||||
#define GNC_TYPE_TREE_VIEW_COMMODITY (gnc_tree_view_commodity_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (GncTreeViewCommodity, gnc_tree_view_commodity, GNC, TREE_VIEW_COMMODITY, GncTreeView)
|
||||
|
||||
/* typedefs & structures */
|
||||
struct _GncTreeViewCommodity
|
||||
{
|
||||
GncTreeView gnc_tree_view;
|
||||
int stamp;
|
||||
};
|
||||
|
||||
/** @name Commodity Tree View Constructors
|
||||
@{ */
|
||||
|
||||
|
@ -70,6 +70,12 @@ static void gtvo_setup_column_renderer_edited_cb(GncTreeViewOwner *owner_view,
|
||||
GncTreeViewOwnerColumnTextEdited col_edited_cb);
|
||||
#endif /* Not Used */
|
||||
|
||||
struct _GncTreeViewOwner
|
||||
{
|
||||
GncTreeView gnc_tree_view;
|
||||
int stamp;
|
||||
};
|
||||
|
||||
typedef struct GncTreeViewOwnerPrivate
|
||||
{
|
||||
OwnerViewInfo ovi;
|
||||
|
@ -59,12 +59,6 @@ struct OwnerViewInfo_s
|
||||
};
|
||||
|
||||
|
||||
struct _GncTreeViewOwner
|
||||
{
|
||||
GncTreeView gnc_tree_view;
|
||||
int stamp;
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
GtkWidget *dialog;
|
||||
|
@ -50,6 +50,12 @@ static QofLogModule log_module = GNC_MOD_GUI;
|
||||
static void gnc_tree_view_price_finalize (GObject *object);
|
||||
static void gnc_tree_view_price_destroy (GtkWidget *widget);
|
||||
|
||||
struct _GncTreeViewPrice
|
||||
{
|
||||
GncTreeView gnc_tree_view;
|
||||
int stamp;
|
||||
};
|
||||
|
||||
typedef struct GncTreeViewPricePrivate
|
||||
{
|
||||
gpointer dummy;
|
||||
|
@ -46,13 +46,6 @@ G_BEGIN_DECLS
|
||||
#define GNC_TYPE_TREE_VIEW_PRICE (gnc_tree_view_price_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (GncTreeViewPrice, gnc_tree_view_price, GNC, TREE_VIEW_PRICE, GncTreeView)
|
||||
|
||||
/* typedefs & structures */
|
||||
struct _GncTreeViewPrice
|
||||
{
|
||||
GncTreeView gnc_tree_view;
|
||||
int stamp;
|
||||
};
|
||||
|
||||
/** @name Price Tree View Constructors
|
||||
@{ */
|
||||
|
||||
|
@ -50,6 +50,11 @@ static QofLogModule log_module = LOG_MOD;
|
||||
static void gnc_tree_view_sx_list_dispose(GObject *object);
|
||||
static void gnc_tree_view_sx_list_finalize(GObject *object);
|
||||
|
||||
struct _GncTreeViewSxList
|
||||
{
|
||||
GncTreeView gnc_tree_view;
|
||||
};
|
||||
|
||||
typedef struct GncTreeViewSxListPrivate
|
||||
{
|
||||
GtkTreeModel *tree_model;
|
||||
|
@ -40,11 +40,6 @@ G_BEGIN_DECLS
|
||||
#define GNC_TYPE_TREE_VIEW_SX_LIST (gnc_tree_view_sx_list_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (GncTreeViewSxList, gnc_tree_view_sx_list, GNC, TREE_VIEW_SX_LIST, GncTreeView)
|
||||
|
||||
struct _GncTreeViewSxList
|
||||
{
|
||||
GncTreeView gnc_tree_view;
|
||||
};
|
||||
|
||||
GtkTreeView* gnc_tree_view_sx_list_new(GncSxInstanceModel *sx_instances);
|
||||
|
||||
SchedXaction* gnc_tree_view_sx_list_get_sx_from_path(GncTreeViewSxList *view, GtkTreePath *path);
|
||||
|
Loading…
Reference in New Issue
Block a user