Skip to content

Commit

Permalink
Correct icon-grid width under GTK3. Fixes Github lxde#29.
Browse files Browse the repository at this point in the history
  • Loading branch information
walshb committed Feb 7, 2022
1 parent 12576de commit 8a40894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/icon-grid.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ static void panel_icon_grid_get_preferred_width(GtkWidget *widget,
}
panel_icon_grid_size_request(widget, &requisition);
if (minimal_width)
*minimal_width = requisition.width;
*minimal_width = ig->constrain_width ? 2 : requisition.width;
if (natural_width)
*natural_width = requisition.width;
}
Expand Down

0 comments on commit 8a40894

Please sign in to comment.