Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
weston
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 211
    • Issues 211
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 61
    • Merge Requests 61
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • wayland
  • weston
  • Issues
  • #325

Closed
Open
Opened Dec 01, 2019 by Leandro Ribeiro@leandrohrb
  • Report abuse
  • New issue
Report abuse New issue

Remove unused function window_set_preferred_format()

In clients/window.c and the corresponding .h we have the function window_set_preferred_format(), which is not being used. Instead, we have this: window->preferred_format = foo.

I don't think it's necessary to have this function, because this kind of assignment is being made only once and it's already pretty clear.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
Clients Good for new contributors
Assign labels
  • View project labels
Reference: wayland/weston#325