GtkProgressBarPrivate: Improve struct packing

Also remove the unused blocks and in_block members.
This commit is contained in:
Matthias Clasen 2011-04-12 12:40:30 -04:00
parent f572a4670d
commit e564d36deb

View File

@ -70,20 +70,17 @@
struct _GtkProgressBarPrivate
{
GtkOrientation orientation;
gchar *text;
gdouble fraction;
gdouble pulse_fraction;
guint blocks;
gint in_block;
gint activity_pos;
guint activity_blocks;
guint activity_step;
GtkOrientation orientation;
guint activity_dir : 1;
guint activity_mode : 1;
guint ellipsize : 3;
@ -299,8 +296,6 @@ gtk_progress_bar_init (GtkProgressBar *pbar)
GtkProgressBarPrivate);
priv = pbar->priv;
priv->blocks = 10;
priv->in_block = -1;
priv->orientation = GTK_ORIENTATION_HORIZONTAL;
priv->inverted = FALSE;
priv->pulse_fraction = 0.1;