mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Refactor: DECLARE_FINAL GNCCurrencyEdit < GtkComboBox
This commit is contained in:
parent
e2e2adde96
commit
33e08df849
@ -65,26 +65,12 @@ extern "C" {
|
|||||||
/** @{ */
|
/** @{ */
|
||||||
|
|
||||||
#define GNC_TYPE_CURRENCY_EDIT (gnc_currency_edit_get_type())
|
#define GNC_TYPE_CURRENCY_EDIT (gnc_currency_edit_get_type())
|
||||||
#define GNC_CURRENCY_EDIT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_CURRENCY_EDIT, GNCCurrencyEdit))
|
G_DECLARE_FINAL_TYPE (GNCCurrencyEdit, gnc_currency_edit, GNC, CURRENCY_EDIT, GtkComboBox)
|
||||||
#define GNC_CURRENCY_EDIT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNC_TYPE_CURRENCY_EDIT, GNCCurrencyEditClass))
|
|
||||||
#define GNC_IS_CURRENCY_EDIT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_CURRENCY_EDIT))
|
|
||||||
|
|
||||||
typedef struct
|
struct _GNCCurrencyEdit
|
||||||
{
|
{
|
||||||
GtkComboBox combobox;
|
GtkComboBox combobox;
|
||||||
} GNCCurrencyEdit;
|
};
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
GtkComboBoxClass combobox;
|
|
||||||
} GNCCurrencyEditClass;
|
|
||||||
|
|
||||||
/** Return the GType for the GNCCurrencyEdit currency selection widget.
|
|
||||||
*
|
|
||||||
* @return A GType value.
|
|
||||||
*/
|
|
||||||
GType gnc_currency_edit_get_type (void);
|
|
||||||
|
|
||||||
|
|
||||||
/** Create a new GNCCurrencyEdit widget which can be used to provide
|
/** Create a new GNCCurrencyEdit widget which can be used to provide
|
||||||
* an easy way to enter ISO currency codes.
|
* an easy way to enter ISO currency codes.
|
||||||
|
Loading…
Reference in New Issue
Block a user