Fix warning about uninitialized variable plus spacing and indentation cleanup
This commit is contained in:
@ -559,14 +559,10 @@ gtk_button_box_size_request (GtkWidget *widget,
|
||||
}
|
||||
|
||||
if (orientation == GTK_ORIENTATION_HORIZONTAL)
|
||||
{
|
||||
requisition->height = child_height;
|
||||
}
|
||||
else
|
||||
{
|
||||
requisition->width = child_width;
|
||||
}
|
||||
}
|
||||
|
||||
requisition->width += GTK_CONTAINER (box)->border_width * 2;
|
||||
requisition->height += GTK_CONTAINER (box)->border_width * 2;
|
||||
@ -589,8 +585,8 @@ gtk_button_box_size_allocate (GtkWidget *widget,
|
||||
gint y = 0;
|
||||
gint secondary_x = 0;
|
||||
gint secondary_y = 0;
|
||||
gint width;
|
||||
gint height;
|
||||
gint width = 0;
|
||||
gint height = 0;
|
||||
gint childspace;
|
||||
gint childspacing = 0;
|
||||
GtkButtonBoxStyle layout;
|
||||
|
||||
Reference in New Issue
Block a user