mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
move G_DEFINE_TYPE_... further up
This commit is contained in:
parent
cd23637e3f
commit
2cb6807323
@ -90,6 +90,8 @@ typedef struct _GNCCurrencyEditPrivate
|
|||||||
gchar *mnemonic;
|
gchar *mnemonic;
|
||||||
} GNCCurrencyEditPrivate;
|
} GNCCurrencyEditPrivate;
|
||||||
|
|
||||||
|
G_DEFINE_TYPE_WITH_PRIVATE(GNCCurrencyEdit, gnc_currency_edit, GTK_TYPE_COMBO_BOX)
|
||||||
|
|
||||||
#define GET_PRIVATE(o) \
|
#define GET_PRIVATE(o) \
|
||||||
(G_TYPE_INSTANCE_GET_PRIVATE ((o), GNC_TYPE_CURRENCY_EDIT, GNCCurrencyEditPrivate))
|
(G_TYPE_INSTANCE_GET_PRIVATE ((o), GNC_TYPE_CURRENCY_EDIT, GNCCurrencyEditPrivate))
|
||||||
|
|
||||||
@ -153,9 +155,6 @@ gnc_currency_edit_get_property (GObject *object,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
G_DEFINE_TYPE_WITH_PRIVATE(GNCCurrencyEdit, gnc_currency_edit, GTK_TYPE_COMBO_BOX)
|
|
||||||
|
|
||||||
/** Initialize the GncCurrencyEdit class object.
|
/** Initialize the GncCurrencyEdit class object.
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
|
Loading…
Reference in New Issue
Block a user