forked from AuroraMiddleware/gtk
label: fix a case of misleading indentation
gcc 6 complains aobut things like this.
This commit is contained in:
parent
cf4e179a45
commit
a99c69fd6b
@ -3623,14 +3623,16 @@ static GtkSizeRequestMode
|
||||
gtk_label_get_request_mode (GtkWidget *widget)
|
||||
{
|
||||
GtkLabel *label = GTK_LABEL (widget);
|
||||
gdouble angle = gtk_label_get_angle (label);
|
||||
gdouble angle;
|
||||
|
||||
angle = gtk_label_get_angle (label);
|
||||
|
||||
if (label->priv->wrap)
|
||||
return (angle == 90 || angle == 270) ?
|
||||
GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT :
|
||||
GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH;
|
||||
return (angle == 90 || angle == 270)
|
||||
? GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT
|
||||
: GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH;
|
||||
|
||||
return GTK_SIZE_REQUEST_CONSTANT_SIZE;
|
||||
return GTK_SIZE_REQUEST_CONSTANT_SIZE;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user