gtkspinbutton: move public members to private structure

This commit is contained in:
Javier Jardón 2010-07-12 23:43:18 +02:00
parent d5c3fb5231
commit 57d870ac5b
2 changed files with 348 additions and 241 deletions

File diff suppressed because it is too large Load Diff

View File

@ -69,6 +69,7 @@ typedef enum
typedef struct _GtkSpinButton GtkSpinButton;
typedef struct _GtkSpinButtonPriv GtkSpinButtonPriv;
typedef struct _GtkSpinButtonClass GtkSpinButtonClass;
@ -76,26 +77,8 @@ struct _GtkSpinButton
{
GtkEntry entry;
GtkAdjustment *GSEAL (adjustment);
GdkWindow *GSEAL (panel);
guint32 GSEAL (timer);
gdouble GSEAL (climb_rate);
gdouble GSEAL (timer_step);
GtkSpinButtonUpdatePolicy GSEAL (update_policy);
guint GSEAL (in_child) : 2;
guint GSEAL (click_child) : 2; /* valid: GTK_ARROW_UP=0, GTK_ARROW_DOWN=1 or 2=NONE/BOTH */
guint GSEAL (button) : 2;
guint GSEAL (need_timer) : 1;
guint GSEAL (timer_calls) : 3;
guint GSEAL (digits) : 10;
guint GSEAL (numeric) : 1;
guint GSEAL (wrap) : 1;
guint GSEAL (snap_to_ticks) : 1;
/* <private> */
GtkSpinButtonPriv *priv;
};
struct _GtkSpinButtonClass