mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Refactor: DECLARE_FINAL GncTreeViewPrice < GncTreeView
This commit is contained in:
parent
cb1313b08e
commit
1ca98da8f2
@ -44,29 +44,14 @@ G_BEGIN_DECLS
|
||||
|
||||
/* type macros */
|
||||
#define GNC_TYPE_TREE_VIEW_PRICE (gnc_tree_view_price_get_type ())
|
||||
#define GNC_TREE_VIEW_PRICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_TREE_VIEW_PRICE, GncTreeViewPrice))
|
||||
#define GNC_TREE_VIEW_PRICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_TREE_VIEW_PRICE, GncTreeViewPriceClass))
|
||||
#define GNC_IS_TREE_VIEW_PRICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_TREE_VIEW_PRICE))
|
||||
#define GNC_IS_TREE_VIEW_PRICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_TREE_VIEW_PRICE))
|
||||
#define GNC_TREE_VIEW_PRICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_TREE_VIEW_PRICE, GncTreeViewPriceClass))
|
||||
G_DECLARE_FINAL_TYPE (GncTreeViewPrice, gnc_tree_view_price, GNC, TREE_VIEW_PRICE, GncTreeView)
|
||||
|
||||
/* typedefs & structures */
|
||||
typedef struct
|
||||
struct _GncTreeViewPrice
|
||||
{
|
||||
GncTreeView gnc_tree_view;
|
||||
int stamp;
|
||||
} GncTreeViewPrice;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
GncTreeViewClass gnc_tree_view;
|
||||
} GncTreeViewPriceClass;
|
||||
|
||||
|
||||
|
||||
/* Standard g_object type */
|
||||
GType gnc_tree_view_price_get_type (void);
|
||||
|
||||
};
|
||||
|
||||
/** @name Price Tree View Constructors
|
||||
@{ */
|
||||
|
Loading…
Reference in New Issue
Block a user