uiDateTimePicker Move struct definition back

This commit is contained in:
cody271 2018-02-22 20:13:55 -08:00
parent 5ec5ebdfae
commit 594e3a1ccc
1 changed files with 10 additions and 10 deletions

View File

@ -46,16 +46,6 @@ struct dateTimePickerWidgetClass {
G_DEFINE_TYPE(dateTimePickerWidget, dateTimePickerWidget, GTK_TYPE_TOGGLE_BUTTON)
struct uiDateTimePicker {
uiUnixControl c;
GtkWidget *widget;
dateTimePickerWidget *d;
void (*onChanged)(uiDateTimePicker *, void *);
void *onChangedData;
};
uiUnixControlAllDefaults(uiDateTimePicker)
static int realSpinValue(GtkSpinButton *spinButton)
{
GtkAdjustment *adj;
@ -560,6 +550,16 @@ static void dateTimePickerWidget_class_init(dateTimePickerWidgetClass *class)
G_TYPE_NONE, 0);
}
struct uiDateTimePicker {
uiUnixControl c;
GtkWidget *widget;
dateTimePickerWidget *d;
void (*onChanged)(uiDateTimePicker *, void *);
void *onChangedData;
};
uiUnixControlAllDefaults(uiDateTimePicker)
static void defaultOnChanged(uiDateTimePicker *d, void *data)
{
// do nothing